Hi,
I am using STM32L4S9 with macronix Octa flash(MX25LM51245GXDI00) and I am trying to erase octa flash getting the error "Mass erase operation failed." is their any feedback from ST team
We are using STM32CubeProgrammer 2.5.0
Thanks,
Ashok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-18 4:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-18 5: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?​
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-18 11:52 PM
1)Downloaded new version V.2.9.0 still facing the same issue
2 )Custom board
3) Yes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-19 12:47 AM
Attach a full log at Verbose 3 level.
Currently looks to have hit a 5 minute timeout​.
​
I​n your own experiments/testing of the BSP, how long does the full chip erase on the OCTOSPI usually take?
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-21 2:43 AM
Attached the complete log file.
Thanks,
Ashok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-21 2:54 AM
Downloaded new version V.2.9.0 still facing the same issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-21 5: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.
>>I​n 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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-21 8:12 AM
for full chip erase it's taking around 3 minutes.
