Skip to main content
pk84
Associate III
March 7, 2023
Question

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

  • March 7, 2023
  • 6 replies
  • 2947 views

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

This topic has been closed for replies.

6 replies

Tesla DeLorean
Guru
March 7, 2023

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 VenmoUp vote any posts that you find helpful, it shows what's working..
pk84
pk84Author
Associate III
March 7, 2023

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 

Tesla DeLorean
Guru
March 7, 2023

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 VenmoUp vote any posts that you find helpful, it shows what's working..
pk84
pk84Author
Associate III
March 7, 2023

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

0693W00000aINh8QAG.png

pk84
pk84Author
Associate III
March 7, 2023

0693W00000aINsQQAW.png 

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

Tesla DeLorean
Guru
March 7, 2023

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 VenmoUp vote any posts that you find helpful, it shows what's working..
pk84
pk84Author
Associate III
March 7, 2023

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?

Tesla DeLorean
Guru
March 7, 2023

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 VenmoUp vote any posts that you find helpful, it shows what's working..
pk84
pk84Author
Associate III
March 7, 2023

I always have selected external memory (0x90000000), see attached logfile...

pk84
pk84Author
Associate III
March 7, 2023

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