Skip to content

Commit 5c6824b

Browse files
doc: nrf-bm: includes: program_sample: Add note about MCUboot KMU usage
Add note about MCUboot KMU usage and key provisioning to sample programming template. Signed-off-by: Eivind Jølsgard <[email protected]>
1 parent 48e721c commit 5c6824b

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
13.9 KB
Loading

doc/nrf-bm/includes/program_sample.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,15 @@ Follow these steps to program this sample:
88
#. To flash the application you have built, select your build folder in the `Applications View`_.
99
Then, click :guilabel:`Flash` in the `Actions View`_ after connecting the device to the terminal.
1010

11+
.. note::
12+
13+
When programming a board for the first time using MCUboot board variants with KMU (default), make sure the KMU is programmed with the necessary keys.
14+
15+
* Using the command line: Execute ``west flash --erase`` or ``west flash --recover``.
16+
* Using Visual Studio Code: In the Actions View, hover over the :guilabel:`Flash` option.
17+
Click :guilabel:`Erase and Flash to Board`, which appears to the right under :guilabel:`More actions`.
18+
19+
.. figure:: /images/erase_and_flash_to_board.png
20+
:alt: Erase and flash to board.
21+
1122
For more details, see `How to flash an application`_ in |VSC| extension documentation.

0 commit comments

Comments
 (0)