2023-03-07 03:05 AM
Hello,
I always get a Data mismatch error... what can I do?
I already tried to erase external QSPI flash, but without success :-(...
Thank you
2023-03-07 04:00 AM
What board and chips are we taking about here, provide some context.
Would suggest an issue with the External Loader or board implementation.
2023-03-07 04:15 AM
Hello,
W25Q64 Flash, board should be ok because at the beginning I could run some code.
How to erase external Flash? It does not work with Cube-Programmer, or it does not look empty...
see:
2023-03-07 04:21 AM
You'd need to click READ button again, perhaps with less length to reduce time, as this won't auto-refresh.
A mismatch suggests the write or prior erase failed. At a bit level perhaps bus integrity or timing.
2023-03-07 04:51 AM
I get the message that erase was successful, but it does not look empty, why this, see image below?
2023-03-07 05:24 AM
I use your loader, it looks read works but not write...
2023-03-07 05:31 AM
The erase pattern for flash is typically 0xFF, not zero
>>I use your loader..
I've written a few, can we narrow that down a bit?
>>It looks read works but not write
If you re-read the data after the Erase, then it's looking like the erase is failing or ending early.
If you've used Micron or Macronix loaders or BSP on these, it's possible that blocks may be protected or locked, such that the erase/write fail on them.
2023-03-07 05:45 AM
I'm working with these ones, see above...
I don't know what I have done, but maybe there is really something protected or locked ?
How this can happen, and how can undo this?
2023-03-07 05:53 AM
I click full chip erase at external flash and I don't get any error message, but memory still looks not empty. I also cannot fill anything...
2023-03-07 06:16 AM
Those seem contemporaneous with the last time I worked on them.
I will need to fixture some devices and check what's going on.
Are you sure you're erasing the external part? The UI is a bit clumsy.
Also get some logging data, with the Verbose Level set to 3, the mass erase can take several minutes on some devices depending on the size.