X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=jtag%2Folimex_stm32-h103%2FREADME;h=d278e4fad3b5f348608fbb8a61ea08f29a238e5b;hb=0eb3e55e18c13cce844e346a93ca3667fd5a3497;hp=e9c2d0ff254e69e8aac3774635b1c8520b4f35aa;hpb=47cd3c8ff64cd43ddf47f5da497b88e30616b162;p=sigrok-dumps.git diff --git a/jtag/olimex_stm32-h103/README b/jtag/olimex_stm32-h103/README index e9c2d0f..d278e4f 100644 --- a/jtag/olimex_stm32-h103/README +++ b/jtag/olimex_stm32-h103/README @@ -1,5 +1,5 @@ ------------------------------------------------------------------------------- -JTAG +JTAG / ST STM32 ------------------------------------------------------------------------------- This is a set of example captures of JTAG communication to an Olimex @@ -27,7 +27,7 @@ The logic analyzer used was a Saleae Logic (at 4MHz): Probe STM32-H103 JTAG connector ------------------------------------- - 1 (black) TRST + 1 (black) TRST# 2 (brown) TDI 3 (red) TMS 4 (orange) TCK @@ -155,3 +155,37 @@ following commands were entered via the OpenOCD telnet interface: 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 + +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 +