2022-02-18 04:51 AM
2022-02-18 05:01 AM
Isn't that a very old version of the software?
You mention a chip, is this on a custom board or one from ST?
Do you have a board appropriate external loader?
2022-02-18 10:13 AM
Hello @ab.7 ,
I advise you to try with latest release of STM32CubeProgrammer v2.9.0.
Then, please keep us informed about your update.
Imen
2022-02-18 11:49 PM
I already used STM32CubeProgrammer V 2.9.0 and tested again. This did not change anything.
log for the cube programmer
13:04:45 : RUNNING Program ...
13:04:45 : Address: : 0x08010000
13:04:45 : Application is running, Please Hold on...
13:04:45 : Start operation achieved successfully
13:04:58 : MASS ERASE ...
13:09:58 : Error: Mass erase operation failed.Please verify flash protection
Thanks,
Ashok
2022-02-18 11:52 PM
1)Downloaded new version V.2.9.0 still facing the same issue
2 )Custom board
3) Yes
2022-02-19 12:47 AM
Attach a full log at Verbose 3 level.
Currently looks to have hit a 5 minute timeout.
In your own experiments/testing of the BSP, how long does the full chip erase on the OCTOSPI usually take?
2022-02-21 02:43 AM
2022-02-21 02:54 AM
Downloaded new version V.2.9.0 still facing the same issue
2022-02-21 05:23 AM
@Imen DAHMEN @Nawres GHARBI
Can someone perhaps look at why the tool times out after 5 minutes for a memory that has a maximum mass erase time of 10.5 minutes? Typical is >3 min.
https://www.macronix.com/Lists/Datasheet/Attachments/7574/MX25L51245G,%203V,%20512Mb,%20v1.3.pdf
Perhaps need a better method for communicating these times, and making sure the loader is still alive/functioning. Perhaps a progress call-back, or a TestReady type call-in.
>>In your own experiments/testing of the BSP, how long does the full chip erase on the OCTOSPI usually take?
@ab.7 Any information on this? Testing your BSP (BOARD SUPPORT PACKAGE) in a normal application, outside of the loader to establish the performance and function of the chip on your board. This would be a normal part of custom board bring-up and validation tasks.
2022-02-21 08:12 AM
for full chip erase it's taking around 3 minutes.