X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=tcl%2Ftarget%2Fam437x.cfg;h=fe0ffff292a46d8ce65e2d5ff8642476a93ca5f1;hp=1e3cbc52c463158d5c78363df4787e4d239b1784;hb=0c8ec7c826c60391034fe5f0ea90f8538ac94b38;hpb=beb61c69994c82a3af8cd905ee4a6721bcd62bbc diff --git a/tcl/target/am437x.cfg b/tcl/target/am437x.cfg index 1e3cbc52c4..fe0ffff292 100644 --- a/tcl/target/am437x.cfg +++ b/tcl/target/am437x.cfg @@ -457,7 +457,7 @@ if { [info exists M3_DAP_TAPID] } { set _M3_DAP_TAPID 0x4b6b902f } jtag newtap $_CHIPNAME $M3_MODULE -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_M3_DAP_TAPID -disable -jtag configure $M3_NAME -event tap-enable "icepick_d_tapenable $JRC_NAME 11" +jtag configure $M3_NAME -event tap-enable "icepick_d_tapenable $JRC_NAME 11 0" # # DebugSS DAP @@ -468,7 +468,7 @@ if { [info exists DAP_TAPID] } { set _DAP_TAPID 0x46b6902f } jtag newtap $_CHIPNAME $DEBUGSS_MODULE -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_DAP_TAPID -disable -jtag configure $DEBUGSS_NAME -event tap-enable "icepick_d_tapenable $JRC_NAME 12" +jtag configure $DEBUGSS_NAME -event tap-enable "icepick_d_tapenable $JRC_NAME 12 0" # # ICEpick-D (JTAG route controller) @@ -484,9 +484,9 @@ jtag configure $JRC_NAME -event setup "jtag tapenable $DEBUGSS_NAME" jtag configure $JRC_NAME -event post-reset "runtest 100" # -# Cortex A9 target +# Cortex-A9 target # -target create $_TARGETNAME cortex_a -chain-position $DEBUGSS_NAME -dbgbase 0x80000000 +target create $_TARGETNAME cortex_a -chain-position $DEBUGSS_NAME -coreid 0 -dbgbase 0x80000000 # SRAM: 256K at 0x4030.0000 @@ -993,11 +993,7 @@ proc config_ddr3 { SDRAM_CONFIG } { proc init_platform { SDRAM_CONFIG } { config_opp100 config_ddr3 $SDRAM_CONFIG - - # now that PLLs are configured, we can run JTAG at full speed - adapter_khz 16000 } -$_TARGETNAME configure -event reset-start { adapter_khz 1000 } $_TARGETNAME configure -event reset-init { init_platform 0x61a013b2 } $_TARGETNAME configure -event reset-end { disable_watchdog }