- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
here is the SPI flash memory used in my design: Microchip SST26WF040B
From datasheet:
PP Page Program 02H
Read Read Memory 03H
RDSR Read Status Register 05H
WREN Write Enable 06H
BE11 Erase 64, 32 or 8 KBytes of Memory Array D8H
I cannot write into the memory (but I could write into an other device with the same hardware configuration: Windbond W25X40CL)
Thanks for your comments,
Nico
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
First of all, the microchip memory has a different memory structure with variable block size. So you cannot use Cypress Control Center without modifying the UsbFlashProg
You also need to set the Write Block protection (42h cmd) to null prior to erase any block on the SPi Flash.
You can read each block status using the 72h command to verify each block status.
I also found out that switching SPI mode 0 to 3 was not well supported by the SPI flash. So try to keep a coherent SPI mode from boot to prog.
Hope it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I see a difference between the operating voltage between both the SPI flash part numbers. Microchip flash works at 1.8 V while Winbond flash works at 2.5/3/3.3 V. What voltage supply are you using to the flash as well as SPI voltage domain of FX3/CX3?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
thanks for the reply.
The Power domain of the spi bus for the CX3 (VDDIO3) is matching the spi memory (1.8V)
I am wondering if for any reason this memory is not supported by the CX3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I looked into the parameters and they all look fine. From the high level inspection of the datasheet, I do not see a reason why it should not work. Please verify whether the interface is fine and commands other than write are working fine. Please verify your schematic too from Section 8.4 and 8.5 of the Hardware Design Guidelines Application note - www.cypress.com/AN70707.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
First of all, the microchip memory has a different memory structure with variable block size. So you cannot use Cypress Control Center without modifying the UsbFlashProg
You also need to set the Write Block protection (42h cmd) to null prior to erase any block on the SPi Flash.
You can read each block status using the 72h command to verify each block status.
I also found out that switching SPI mode 0 to 3 was not well supported by the SPI flash. So try to keep a coherent SPI mode from boot to prog.
Hope it helps.