1 -------------------------------------------------------------------------------
3 -------------------------------------------------------------------------------
5 This is a set of example captures of JTAG communication to a Keil MCB2140
6 eval board with a NXP LPC2148 (ARM7TDMI) microcontroller.
8 The JTAG adapter used was the FTDI FT2232H based Floss-JTAG (V0.2).
11 http://randomprojects.org/wiki/Floss-JTAG
12 http://www.keil.com/mcb2140/
13 http://www.nxp.com/products/microcontrollers/arm7/lpc2100/series/LPC2141_42_44_46_48.html
19 The logic analyzer used was a Saleae Logic (at 4MHz):
22 --------------------------
35 The following OpenOCD command was used:
37 openocd -f interface/flossjtag-noeeprom.cfg -f board/keil_mcb2140.cfg \
40 The sigrok command line used was:
42 sigrok-cli -d 0:samplerate=4mhz --time 5s \
43 -p '1=TRST,2=TDI,3=TMS,4=TCK,5=TDO,6=RST,7=RTCK' -o <filename>
49 The following OpenOCD command was used:
51 openocd -f interface/flossjtag-noeeprom.cfg -f board/keil_mcb2140.cfg \
52 -c "init" -c "poll off" -c "sleep 4000" -c "reset" -c "halt"
54 (only the last "reset" and "halt" are in the dump)
56 The sigrok command line used was:
58 sigrok-cli -d 0:samplerate=4mhz --time 5s \
59 -p '1=TRST,2=TDI,3=TMS,4=TCK,5=TDO,6=RST,7=RTCK' -o <filename>
65 The following OpenOCD command was used:
67 openocd -f interface/flossjtag-noeeprom.cfg -f board/keil_mcb2140.cfg \
70 The sigrok command line used was:
72 sigrok-cli -d 0:samplerate=4mhz --time 3s \
73 -p '1=TRST,2=TDI,3=TMS,4=TCK,5=TDO,6=RST,7=RTCK' -o <filename>
75 sigrok-cli was only started a few seconds after the OpenOCD init/connection
76 to capture what happens when the user doesn't actively use OpenOCD commands.
79 keil_mcb2140_irscan_drscan.sr
80 -----------------------------
82 The following OpenOCD command was used:
84 openocd -f interface/flossjtag-noeeprom.cfg -f board/keil_mcb2140.cfg \
85 -c "init" -c "poll off" -c "sleep 4000" -c "irscan lpc2148.cpu 0xe" \
86 -c "drscan lpc2148.cpu 32 0"
88 This gets the 32bit contents of the IDCODE register (0b1110): 0x4f1f0f0f.
90 The sigrok command line used was:
92 sigrok-cli -d 0:samplerate=4mhz --time 5s \
93 -p '1=TRST,2=TDI,3=TMS,4=TCK,5=TDO,6=RST,7=RTCK' -o <filename>