Skip to content

Conversation

@eivindj-nordic
Copy link
Contributor

Add note about MCUboot KMU usage and key provisioning to sample programming template.

@eivindj-nordic eivindj-nordic requested review from a team as code owners November 4, 2025 09:54
@github-actions github-actions bot added changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. doc-required PR must not be merged without tech writer approval. labels Nov 4, 2025
@eivindj-nordic eivindj-nordic self-assigned this Nov 4, 2025
@github-actions
Copy link

github-actions bot commented Nov 4, 2025

You can find the documentation preview for this PR here.

@eivindj-nordic eivindj-nordic force-pushed the kmu_key_note_program_sample branch from 7bd6f50 to c3ce43a Compare November 4, 2025 11:16

.. note::

When using the MCUboot board variants with KMU (default), ``west flash --erase`` or ``west flash --recover`` must be used during first programming of a board to program the KMU with the keys.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
When using the MCUboot board variants with KMU (default), ``west flash --erase`` or ``west flash --recover`` must be used during first programming of a board to program the KMU with the keys.
When using the MCUboot board variants with KMU (default), ``west flash --erase`` or ``west flash --recover`` must be used during the first programming of the board, in order to program the KMU with the keys.

.. note::

When using the MCUboot board variants with KMU (default), ``west flash --erase`` or ``west flash --recover`` must be used during first programming of a board to program the KMU with the keys.
In |VSC|, hover the :guilabel:`Flash` in the `Actions View`_, then click :guilabel:`Erase and Flash to Board` appearing to the right, besides :guilabel:`More actions`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sentence could be rewritten.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Split in two. If you have other suggestion, please add.

@eivindj-nordic eivindj-nordic force-pushed the kmu_key_note_program_sample branch 2 times, most recently from 44fccf3 to c92a852 Compare November 6, 2025 12:24

When using the MCUboot board variants with KMU (default), ``west flash --erase`` or ``west flash --recover`` must be used during the first programming of the board in order to program the KMU with the keys.
In |VSC|, hover the :guilabel:`Flash` in the `Actions View`_.
Then click :guilabel:`Erase and Flash to Board` appearing to the right, besides :guilabel:`More actions`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Then click :guilabel:`Erase and Flash to Board` appearing to the right, besides :guilabel:`More actions`.
Then click :guilabel:`Erase and Flash to Board` appearing to the right, beside :guilabel:`More actions`.

@eivindj-nordic eivindj-nordic force-pushed the kmu_key_note_program_sample branch from c92a852 to e457233 Compare November 7, 2025 07:33
@eivindj-nordic eivindj-nordic force-pushed the kmu_key_note_program_sample branch from e457233 to b4f6072 Compare November 7, 2025 13:55

* Using the command line: Execute ``west flash --erase`` or ``west flash --recover``.
* Using Visual Studio Code: In the Actions View, hover over the :guilabel:`Flash` option.
Click :guilabel:`Erase and Flash to Board`, which appears to the right under :guilabel:`More actions`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried looking for this because I was not familiar with it and couldn't find it immediately on first try. I think it would be a good idea to add a small screenshot of how it looks like.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added.

@eivindj-nordic eivindj-nordic force-pushed the kmu_key_note_program_sample branch from b4f6072 to 5c6824b Compare November 17, 2025 12:23
Add note about MCUboot KMU usage and key provisioning to sample
programming template.

Signed-off-by: Eivind Jølsgard <[email protected]>
@eivindj-nordic eivindj-nordic force-pushed the kmu_key_note_program_sample branch from 5c6824b to d09d396 Compare November 17, 2025 12:30
@eivindj-nordic eivindj-nordic merged commit 8fe3bde into nrfconnect:main Nov 18, 2025
18 checks passed
@eivindj-nordic eivindj-nordic removed the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Nov 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-required PR must not be merged without tech writer approval.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants