]> sigrok.org Git - libsigrokdecode.git/commitdiff
Add Keil MCB2140 (NXP LPC2148, ARM7TDMI) JTAG dumps.
authorUwe Hermann <redacted>
Thu, 10 May 2012 07:08:12 +0000 (09:08 +0200)
committerUwe Hermann <redacted>
Thu, 10 May 2012 07:08:12 +0000 (09:08 +0200)
jtag/keil_mcb2140/README [new file with mode: 0644]
jtag/keil_mcb2140/keil_mcb2140_idle.sr [new file with mode: 0644]
jtag/keil_mcb2140/keil_mcb2140_init.sr [new file with mode: 0644]
jtag/keil_mcb2140/keil_mcb2140_irscan_drscan.sr [new file with mode: 0644]
jtag/keil_mcb2140/keil_mcb2140_reset.sr [new file with mode: 0644]

diff --git a/jtag/keil_mcb2140/README b/jtag/keil_mcb2140/README
new file mode 100644 (file)
index 0000000..a84359c
--- /dev/null
@@ -0,0 +1,94 @@
+-------------------------------------------------------------------------------
+JTAG / NXP LPC2148
+-------------------------------------------------------------------------------
+
+This is a set of example captures of JTAG communication to a Keil MCB2140
+eval board with a NXP LPC2148 (ARM7TDMI) microcontroller.
+
+The JTAG adapter used was the FTDI FT2232H based Floss-JTAG (V0.2).
+
+Details:
+http://randomprojects.org/wiki/Floss-JTAG
+http://www.keil.com/mcb2140/
+http://www.nxp.com/products/microcontrollers/arm7/lpc2100/series/LPC2141_42_44_46_48.html
+
+
+Logic analyzer setup
+--------------------
+
+The logic analyzer used was a Saleae Logic (at 4MHz):
+
+  Probe       JTAG connector
+  --------------------------
+  1 (black)   TRST#
+  2 (brown)   TDI
+  3 (red)     TMS
+  4 (orange)  TCK
+  5 (yellow)  TDO
+  6 (green)   RST
+  7 (blue)    RTCK
+
+
+keil_mcb2140_init.sr
+--------------------
+
+The following OpenOCD command was used:
+
+  openocd -f interface/flossjtag-noeeprom.cfg -f board/keil_mcb2140.cfg \
+          -c "init"
+
+The sigrok command line used was:
+
+  sigrok-cli -d 0:samplerate=4mhz --time 5s \
+             -p '1=TRST,2=TDI,3=TMS,4=TCK,5=TDO,6=RST,7=RTCK' -o <filename>
+
+
+keil_mcb2140_reset.sr
+---------------------
+
+The following OpenOCD command was used:
+
+  openocd -f interface/flossjtag-noeeprom.cfg -f board/keil_mcb2140.cfg \
+          -c "init" -c "poll off" -c "sleep 4000" -c "reset" -c "halt"
+
+(only the last "reset" and "halt" are in the dump)
+
+The sigrok command line used was:
+
+  sigrok-cli -d 0:samplerate=4mhz --time 5s \
+             -p '1=TRST,2=TDI,3=TMS,4=TCK,5=TDO,6=RST,7=RTCK' -o <filename>
+
+
+keil_mcb2140_idle.sr
+--------------------
+
+The following OpenOCD command was used:
+
+  openocd -f interface/flossjtag-noeeprom.cfg -f board/keil_mcb2140.cfg \
+          -c "init"
+
+The sigrok command line used was:
+
+  sigrok-cli -d 0:samplerate=4mhz --time 3s \
+             -p '1=TRST,2=TDI,3=TMS,4=TCK,5=TDO,6=RST,7=RTCK' -o <filename>
+
+sigrok-cli was only started a few seconds after the OpenOCD init/connection
+to capture what happens when the user doesn't actively use OpenOCD commands.
+
+
+keil_mcb2140_irscan_drscan.sr
+-----------------------------
+
+The following OpenOCD command was used:
+
+  openocd -f interface/flossjtag-noeeprom.cfg -f board/keil_mcb2140.cfg \
+          -c "init" -c "poll off" -c "sleep 4000" -c "irscan lpc2148.cpu 0xe" \
+          -c "drscan lpc2148.cpu 32 0"
+
+This gets the 32bit contents of the IDCODE register (0b1110): 0x4f1f0f0f.
+
+The sigrok command line used was:
+
+  sigrok-cli -d 0:samplerate=4mhz --time 5s \
+             -p '1=TRST,2=TDI,3=TMS,4=TCK,5=TDO,6=RST,7=RTCK' -o <filename>
+
diff --git a/jtag/keil_mcb2140/keil_mcb2140_idle.sr b/jtag/keil_mcb2140/keil_mcb2140_idle.sr
new file mode 100644 (file)
index 0000000..a7082e1
Binary files /dev/null and b/jtag/keil_mcb2140/keil_mcb2140_idle.sr differ
diff --git a/jtag/keil_mcb2140/keil_mcb2140_init.sr b/jtag/keil_mcb2140/keil_mcb2140_init.sr
new file mode 100644 (file)
index 0000000..d2ba847
Binary files /dev/null and b/jtag/keil_mcb2140/keil_mcb2140_init.sr differ
diff --git a/jtag/keil_mcb2140/keil_mcb2140_irscan_drscan.sr b/jtag/keil_mcb2140/keil_mcb2140_irscan_drscan.sr
new file mode 100644 (file)
index 0000000..8a71f6d
Binary files /dev/null and b/jtag/keil_mcb2140/keil_mcb2140_irscan_drscan.sr differ
diff --git a/jtag/keil_mcb2140/keil_mcb2140_reset.sr b/jtag/keil_mcb2140/keil_mcb2140_reset.sr
new file mode 100644 (file)
index 0000000..a04908d
Binary files /dev/null and b/jtag/keil_mcb2140/keil_mcb2140_reset.sr differ