]> sigrok.org Git - sigrok-dumps.git/blame - jtag/olimex_stm32-h103/README
JTAG: Add olimex_stm32-h103_init_10s.sr.
[sigrok-dumps.git] / jtag / olimex_stm32-h103 / README
CommitLineData
80b6876c
UH
1-------------------------------------------------------------------------------
2JTAG
3-------------------------------------------------------------------------------
4
5This is a set of example captures of JTAG communication to an Olimex
6STM32-H103 eval board with an ST STM32 (ARM Cortex-M3) microcontroller.
7
8The JTAG adapter used was the FTDI FT2232H based Floss-JTAG (V0.2).
9
10The firmware flashed to the board is a simple LED-blinking libopencm3
11example named 'fancyblink'. The respective fancyblink.bin file is
12available as a reference in the same directory as this README.
13The file's MD5 sum is aa6980d55b9ced84fc0c64bfe9e5ff98.
14
15Details:
16http://olimex.com/dev/stm32-h103.html
17http://randomprojects.org/wiki/Floss-JTAG
18http://libopencm3.org
19http://libopencm3.git.sourceforge.net/git/gitweb.cgi?p=libopencm3/libopencm3;a=tree;f=examples/stm32/f1/stm32-h103/fancyblink
20
21
22Logic analyzer setup
23--------------------
24
25The logic analyzer used for capturing was a Saleae Logic:
26
27 Probe STM32-H103 JTAG connector
28 -------------------------------------
29 1 (black) TRST
30 2 (brown) TDI
31 3 (red) TMS
32 4 (orange) TCK
33 5 (yellow) TDO
34 6 (green) RST
35
36
28746e24
UH
37olimex_stm32-h103_flash_fancyblink.sr
38-------------------------------------
80b6876c 39
28746e24 40The OpenOCD used was "0.5.0 (2011-08-09-08:45)" (Debian version 0.5.0-1):
80b6876c
UH
41
42 openocd -f interface/flossjtag-noeeprom.cfg \
43 -f board/olimex_stm32_h107.cfg \
44 -c "init" -c "reset init" \
45 -c "stm32f1x mass_erase 0" \
46 -c "flash write_image fancyblink.bin" \
47 -c "reset" \
48 -c "shutdown"
49
80b6876c
UH
50The sigrok command line used was:
51
52 sigrok-cli -d 0:samplerate=4mhz --time 20s \
53 -p '1=TRST,2=TDI,3=TMS,4=TCK,5=TDO,6=RST' \
54 -o olimex_stm32-h103_flash_fancyblink.sr
55
28746e24
UH
56
57olimex_stm32-h103_init_10s.sr
58-----------------------------
59
60The following OpenOCD command was used:
61
62 openocd -f interface/flossjtag-noeeprom.cfg -f board/olimex_stm32_h107.cfg \
63 -c "init"
64
65The sigrok command line used was:
66
67 sigrok-cli -d 0:samplerate=4mhz --time 10s \
68 -p '1=TRST,2=TDI,3=TMS,4=TCK,5=TDO,6=RST' -o <filename>
69
70