summaryrefslogtreecommitdiff
path: root/jtag/olimex_stm32-h103/README
diff options
context:
space:
mode:
Diffstat (limited to 'jtag/olimex_stm32-h103/README')
-rw-r--r--jtag/olimex_stm32-h103/README18
1 files changed, 18 insertions, 0 deletions
diff --git a/jtag/olimex_stm32-h103/README b/jtag/olimex_stm32-h103/README
index 0bd942f..bb448e3 100644
--- a/jtag/olimex_stm32-h103/README
+++ b/jtag/olimex_stm32-h103/README
@@ -171,3 +171,21 @@ The sigrok command line used was:
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>
+