Skip to main content
ab.7
Associate II
February 18, 2022
Question

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

  • February 18, 2022
  • 2 replies
  • 3772 views

..

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
February 18, 2022

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?​

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
ab.7
ab.7Author
Associate II
February 19, 2022

1)Downloaded new version V.2.9.0 still facing the same issue

2 )Custom board

3) Yes

Technical Moderator
February 18, 2022

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

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
ab.7
ab.7Author
Associate II
February 19, 2022

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

Tesla DeLorean
Guru
February 19, 2022

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?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..