diff options
-rw-r--r-- | src/target/Makefile.am | 2 | ||||
-rw-r--r-- | src/target/target/mx31.cfg | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/src/target/Makefile.am b/src/target/Makefile.am index 9a8de56c..959b34d3 100644 --- a/src/target/Makefile.am +++ b/src/target/Makefile.am @@ -34,5 +34,5 @@ nobase_dist_pkglib_DATA = xscale/debug_handler.bin event/at91eb40a_reset.script interface/calao-usb-a9260.cfg target/at91sam9260minimal.cfg event/lpc2148_reset.script \ interface/chameleon.cfg interface/at91rm9200.cfg interface/jlink.cfg interface/arm-usb-ocd.cfg \ interface/signalyzer.cfg event/eir-sam7se512_reset.script target/eir-sam7se512.cfg \ - event/hammer_reset.script interface/flyswatter.cfg target/hammer.cfg + event/hammer_reset.script interface/flyswatter.cfg target/hammer.cfg target/mx31.cfg diff --git a/src/target/target/mx31.cfg b/src/target/target/mx31.cfg new file mode 100644 index 00000000..ced217c4 --- /dev/null +++ b/src/target/target/mx31.cfg @@ -0,0 +1,16 @@ +#use combined on interfaces or targets that can't set TRST/SRST separately +reset_config trst_and_srst +jtag_speed 10 + +#jtag scan chain +#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE) +# 4 devices otherwise openocd complains, the last one returns 0x0 for all bytes +jtag_device 4 0x1 0x0 0xe +jtag_device 5 0x1 0x1f 0x1e +jtag_device 4 0x0 0x0 0xe +jtag_device 5 0x1 0x0 0x1e + +#target <type> <endianess> <reset mode> +target arm11 little reset_halt 1 +run_and_halt_time 0 0 + |