I have a Nucleo F401RE board which seems to be stuck in write protect mode 1. I have tried using STM32CubeProgrammer as well as ST link utility to try and set it to mode 0, but it fails with a generic error saying that it is unable to program the bytes on ST link utility, and on STM32CUBEPROGRAMMER it fails during verification, saying that the programmed bytes have returned to their original value. I've seen other people talk about this issue, but none of the solutions worked for me. Any help would be appreciated!
Asked
Active
Viewed 48 times
0
-
You need two hands. Disconnect nucleo from PC. Use first hand for pressing and holding reset button on nucleo bord while second hand use for connecting nucleo to the PC again. Do not release reset button. Open STM32CubeProgrammer, connect to target while holding the reset button, and select erase whole chip option. – Misaz Jan 02 '23 at 15:55