cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6570-DK: Cannot erase external Flash

EKirs.1
Associate II

Hello,

I have received the new STM32N6570-DK board a week ago. It successfully runs the "out-of-box" demo FW programmed into the external Flash and I am also able to load and run some simpler examples from SRAM through the integrated ST-Link debugger. However, when I try going further and would like to run more advanced examples requiring external Flash, I am having issues programming and erasing the external flash in the STM32CubeProgrammer. I do follow the steps in the manual (selecting the proper "external loader" MX66UW1G45G_STM32N6570-DK), however I receive the error "Error: Sector erase operation has failed at least for one of the existing specified sectors.Please verify flash memory protection." when trying to erase first 8 sectors or program another binary into the external Flash. 

Is the external flash locked by some option bytes or OTP? Is there anything that needs to be done to unlock it?

I am using STM32Programmer v2.18.0.

Attached is the screenshot of the error when it happens.

 

Thank you.

0 REPLIES 0