1341
Kommentar:
|
1176
|
Gelöschter Text ist auf diese Art markiert. | Hinzugefügter Text ist auf diese Art markiert. |
Zeile 1: | Zeile 1: |
#format rst | |
Zeile 3: | Zeile 2: |
OpenOCD ======= |
== OpenOCD == |
Zeile 6: | Zeile 4: |
Serial Wire Debug (SWD) ----------------------- |
=== Serial Wire Debug (SWD) === |
Zeile 15: | Zeile 12: |
FT2232 Adaptor `````````````` |
==== FT2232 Adaptor ==== |
Zeile 21: | Zeile 18: |
:: | {{{ |
Zeile 33: | Zeile 30: |
}}} | |
Zeile 41: | Zeile 39: |
Versaloon ````````` |
==== Versaloon ==== |
Zeile 47: | Zeile 45: |
`Bild 1 <bild1.jpg>`_ .. figure:: bild1.jpg :scale: 10 :target: bild1.jpg .. figure:: bild2.jpg :scale: 10 :target: bild2.jpg ---- /!\ '''End of edit conflict''' ---- |
[[attachment: bild1.jpg]] [[attachment: bild2.jpg]] |
Zeile 62: | Zeile 50: |
:: | {{{ |
Zeile 69: | Zeile 57: |
}}} |
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.
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