1574
Kommentar:
|
1341
|
Gelöschter Text ist auf diese Art markiert. | Hinzugefügter Text ist auf diese Art markiert. |
Zeile 47: | Zeile 47: |
---- /!\ '''Edit conflict - other version:''' ---- .. figure:: bild1.jpg :scale: 10 :target: bild1.jpg .. figure:: bild2.jpg :scale: 10 :target: bild2.jpg ---- /!\ '''Edit conflict - your version:''' ---- |
OpenOCD
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.
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.
---- /!'''End of edit conflict''' ----
My configuration file is vsllink_swd.cfg:
interface_transports swd interface vsllink # transport select swd swd_mode 2 swd_delay 2
Here I have the same problem.
Error: BUG: current_target out of bounds