Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Regular Visitor
prashant.hunagund
Posts: 27
Registered: ‎04-02-2012
0

How to program xilinx platfrom flash(XCF128X) using Microblaze(virtex-6) in master BPI mode

Hi,

 

We are using xilinx platform flash(XCF128X) in our application.So, after power on, FPGA gets configured using BPI mode and then we will get another configuration data from ethernet, which should be read and programmed to same flash using microblaze.

The requirement is only one should be kept on flash, so we need to write the newly received code onto flash(from zero location), which configures FPGA after next power on.So my queries are:

1. Can Microblaze use same BPI interface to write onto Flash (i.e in terms of pin assigned etc)

2. Can i get XCF128X driver from xilinx or Is there any other drivers available for this method

Please let me know

Thanks and Regards,

Prashant 

Xilinx Employee
austin
Posts: 3,625
Registered: ‎02-27-2008
0

Re: How to program xilinx platfrom flash(XCF128X) using Microblaze(virtex-6) in master BPI mode

p,

 

One needs to load an "indirect programming design" into the FPGA, so that the FPGA is then able to re-program the flash.

 

Unfortunately, the flash has no JTAG interface, so the only way to ptrogram it in system, is to program it through the FPGA.

 

This is covered for prototyping in the Flash User's Guides.


So, if you put this programming design into your applicaytion, you could enable it when it was appropriate, and re-program the flash.

 

The problem with any such method is what do you do if you are half-way thru, and something goes wrong?  Then, you don't have the old design, and you don't have the new design.


It isn't impossible to solve, but you will need enough local storage to allow for the new design to be completely verified before you start re-programming (or have the old copy, and a new copy you can choose from).

 

 

Austin Lesea
Principal Engineer
Xilinx San Jose
Regular Visitor
prashant.hunagund
Posts: 27
Registered: ‎04-02-2012
0

Re: How to program xilinx platfrom flash(XCF128X) using Microblaze(virtex-6) in master BPI mode

Hi,

Thanks for your support.

Please let me know, where can i get Flash user guide?

Another query is, In BPI-UP mode, on power up, FPGA communication with platform flash is synchronous(i.e uses cclk).Can i use same cclk to write flash using microblaze or writing should be asynchronous using microblaze?please let me know.

 

Thanks and Regards,

Prashant

Xilinx Employee
austin
Posts: 3,625
Registered: ‎02-27-2008
0

Re: How to program xilinx platfrom flash(XCF128X) using Microblaze(virtex-6) in master BPI mode

just google xilinx platform flash...

Austin Lesea
Principal Engineer
Xilinx San Jose