07-11-2017 12:38 AM
facing some problem with Winbond SPI NOR device. While updating FLASH regions, verification of some 4KB region blocks fails . Failure happens at same address on every boot. This failure happens only in Winbond SPI NOR device. With Micron chip verification is success at every region.
We are using 16MB W25Q128FW (ID:0xEF6018) Chip. Failure happens even with 8MB SPI NOR W25Q64DW( ID:0xEF6017). Failure happens at below address
I would like to know how to trace down such issues.
Issue doesn't happens with other projects SPI drivers. Please suggest
07-11-2017 02:34 AM
@nagadineshk Are you using impact to perform the verification? Could you please post the entire log.
07-11-2017 03:27 AM
i see you're tying check why 8MB SPI NOR W25Q64DW is failing at the particular address can you us let know how you're verification address is it through the verification of read write address mode , can you let know hwo you're verification is done .
let us know steps you're using for configuration of 8MB SPI NOR W25Q64DW.
07-11-2017 03:51 AM
To make clear about issue description.
Algorithm is as below,
1. Flash regions will be updated only after comparing data, If data matches update of region will be skipped.
2. if data is not matched , erase the flash region(4K blocks).
3. Write the new data to region. (Byte Program, Write cycle SPI Command)
4. Compare the data ( Read the written data from FLASH using ReadCommand(SPI_READ Opcode), and compare with the original data).
In my case, at regions where it crosses Step1, it fails everytime with winbond device.
@pratham, sorry, i cannot share the log.
The same driver is working correctly for Micron chip.
Do i need to do any additional controller configuration?
07-11-2017 04:39 AM
@nagadineshk If this is the only case with winbond then worth checking the datasheet of flash and confirm the procedure,
What is the FPGA are you using and is it a custom driver?
07-11-2017 04:49 AM
07-11-2017 05:12 AM
07-11-2017 05:16 AM
So basically in verification environment you're scoreboard is getting failed due to mismatch of the data at the particular address if i am wrong please correct me
07-11-2017 05:20 AM