S25FL512S Becomes unusable during read operation

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
ERBI_1103356
Level 1
Level 1

Hello,

We are using PSoC 6 BT pioneer kit for a product development. We are storing voice and display images to the sflash. No issues with erasing and writing. However, for some absurd reason, during reading the sflash at one point the sflash starting to send garbage data. When we attempt to re-erase, the sflash stays at busy state all the time. Erase operation is never complete. At this point the sflash becomes unusable. We have changed the it several times. Have anybody can tell what might be causing the chip to malfunction?

I appreciate any suggestion

Cheers

0 Likes
5 Replies
RoYo_979511
Level 1
Level 1

When you get the Erase Error, have you tried a HW reset?  I recall reading that once an Erase Error state occurs, a HW reset must be issued in some products.  Does the Erase Busy/Error condition persist after a power cycle?

0 Likes

Unfortunately we tried that many times. POR does not change the situation.

0 Likes
lock attach
Attachments are accessible only for community members.

Hi Erdem,

Thank you for contacting Cypress Community.

I would like to ask you a few questions -

  1. As mentioned in the description, your read operation is giving garbage data, then, how have you confirmed that write and erase operation have completed without any errors? Did you try to capture the SPI waveforms? If yes, can you please share the waveforms with us?
  2. What is the command sequence that you are following? Have you tried to poll the WIP bit after write and erase operation to confirm that these operations are getting completed without any errors?
  3. Did you try reading the device ID? If you are getting the correct device ID, it will confirm that there is no problem in the SPI communication
  4. Are you following any code example or is it a custom made project? Have you tried using our low level driver for serial NOR flash devices? I am attaching the sLLD with my response. Please have a look.
  5. If it is not a problem, could you please share your PSoC project with us?

Regards,

Apurva

0 Likes

Apurva,

Thank you for your message. We built our firmware based on Cypress Example code CE222221_TFT_VoiceRecorder. We are using the very same same functions originally used in that code.

We will have a look at your code. 

Thanks

0 Likes

Hi Erdem,

I tried to test the code example on my end and it works fine. Can you please tell us the exact steps that you have followed for editing the code example so that we can recreate the issue at our end?

Regards,

Apurva

0 Likes