1590
Kommentar:
|
58
|
Gelöschter Text ist auf diese Art markiert. | Hinzugefügter Text ist auf diese Art markiert. |
Zeile 1: | Zeile 1: |
== OpenOCD == | #language de #format rst |
Zeile 3: | Zeile 4: |
=== Serial Wire Debug (SWD) === 2011-02-23 Recently I tried to test the SWD debug transport over a FT2232 based JTAG adaptor and over a Versaloon (based on STM32) adaptor. The debug target was a STM32 Discovery board. I use a rather new OpenOCD Version: `0.5.0-dev-00746-g177fe9d-dirty (2011-02-22-00:20)`. ==== FT2232 Adaptor ==== I modified the adaptor configuration file, so that SWD is enabled. Is this correct? {{{ interface_transports swd interface ft2232 transport select swd ft2232_vid_pid 0x0403 0x6010 ft2232_device_desc "Dual RS232" ft2232_layout "oocdlink" ft2232_latency 2 jtag_khz 200 }}} OpenOCD does not start. It complains with an error message: :: Error: BUG: current_target out of bounds ==== Versaloon ==== I have two ''STM32 Discovery'' Boards and modified one of them to have a Versaloon adapter instead of the original ST-Link software. I took the following descriptions: * http://hackaday.soup.io/post/106677690/Versaloon-ported-to-STM8-and-STM32-discovery * http://takenapart.com/?p=82 These two fotos show my connections between the two board: [[attachment: bild1.jpg]] [[attachment: bild2.jpg]] My configuration file is `vsllink_swd.cfg`: {{{ interface_transports swd interface vsllink # transport select swd swd_mode 2 swd_delay 2 }}} On OpenOCD startup I have the same problem as written above: {{{ Error: BUG: current_target out of bounds }}} http://www.versaloon.com/bbs/viewtopic.php?f=2&t=29&start=20 |
======== OpenOCD ======== |