reset_config trst_and_srst srst_pulls_trst | |
if { [info exists CHIPNAME] } { | |
set _CHIPNAME $CHIPNAME | |
} else { | |
set _CHIPNAME tegra2 | |
} | |
if { [info exists ENDIAN] } { | |
set _ENDIAN $ENDIAN | |
} else { | |
set _ENDIAN little | |
} | |
jtag newtap $_CHIPNAME dap -irlen 4 -expected-id 0x4ba00477 | |
jtag newtap $_CHIPNAME arm -irlen 4 -expected-id 0x4f1f0f0f | |
set _TARGETNAME $_CHIPNAME.arm | |
target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAME | |
arm7_9 dcc_downloads enable |