2025-07-31 10:06 AM - edited 2025-07-31 10:08 AM
Hi. is any one facing issue like mine. After updating STM32CUBEPROGRAMMER TO V2.20 external loader giving error at erasing external memory. when i download the code in controller having external qspi flash, it is showing error "failed to erase chip". screenshot is attached. If i perform Full CHIP Erase. I am able to erase the chip. ever single sector is erased. but my code uses 111 sectors of external memory which is failing to ease. same issue is giving at cubeide 1.19.0. before updating everything was working. i upadated IDE and it failed to erase the chip. but my old cube programmer was doing job. when i updated cube programmer, it also stopped erasing external memory 111 sectors.
2025-07-31 10:32 AM
Mass Erase and Sector Erase use different commands. The mass erase can appear to complete immediately if there are protected blocks.
You can perhaps do the mass erase internal/external, and then turn OFF erase in the programming pane. Does that succeed?
Diagnostic logs at Verbose Level 3 would be more helpful. See if command throws error or times out.
What chips are involved here?
What is the pin utilization on your F769?
2025-07-31 9:54 PM
2025-07-31 10:06 PM
Maybe, but not enough to bite on here.. more data as requested might help
Also you can instrument via a USART to see what's happening on the STM32 side.
Like I said a Log at Verbose Level 3 might provide some direction/insight to the team at ST as to what's going on.