Skip to main content
VictorPr
Associate II
Sep 11, 2020 6:26 PM UTC
Solved

Bricked STM32F446 after unprotect

After testing Proprietary code readout protection (PCROP) features, STM32F4 got bricked.

Steps to reproduce:

  • Enable SPRMOD for PCROP usage and enable PCROP bit 3 (Flash sector 3)
  • Send an :unprotect:force DFU command
  • STM32 will be bricked by now, not booting into USB DFU mode when pulling BOOT0 pin high
This topic has been closed for replies.
VictorPr
VictorPrBest answer
Associate II
Sep 18, 2020 11:15 PM UTC

Ok, solved.

For some reason, just plugin in USB while BOOT0 was tied high was not enough. Also had to pull NRST low to force reset and is working now.

1 reply

VictorPr
VictorPrAuthorBest answer
Associate II
Sep 18, 2020 11:15 PM UTC

Ok, solved.

For some reason, just plugin in USB while BOOT0 was tied high was not enough. Also had to pull NRST low to force reset and is working now.