Reply
fcm
Visitor
Posts: 3
Registered: ‎12-18-2009

Avnet Xilinx Spartan-3A DSP 1800A using parallel flash to store data

Hello,

i need help...

 

I'm using the board Avnet Xilinx Spartan-3A DSP 1800A, this board as a 16Mx8 parallel flash where i want to store data.

 

I look in the document from Xilinx UG454 (Spartan-3A DSP Starter Platform User Guide), and in the datasheet of parallel flash (Intel® Embedded Flash Memory (J3 v. D)).

 

I made a simple example to write one byte in the flash and read it back, but when i read it, is always (00000000)... i don't know if i'm failing the reading or the writing.

 

I didn't change any jumper, should i?

 

Exist any other document that you advise me to read?

 

Do you have any idea of the problem? Can you make any comment that could probably help me?

 

I'm blocked...

 

Thanks a lot

Regards

 

 

 

Avnet Employee (Star Contributor)
Posts: 471
Registered: ‎04-16-2009

Re: Avnet Xilinx Spartan-3A DSP 1800A using parallel flash to store data

fcm,

 

The first thing to check are some jumper settings.

 

The following jumper determines how the CS# of the two FPGA BPI flash devices are mapped to the FPGA pins.

 

   JP20 => FPGA BPI Flash Select

      1-3, 2-4 : Flash #1 selected as boot device

      1-2, 3-4 : Flash #2 selected as boot device

 

There is also a jumper for write protection on each of the FPGA's BPI flash devices.

 

   JP1 => FPGA BPI Flash #1 Write Protection

      1-2 : Write protection disabled

 

   JP13 => FPGA BPI Flash #2 Write Protection

      1-2 : Write protection disabled 

 

 

Regards,

 

Mario.

fcm
Visitor
Posts: 3
Registered: ‎12-18-2009

Re: Avnet Xilinx Spartan-3A DSP 1800A using parallel flash to store data

Hello Mario,

thanks for you answer.


I thought DaVinci board was equal to mine but just now I realize that is different, my board is Xilinx Spartan 3A DSP 1800A Video Kit: http://www.em.avnet.com/evk/home/0,1719,RID%253D%2526CID%253D51242%2526CAT%253D%2526CCD%253DUSA%2526...

The jumpers in my board are like this:

JP1 – VCC

JP2 – 3.3V

JP3 – 3.3V

JP4 – Both jumpers in vertical

JP5 - Both jumpers in vertical

JP6 - Both jumpers in vertical

JP7 – OPEN

JP8 – OPEN

JP9 – M1 and M2

JP10 - Both jumpers in vertical

JP11 – OFF

 

Are they ok?

 

Thanks

Highlighted
fcm
Visitor
Posts: 3
Registered: ‎12-18-2009

Re: Avnet Xilinx Spartan-3A DSP 1800A using parallel flash to store data

Hello,

i discover now that the problem is with the writting, reading is working fine. I used jtag to write a MCS file to the flash and then i read it...