cancel
Showing results for 
Search instead for 
Did you mean: 

RDP & Bootloader: Cannot be used together?

Goof Ball
Associate III

I have an STM32F405 (which has no PCROP). I want RDP Level 1, but also want to re-flash firmware updates using the bootloader (and the DeFuse utility).

With RDP Level 0: everything works: I can reflash firmware updates, no problem.

But when optionBits are set to RDP Level1: to quote @andy​ (from here: https://bit.ly/2DfaUjf :(

It appears that the bootloader doesn't support any Flash writes until the read protection has been removed, and this involves erasing the entire Flash (OK) and then rebooting (not OK!). Rebooting the CPU exits the bootloader, leaving it with no firmware and BOOT[1..0] = 00.
 
In other words, bricked.

Any ideas how to get the bootloader to reflash, yet have RDP level 1 ?

10 REPLIES 10

Upgrade the firmware down the road