X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=tcl%2Ftarget%2Ffm3.cfg;h=a0610ce17724e5d7c924757c16519776c3ef6276;hb=2f1540710756434942be49ccf2b0f5530297adc2;hp=78bbc945cea63967e767307fda1c6947214de638;hpb=0c8ec7c826c60391034fe5f0ea90f8538ac94b38;p=openocd.git diff --git a/tcl/target/fm3.cfg b/tcl/target/fm3.cfg index 78bbc945ce..a0610ce177 100644 --- a/tcl/target/fm3.cfg +++ b/tcl/target/fm3.cfg @@ -31,9 +31,10 @@ if {[using_jtag]} { reset_config trst_only swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID +dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu set _TARGETNAME $_CHIPNAME.cpu -target create $_TARGETNAME cortex_m -endian $_ENDIAN -chain-position $_TARGETNAME +target create $_TARGETNAME cortex_m -endian $_ENDIAN -dap $_CHIPNAME.dap # MB9BF506 has 64kB of SRAM on its main system bus $_TARGETNAME configure -work-area-phys 0x1FFF8000 -work-area-size 0x10000 -work-area-backup 0