Quad SPI FLASH memory problems

N

niv

Guest
Has anyone tried the Spansion s25fl series of FLASH memories with Quad SPI interface?
I've downloaded their VHDL model, but can't get it to talk. I've written some very simple code to read a few addresses using just single SPI mode, but I get nothing back, and all looks OK in the wave view for the read cycle (command X"03"). I can see my initialisation data correct in the FLASH array, but just can't get the model to work, (or create an SDF file with their tools)!
Has anyone had any luck with this model? (I've used an s29... FLASH successful in the past, but that's standard FLASH with addr & data busses etc).
Any hints/help welcome.
 
niv wrote:
Has anyone tried the Spansion s25fl series of FLASH memories with Quad SPI interface?
I've downloaded their VHDL model, but can't get it to talk. I've written some very simple code to read a few addresses using just single SPI mode, but I get nothing back, and all looks OK in the wave view for the read cycle (command X"03"). I can see my initialisation data correct in the FLASH array, but just can't get the model to work, (or create an SDF file with their tools)!
Has anyone had any luck with this model? (I've used an s29... FLASH successful in the past, but that's standard FLASH with addr & data busses etc).
Any hints/help welcome.

What are you seeing on the data output? Is it "X" or "U"?
Usually the models for these parts allow you to define the
contents of the flash memory cells, but it's possible that
they start up undefined by default if your model doesn't
write them first.

--
Gabor
 
I have initialised the memory, I can see the values in the array after "running" for 0 ps. However, the output of the memory on the SPI line remains at 'H', not the data value(s) I'm expecting when reading.
 
On Friday, March 27, 2015 at 12:21:35 PM UTC+3, niv wrote:
Has anyone tried the Spansion s25fl series of FLASH memories with Quad SPI interface?
I've downloaded their VHDL model, but can't get it to talk. I've written some very simple code to read a few addresses using just single SPI mode, but I get nothing back, and all looks OK in the wave view for the read cycle (command X"03"). I can see my initialisation data correct in the FLASH array, but just can't get the model to work, (or create an SDF file with their tools)!
Has anyone had any luck with this model? (I've used an s29... FLASH successful in the past, but that's standard FLASH with addr & data busses etc).
Any hints/help welcome.

--------------------------------------------------------
You may want to look on this work, which uses samsung flash
"The existing SD slave project was extended recently to support a Samsung flash instead of the XILINX ROM components, which are used in the free version of the code.

The new design uses a FIFO, build up of XILINX dual port RAM components, in both the direction of SD read from flash and SD write to flash.
It was written in VHDL both design and test-bench..."
http://bknpk.ddns.net/my_web/SDIO/sd_to_flash_write.html
 
Thanks for trying to help, but that's not the issue. I have written interfaces to FLASH memory (with address & data lines etc) quite successfully, it's the new Quad SPI version I cannot get to respond to my, so far very simple, commands. The stimulus into the SPI in looks as per FLASH data sheet, but I get not response on the SPI out pin of the FLASH.
What I really need is example VHDL code of driving a QSPI FLASH. It may be the model is not working because I don't have an sdf for it yet, but I expected it to work, albeit without the expected access delays.
 

Welcome to EDABoard.com

Sponsor

Back
Top