Skip to main content
Associate II
May 19, 2026
Question

Missing bootloader command

  • May 19, 2026
  • 14 replies
  • 377 views

The AN3156 explains on page 18 the Read Unprotect Command:

This command is selected when wValue = 0 and the first byte of the buffer sent by the host
is 0x92. The buffer length is only one (the command) byte.
The host sends a DFU_DNLOAD request with the above parameters to remove the read
protection of the internal flash memory.

 

It is very useful that you implemented a command to remove the read protection.
But this is useless if there is also a write protection active.
The user has no way to remove a write protection over the DFU protocol.

Why does this command not remove both: The read protection AND the write protection at the same time?
Why does STM implement nothing that allows to remove a write protection ?

14 replies

ST Technical Moderator
September 2, 2026

Thank you ​@TDK for your support!

@Elmue We understand the need in internal bootloader and consider it a valid request. At this stage, our engineering team acknowledges the request and the need behind it; however, similar complaints have not been widely observed and adding new protocol commands requires additional validation effort, they will study it for possible inclusion in a future product.

Thank again for spotting the need and sharing your requirement.

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL
ElmueAuthor
Associate II
September 2, 2026

You use the STM32H7 and not a STM32G0B1 with read and write protection.

Your answer is totally useless.