cancel
Showing results for 
Search instead for 
Did you mean: 

NUCLEO-N657X0-Q: Unable to erase flash

michaelg643
Associate II

Hi,

I've recently been trying to get an LRUN application up and running on the NUCLEO-N657X0-Q board. Similar to the posts in https://community.st.com/t5/stm32cubeprogrammer-mcus/stm32n6570-dk-unable-to-erase-external-flash/td-p/757897, I cannot access the flash for erasure, with errors indicating to verify flash memory protection.

michaelg643_1-1755967138338.png

 

I currently have the BOOT0 jumper on 1-2 (for 0) and BOOT1 on 2-3 (for a logical 1), which should be putting me into the Development boot mode. For external loaders, I have MX25UM51245G_STM32N6570-NUCLEO selected. 

michaelg643_0-1755966866504.png

I've tried both full chip erase and sector erase, both giving me errors that tell me to verify flash memory protection.

Please advise, I'm not sure what I'm doing wrong. This is my first time attempting to flash the memory.

EDIT: I should've mentioned, I'm using STM32CubeProgrammer 2.20.0. I've tried this on both Windows 11 and Ubuntu 24.04

EDIT #2: I have also attached the verbose log file after I hit "full chip erase" and a single sector

EDIT #3: I've also tried bypassing the chip erase and loading my signed bin file into flash. That's also locked me out, as expected.

10 REPLIES 10

Hi @JOT, Thank you for your help and for sharing the solution.

Thank you @michaelg643 for your confirmation.

I raised this issue internally for investigation (through Ticket number: 216448).

Sorry, for the inconvenience it may cause.

(PS: Ticket number: 216448, is only for reference and not available outside of ST).

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen