Skip to content

Commit e0aa4eb

Browse files
etienne-lmscfriedt
authored andcommitted
boards: st: nucleo_n657x0_q: clarify boot pins information
Clarify the BOOT0/BOOT1 configuration needed to program the flash memory or to load the image straight in RAM (serial boot variant 'sb'). Fix the build directive when 'sb' variant is to be used. Explicit what the 2 USB connectors are used for in the 'sb' variant configuration. Signed-off-by: Etienne Carriere <[email protected]>
1 parent 02be059 commit e0aa4eb

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

boards/st/nucleo_n657x0_q/doc/index.rst

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ To program the board, there are two options:
176176
and executed from there.
177177
- Optionally, it can also be taken advantage from the serial boot interface provided
178178
by the boot ROM. In that case, firmware is directly loaded in RAM and executed from
179-
there. It is not retained.
179+
there. It is not retained in persistent memory.
180180

181181
Programming an application to NUCLEO-N657X0-Q
182182
---------------------------------------------
@@ -199,33 +199,38 @@ First, connect the NUCLEO-N657X0-Q to your host computer using the ST-Link USB p
199199
.. note::
200200
For flashing, before powering the board, set the boot pins in the following configuration:
201201

202-
* BOOT0: 0
203-
* BOOT1: 1
202+
* BOOT0: 0 (jumper JP1 in position 1, printed on PCB)
203+
* BOOT1: 1 (jumper JP2 in position 2, not-printed on PCB)
204204

205205
After flashing, to run the application, set the boot pins in the following configuration:
206206

207-
* BOOT1: 0
207+
* BOOT0: 0 (jumper JP1 in position 1, printed on PCB)
208+
* BOOT1: 0 (jumper JP2 in position 1, printed on PCB)
208209

209-
Power off and on the board again.
210+
Power off and on the board again.
210211

211212
.. group-tab:: Serial Boot Loader (USB)
212213

213-
Additionally, connect the NUCLEO-N657X0-Q to your host computer using the USB port.
214-
In this configuration, ST-Link is used to power the board and for serial communication
215-
over the Virtual COM Port.
214+
Additionally to the USB/ST-Link, connect the NUCLEO-N657X0-Q to your
215+
host computer using the USB port (USB/CN8).
216+
217+
In this configuration, ST-Link (USB connector CN10) is used to power
218+
the board and for serial communication over the Virtual COM Port,
219+
while USB/CN8 is used to send the Zephyr image to Boot ROM for loading
220+
it in RAM and executing it.
216221

217222
.. note::
218223
Before powering the board, set the boot pins in the following configuration:
219224

220-
* BOOT0: 1
221-
* BOOT1: 0
225+
* BOOT0: 1 (jumper JP1 in position 2, not-printed on PCB)
226+
* BOOT1: 0 (jumper JP2 in position 1, printed on PCB)
222227

223228
Build and load an application using ``nucleo_n657x0_q/stm32n657xx/sb`` target (you
224229
can also use the shortened form: ``nucleo_n657x0_q//sb``)
225230

226231
.. zephyr-app-commands::
227232
:zephyr-app: samples/hello_world
228-
:board: nucleo_n657x0_q
233+
:board: nucleo_n657x0_q//sb
229234
:goals: build flash
230235

231236

0 commit comments

Comments
 (0)