Skip to content

Commit 7aca827

Browse files
etienne-lmscfriedt
authored andcommitted
boards: st: stm32n6570_dk: 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'). Explicit what the 2 USB connectors are used for in 'sb' variant configuration. Signed-off-by: Etienne Carriere <[email protected]>
1 parent e0aa4eb commit 7aca827

File tree

1 file changed

+28
-10
lines changed

1 file changed

+28
-10
lines changed

boards/st/stm32n6570_dk/doc/index.rst

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ To program the board, there are two options:
227227
and executed from there.
228228
- Optionally, it can also be taken advantage from the serial boot interface provided
229229
by the boot ROM. In that case, firmware is directly loaded in RAM and executed from
230-
there. It is not retained.
230+
there. It is not retained in persistent memory.
231231

232232
Programming an application to STM32N6570_DK
233233
-------------------------------------------
@@ -258,6 +258,19 @@ First, connect the STM32N6570_DK to your host computer using the ST-Link USB por
258258
:west-args: --sysbuild -- -DCONFIG_XIP=n -DSB_CONFIG_MCUBOOT_MODE_RAM_LOAD=y
259259
:goals: build flash
260260

261+
.. note::
262+
For flashing, before powering the board, set the boot pins in the following configuration:
263+
264+
* BOOT0: 0 (switch SW2 in position L)
265+
* BOOT1: 1 (switch SW1 in position H)
266+
267+
After flashing, to run the application, set the boot pins in the following configuration:
268+
269+
* BOOT0: 0 (switch SW2 in position L)
270+
* BOOT1: 0 (switch SW1 in position L)
271+
272+
Power off and on the board again.
273+
261274
.. group-tab:: FSBL - ST-Link
262275

263276
Build and flash an application using ``stm32n6570_dk/stm32n657xx/fsbl`` target.
@@ -270,26 +283,31 @@ First, connect the STM32N6570_DK to your host computer using the ST-Link USB por
270283
.. note::
271284
For flashing, before powering the board, set the boot pins in the following configuration:
272285

273-
* BOOT0: 0
274-
* BOOT1: 1
286+
* BOOT0: 0 (switch SW2 in position L)
287+
* BOOT1: 1 (switch SW1 in position H)
275288

276289
After flashing, to run the application, set the boot pins in the following configuration:
277290

278-
* BOOT1: 0
291+
* BOOT0: 0 (switch SW2 in position L)
292+
* BOOT1: 0 (switch SW1 in position L)
279293

280-
Power off and on the board again.
294+
Power off and on the board again.
281295

282296
.. group-tab:: FSBL - Serial Boot Loader (USB)
283297

284-
Additionally, connect the STM32N6570_DK to your host computer using the USB port.
285-
In this configuration, ST-Link is used to power the board and for serial communication
286-
over the Virtual COM Port.
298+
Additionally to the USB/ST-Link, connect the STM32N6570_DK to your
299+
host computer using USB1 port (CN18).
300+
301+
In this configuration, ST-Link (USB/CN6) is used to power the board
302+
and for serial communication over the Virtual COM Port, while
303+
USB1/CN18 is used to send the Zephyr image to Boot ROM for loading it
304+
in RAM and executing it.
287305

288306
.. note::
289307
Before powering the board, set the boot pins in the following configuration:
290308

291-
* BOOT0: 1
292-
* BOOT1: 0
309+
* BOOT0: 1 (switch SW2 in position H)
310+
* BOOT1: 0 (switch SW1 in position L)
293311

294312
Build and load an application using ``stm32n6570_dk/stm32n657xx/sb`` target (you
295313
can also use the shortened form: ``stm32n6570_dk//sb``)

0 commit comments

Comments
 (0)