-------------------------------------------------------------------------------
-JTAG
+JTAG / ST STM32
-------------------------------------------------------------------------------
This is a set of example captures of JTAG communication to an Olimex
Probe STM32-H103 JTAG connector
-------------------------------------
- 1 (black) TRST
+ 1 (black) TRST#
2 (brown) TDI
3 (red) TMS
4 (orange) TCK
0x20000000: 02255100 044aa200 3b02f830 3b02f821 f01368e3 d0fb0f01 0f14f013 3a01d101
0x20000020: be00d1f0 40022000 20000800 080001a5 080001ef 080001ed 080001ed 080001ed
+olimex_stm32-h103_idle.sr
+-------------------------
+
+The following OpenOCD command was used:
+
+ openocd -f interface/flossjtag-noeeprom.cfg -f board/olimex_stm32_h107.cfg \
+ -c "init" -c "reset halt"
+
+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' -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.
+
+
+olimex_stm32-h103_irscan_drscan.sr
+----------------------------------
+
+The following OpenOCD command was used:
+
+ openocd -f interface/flossjtag-noeeprom.cfg -f board/olimex_stm32_h107.cfg \
+ -c "init" -c "halt" -c "poll off" -c "sleep 4000" \
+ -c "irscan stm32f1x.cpu 0xe" -c "drscan stm32f1x.cpu 32 0"
+
+This gets the 32bit contents of the IDCODE register (0b1110), which is
+0x3ba00477, the ID for ARM Cortex-M3 r1p1-01rel0.
+
+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' -o <filename>
+