2025-08-23 9:44 AM - edited 2025-08-24 8:01 AM
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.
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.
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.
Solved! Go to Solution.
2025-08-28 2:00 AM
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).