diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2012-01-13 22:22:55 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2012-01-13 22:22:55 +0100 |
commit | 80b6876c42831d20107d7d488beb389f8e0d3fe4 (patch) | |
tree | 8d47bc707105eb3c6b9ee5254eae40eac5a437b5 | |
parent | f793c6d26e576d436b93b3414a00b9d2fcdcdaba (diff) | |
download | sigrok-dumps-80b6876c42831d20107d7d488beb389f8e0d3fe4.tar.gz sigrok-dumps-80b6876c42831d20107d7d488beb389f8e0d3fe4.zip |
Add a JTAG dump of an STM32 being flashed.
-rw-r--r-- | jtag/olimex_stm32-h103/README | 60 | ||||
-rw-r--r-- | jtag/olimex_stm32-h103/fancyblink.bin | bin | 0 -> 1100 bytes | |||
-rw-r--r-- | jtag/olimex_stm32-h103/olimex_stm32-h103_flash_fancyblink.sr | bin | 0 -> 28740 bytes |
3 files changed, 60 insertions, 0 deletions
diff --git a/jtag/olimex_stm32-h103/README b/jtag/olimex_stm32-h103/README new file mode 100644 index 0000000..58093e2 --- /dev/null +++ b/jtag/olimex_stm32-h103/README @@ -0,0 +1,60 @@ +------------------------------------------------------------------------------- +JTAG +------------------------------------------------------------------------------- + +This is a set of example captures of JTAG communication to an Olimex +STM32-H103 eval board with an ST STM32 (ARM Cortex-M3) microcontroller. + +The JTAG adapter used was the FTDI FT2232H based Floss-JTAG (V0.2). + +The firmware flashed to the board is a simple LED-blinking libopencm3 +example named 'fancyblink'. The respective fancyblink.bin file is +available as a reference in the same directory as this README. +The file's MD5 sum is aa6980d55b9ced84fc0c64bfe9e5ff98. + +Details: +http://olimex.com/dev/stm32-h103.html +http://randomprojects.org/wiki/Floss-JTAG +http://libopencm3.org +http://libopencm3.git.sourceforge.net/git/gitweb.cgi?p=libopencm3/libopencm3;a=tree;f=examples/stm32/f1/stm32-h103/fancyblink + + +Logic analyzer setup +-------------------- + +The logic analyzer used for capturing was a Saleae Logic: + + Probe STM32-H103 JTAG connector + ------------------------------------- + 1 (black) TRST + 2 (brown) TDI + 3 (red) TMS + 4 (orange) TCK + 5 (yellow) TDO + 6 (green) RST + + +JTAG/OpenOCD setup +------------------ + +The OpenOCD used was "0.5.0 (2011-08-09-08:45)" (Debian version 0.5.0-1). + +It was invoked like this: + + openocd -f interface/flossjtag-noeeprom.cfg \ + -f board/olimex_stm32_h107.cfg \ + -c "init" -c "reset init" \ + -c "stm32f1x mass_erase 0" \ + -c "flash write_image fancyblink.bin" \ + -c "reset" \ + -c "shutdown" + +sigrok setup +------------ + +The sigrok command line used was: + + sigrok-cli -d 0:samplerate=4mhz --time 20s \ + -p '1=TRST,2=TDI,3=TMS,4=TCK,5=TDO,6=RST' \ + -o olimex_stm32-h103_flash_fancyblink.sr + diff --git a/jtag/olimex_stm32-h103/fancyblink.bin b/jtag/olimex_stm32-h103/fancyblink.bin Binary files differnew file mode 100644 index 0000000..4d12a9e --- /dev/null +++ b/jtag/olimex_stm32-h103/fancyblink.bin diff --git a/jtag/olimex_stm32-h103/olimex_stm32-h103_flash_fancyblink.sr b/jtag/olimex_stm32-h103/olimex_stm32-h103_flash_fancyblink.sr Binary files differnew file mode 100644 index 0000000..12d86af --- /dev/null +++ b/jtag/olimex_stm32-h103/olimex_stm32-h103_flash_fancyblink.sr |