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: 
Highlighted
11,682 Views
Registered: ‎10-25-2009

How to fasten spi flash programminging time

Jump to solution

Just like title shows, How to fasten spi flash programminging time?

 

I knew when generate bitsteam file, we can add

 

set_property BITSTREAM.CONFIG.CONFIGRATE 40 [current_design]
set_property C_USER_SCAN_CHAIN 1 [get_debug_cores dbg_hub]

 

in xdc file, then JTAG programming rate will be higher.

 

But this method seems have no effect on spi flash programming stage.

 

Thanks

0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
19,150 Views
Registered: ‎07-31-2012

Re: How to fasten spi flash programminging time

Jump to solution

Hi,

 

Yes the xdc constraint which you have given is the one to increase the config rate. Firstly make sure this constraint is being applied correctly in the design (withhout any errors and warnings).

 

This constraint should definitely change the CCLK timinig which is driving the SPI flash and hence improve timing. Probe the CCLK and see if it is changed as per the config rate.

 

In any case, you can also increase the config rate by further increasing the CCLK using the EMCCLK pin on the FPGA. The clock which you drive using the EMCCLK will be the new CCLK clock. Read through teh config user guide Pg 24 for more information on EMCCLK - http://www.xilinx.com/support/documentation/user_guides/ug470_7Series_Config.pdf

Thanks,
Anirudh

PS: Please MARK this as an answer in case it helped resolve your query.Give kudos in case the post guided you to a solution.

View solution in original post

8 Replies
Moderator
Moderator
11,677 Views
Registered: ‎01-15-2008

Re: How to fasten spi flash programminging time

Jump to solution

can you increase the cable speed.

CCLK will come into picture during the configuration of the FPGA from SPI flash.

 

--Krishna

 

Xilinx Employee
Xilinx Employee
19,151 Views
Registered: ‎07-31-2012

Re: How to fasten spi flash programminging time

Jump to solution

Hi,

 

Yes the xdc constraint which you have given is the one to increase the config rate. Firstly make sure this constraint is being applied correctly in the design (withhout any errors and warnings).

 

This constraint should definitely change the CCLK timinig which is driving the SPI flash and hence improve timing. Probe the CCLK and see if it is changed as per the config rate.

 

In any case, you can also increase the config rate by further increasing the CCLK using the EMCCLK pin on the FPGA. The clock which you drive using the EMCCLK will be the new CCLK clock. Read through teh config user guide Pg 24 for more information on EMCCLK - http://www.xilinx.com/support/documentation/user_guides/ug470_7Series_Config.pdf

Thanks,
Anirudh

PS: Please MARK this as an answer in case it helped resolve your query.Give kudos in case the post guided you to a solution.

View solution in original post

Community Manager
Community Manager
11,672 Views
Registered: ‎07-23-2012

Re: How to fasten spi flash programminging time

Jump to solution
Hi Jenny,

You don''t have much control over the SPI programming time because it is controlled by the .cor file.

The .cor file configures the fpga to program the SPI flash in indirect programming mode.

Why are you worried about the SPI programming time through impact?

In production, users would tend to go for external programmers (direct SPI programming) which takes relatively less time when compared to programming time in impact.

If you are not using the latest version of the tool, then its worth trying the latest version to see if there is an improvement in the programming time or not.

Regards,
Krishna
-----------------------------------------------------------------------------------------------
Please mark the post as "Accept as solution" if the information provided answers your query/resolves your issue.

Give Kudos to a post which you think is helpful.
11,670 Views
Registered: ‎10-25-2009

Re: How to fasten spi flash programminging time

Jump to solution

Hi smarell,

Beacause the programming time usually be more than 40mins, it is a little long.

 

How to use direct SPI programming?

 

our Impact version is 14.7, it is the newest one.

 

Thanks

0 Kudos
Xilinx Employee
Xilinx Employee
11,666 Views
Registered: ‎07-31-2012

Re: How to fasten spi flash programminging time

Jump to solution

Hi Jenny,

 

Direct SPI  programming is not possible with IMPACT. Mostly the indirect programming is used for evaluation purposes.

 

You will have to choose some 3rd party programmers to do this. Here is the list of few supported 3rd party programmers. http://www.xilinx.com/support/programr/dev_sup.htm

 

 

Thanks,
Anirudh

PS: Please MARK this as an answer in case it helped resolve your query.Give kudos in case the post guided you to a solution.
11,662 Views
Registered: ‎10-25-2009

Re: How to fasten spi flash programminging time

Jump to solution

Hi athandr,

 

From ISE11 version befor, the imPact has the choice of Direct SPI Flash.

 

If I can use the old imPact version load v7 mcs file?

 

Thanks

0 Kudos
Xilinx Employee
Xilinx Employee
11,660 Views
Registered: ‎07-31-2012

Re: How to fasten spi flash programminging time

Jump to solution

Hi Jenny,

 

The direct SPI programming was possible prior to ISE 12.1.

 

In direct SPI programming method, the programming cable is connected to the SPI interface directly, as shown in Figure 4-1 and 4-2 in the Spartan-3 Configuration User Guide (UG332):
http://www.xilinx.com/support/documentation/user_guides/ug332.pdf

 
You can use iMPACT 8.2i to 11.4, to program STMicro and Atmel SPI Flashes.

Thanks,
Anirudh

PS: Please MARK this as an answer in case it helped resolve your query.Give kudos in case the post guided you to a solution.
0 Kudos
Community Manager
Community Manager
11,654 Views
Registered: ‎07-23-2012

Re: How to fasten spi flash programminging time

Jump to solution
Hi Jenny,

The .mcs is a standard and if you have the generated .mcs file, then you can definitely program the SPI flash in direct programming mode in Impact 11.5 or earlier versions.

Refer to the documentation provided by Anirudh for more help.

Regards,
Krishna
-----------------------------------------------------------------------------------------------
Please mark the post as "Accept as solution" if the information provided answers your query/resolves your issue.

Give Kudos to a post which you think is helpful.
0 Kudos