Skip to content

Commit a307b3a

Browse files
moonlight83340cfriedt
authored andcommitted
doc: scobc_a1: Explain OpenOCD interface selection
Explain how to use CMSIS-DAP, FT2232D, or FT232R interfaces by setting the OPENOCD_INTERFACE environment variable when flashing the SC-OBC Module A1. This reflects the recent unification of OpenOCD configuration scripts and the default selection of CMSIS-DAP as the standard interface. Signed-off-by: Gaetan Perrot <[email protected]>
1 parent 9df66e6 commit a307b3a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

boards/sc/scobc_a1/doc/index.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,21 @@ After flashing, you should see message similar to the following in the terminal:
7070
Note, however, that the application was not persisted in flash memory by the
7171
above steps. It was merely written to internal RAM in the FPGA.
7272

73+
You can flash the board using an external debug adapter such as CMSIS-DAP, FT2232D, or FT232R. By
74+
default, the SC-OBC Module A1 uses a CMSIS-DAP interface (e.g., Raspberry Pi Pico Debug Probe).
75+
However, if you're using an adapter such as FT2232D or FT232R, specify the interface via the
76+
``OPENOCD_INTERFACE`` environment variable before running ``west flash``.
77+
78+
For example:
79+
80+
.. code-block:: console
81+
82+
$ export OPENOCD_INTERFACE=FT2232D
83+
$ west flash
84+
85+
$ export OPENOCD_INTERFACE=FT232R
86+
$ west flash
87+
7388
Debugging
7489
=========
7590

0 commit comments

Comments
 (0)