From 95a22aa2f6dd571af8a1e73f8aeb34f122ccbacc Mon Sep 17 00:00:00 2001 From: Chip Weinberger Date: Thu, 15 Dec 2022 16:13:57 -0800 Subject: [PATCH 1/2] Update DFU docs for flash encryption --- docs/en/api-guides/dfu.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/en/api-guides/dfu.rst b/docs/en/api-guides/dfu.rst index 05f9ce1ed9..98f09db9cf 100644 --- a/docs/en/api-guides/dfu.rst +++ b/docs/en/api-guides/dfu.rst @@ -128,3 +128,9 @@ Common Errors and Known Issues - The reason for ``No DFU capable USB device available`` could be that the USB driver wasn't properly installed on Windows (see :ref:`api_guide_dfu_flash_win`), udev rule was not setup on Linux (see :ref:`api_guide_dfu_flash_udev`) or the device isn't in bootloader mode. - Flashing with ``dfu-util`` on Windows fails on the first attempt with error ``Lost device after RESET?``. Please retry the flashing and it should succeed the next time. + + +Secure Download Mode +------------------------------ + +- When Secure Download Mode is enabled, DFU is no longer possible. See: :doc:`Flash Encryption <../security/flash-encryption>` From 4aa4a76d2c29f90dbf0712724efae986ba19e5bd Mon Sep 17 00:00:00 2001 From: Mahavir Jain Date: Mon, 19 Dec 2022 16:29:34 +0530 Subject: [PATCH 2/2] docs: update dfu docs for secure DL mode --- docs/en/api-guides/dfu.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/en/api-guides/dfu.rst b/docs/en/api-guides/dfu.rst index 98f09db9cf..0568472063 100644 --- a/docs/en/api-guides/dfu.rst +++ b/docs/en/api-guides/dfu.rst @@ -130,7 +130,9 @@ Common Errors and Known Issues - Flashing with ``dfu-util`` on Windows fails on the first attempt with error ``Lost device after RESET?``. Please retry the flashing and it should succeed the next time. -Secure Download Mode ------------------------------- +.. only:: SOC_SUPPORTS_SECURE_DL_MODE -- When Secure Download Mode is enabled, DFU is no longer possible. See: :doc:`Flash Encryption <../security/flash-encryption>` + Secure Download Mode + -------------------- + + When Secure Download Mode is enabled, DFU is no longer possible. Please see :doc:`Flash Encryption <../security/flash-encryption>` guide for more details.