UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Mentor hgleamon1
Mentor
10,612 Views
Registered: ‎11-14-2011

Spartan 6 SPI Flash post-configuration use

Jump to solution

Hello,

 

Having looked through XAPP951, XAPP1020 and UG380, I'm not sure that I fully understand that an SPI Flash (probably going to be a Spansion S25FL032P) can be used as User Storage post-configuration WITHOUT having to instantiate a STARTUP primitive (like in Virtex-5) or provide secondary lines to the Flash device (probably needing some tristating arrangement and various pullups).

 

So, my question is, can I connect the SPI Flash to the FPGA as suggested by UG380 for master serial configuration and then, in the .ucf, connect the outputs from an XPS SPI IP to the requisite pins (MOSI, DIN, CSO_B, CCLK as user i/o) to drive the Flash after configuration?

 

Diagram attached for clarification.

 

Thanks in advance.

 

Howard

 

----------
"That which we must learn to do, we learn by doing." - Aristotle
spi.jpg
0 Kudos
1 Solution

Accepted Solutions
Adventurer
Adventurer
12,358 Views
Registered: ‎11-06-2011

Re: Spartan 6 SPI Flash post-configuration use

Jump to solution
Hi Howard,
I have this working, so I can say this absolutely works with Spartan 6, there is no need for additional primitives.
Bill
0 Kudos
4 Replies
Adventurer
Adventurer
12,359 Views
Registered: ‎11-06-2011

Re: Spartan 6 SPI Flash post-configuration use

Jump to solution
Hi Howard,
I have this working, so I can say this absolutely works with Spartan 6, there is no need for additional primitives.
Bill
0 Kudos
Mentor hgleamon1
Mentor
10,586 Views
Registered: ‎11-14-2011

Re: Spartan 6 SPI Flash post-configuration use

Jump to solution

Good news. Thanks Bill.

 

Regards,

 

Howard

 

----------
"That which we must learn to do, we learn by doing." - Aristotle
0 Kudos
Visitor x99699
Visitor
9,516 Views
Registered: ‎08-28-2012

Re: Spartan 6 SPI Flash post-configuration use

Jump to solution

Hi,

 

By assuming the SPI FLASH can be used as User Storage post-configuration, I guess I can also drive the Flash after configuration to OVERWRITE the current configuration ?

 

Actually, I would like to have "Post-Configuration Access" to the SPI FLASH (like described in XAPP1020 for Virtex-5 : http://www.xilinx.com/support/documentation/application_notes/xapp1020.pdf) to update the configuration Flash memory remotely over ethernet. Anyone experimented that with SPartan-6 ? Any help would be most welcome !

 

 

0 Kudos
Mentor hgleamon1
Mentor
9,507 Views
Registered: ‎11-14-2011

Re: Spartan 6 SPI Flash post-configuration use

Jump to solution

You should probably have started a new thread, referencing this one, as this is marked as solved. However, a quick answer - I have used both multiboot and post-config access to the flash to write new config data to different areas of the memory for remote updating. It works.

 

Start a new thread if you something specific to ask.

 

Regards,

 

Howard

 

----------
"That which we must learn to do, we learn by doing." - Aristotle
0 Kudos