cancel
Showing results for 
Search instead for 
Did you mean: 

Data mismatch found at address 0x90003AAE (byte = 0xDB instead of 0xBB)

pk84
Senior

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

13 REPLIES 13

What board and chips are we taking about here, provide some context.

W​ould suggest an issue with the External Loader or board implementation.

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

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:

0693W00000aINWoQAO.png 

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.

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

I get the message that erase was successful, but it does not look empty, why this, see image below?

0693W00000aINh8QAG.png

pk84
Senior

0693W00000aINsQQAW.png 

I use your loader, it looks read works but not write...

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.

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

0693W00000aINrOQAW.pngI'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?

pk84
Senior

0693W00000aIO2BQAW.png 

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...

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.

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