From 586f8db90f3d21258f9b5c69a94630a1b9a6fe97 Mon Sep 17 00:00:00 2001 From: oharboe Date: Fri, 4 Jul 2008 07:09:02 +0000 Subject: [PATCH] Valentin Longchamp target script for mx31.cfg git-svn-id: svn://svn.berlios.de/openocd/trunk@740 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/Makefile.am | 2 +- src/target/target/mx31.cfg | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 src/target/target/mx31.cfg 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 +target arm11 little reset_halt 1 +run_and_halt_time 0 0 + -- 2.39.5