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: 
Visitor nishanth@7
Visitor
2,215 Views
Registered: ‎11-27-2017

Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution

Hi All,

 

I have downloaded the .HEX succesfully in ISIS flash IC IS25LP128, but the program is not booted from the flash. I could not find any threads for loading .HEX in flash. I am suspecting .HEX file will not run from flash.My questions are,

Is Anyone have the .tcl for loading the .bit/.mcs files to flash the IS25LP128 flash IC? (or)

Is that possible to run the .HEX file from the flash?

 

Hope for the solutions.

 

Nishanth.

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Xilinx Employee
Xilinx Employee
2,532 Views
Registered: ‎01-10-2012

Re: Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution

Hi nishanth@7

 

I dont see any issue with your HEX file.

How did you generate the bit file ? Did you use the SPIx1 Bitstream settings ? i don't think you did.

 

Get a read on the configuration status register, you should be able to see the status.

If not share the Vivado  GUI capture along with the log.

 

0 Kudos
23 Replies
Xilinx Employee
Xilinx Employee
2,193 Views
Registered: ‎01-10-2012

Re: Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution

Hi nishanth@7

 

 Is the Flash  listed  in UG908 for the FPGA you are using ? If not then Xilinx has not tested or verified it.

That said if the flash you are using supports the Read commands documented in configuration user guide then most likely it should  work. So check the Flash data sheet and configuration user guide.

The other thing you should check is if the HEX data you are using is in the accepatable  format i.e  is it in same order as the FPGA would expect the data for configuration, if not you need to format the HEX data in a manner expected by FPGA and program your Flash.

BTW why don't you just use the BIN format generated by Vivado to program your Flash ? That should avoid issues with formatting of the data.

Visitor nishanth@7
Visitor
2,168 Views
Registered: ‎11-27-2017

Re: Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution

Hi Gurupra,

 

Thank you for your reply.

 

IS25P128 is not listed in UG908, but mentioned as known to work in xilinx website(Link). We are using .tcl file to program the flash that .tcl file only supports .HEX format to program (I have attached .tcl file we are using). We are still have the doubt on HEX data is in the accepatable  format for configuration.

 

Do you have any .tcl file to program .BIN format to flash memory?

 

Thank you,

Nishanth.

0 Kudos
Moderator
Moderator
2,159 Views
Registered: ‎04-12-2017

Re: Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution

Hello nishanth@7,

 

ISSI flashes are not officially supported by Xilinx VIVADO tool.

So you cannot use VIVADO design tool to program the ISSI flash.

 

Can you please confirm which Xilinx device series you are working on ?

Thank you.

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Visitor nishanth@7
Visitor
2,154 Views
Registered: ‎11-27-2017

Re: Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution

Hi kvasantr,

 

Thank you for the reply.

 

Yes, you are correct but the ISIS flash ICs are known to work by Xilinx. We are using a .tcl file to program .HEX file in to the flash and we are using  Artix-7 FPGA (XC7A15T).

 

Our problem is downloaded .HEX file is not running from the flash.

 

Thank you,

 

Nishanth.

0 Kudos
Visitor nishanth@7
Visitor
2,130 Views
Registered: ‎11-27-2017

Re: Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution

Looking for the help @kvasantr @gurupra.

0 Kudos
Xilinx Employee
Xilinx Employee
2,128 Views
Registered: ‎01-10-2012

Re: Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution

Hi nishanth@7

 

Can you elaborate how your Hex file is generated and what write commands are you using from the attached tcl?

Is your flash i/f  x1 or x4 ?

 

0 Kudos
Moderator
Moderator
2,122 Views
Registered: ‎01-15-2008

Re: Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution

Also can you share the status registers of the fpga when configuration fails. you can capture them in the vivado programmer after the configuration failure from spi flash

0 Kudos
Xilinx Employee
Xilinx Employee
2,118 Views
Registered: ‎01-10-2012

Re: Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution

Hi nishanth@7

 

From where did you get the attached xspi_utility.tcl ? Looks to me its Xilinx internal utility made to address some specific Flash tests.

The official Write to Flash supported is via Vivado H/W manager, if its not supported you need to come up with your solution (Ex; Use 3rd party writer) 

 

 

Moderator
Moderator
2,105 Views
Registered: ‎04-12-2017

Re: Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution

Hello nishanth@7,

 

As said earlier Vivado will not officially support this flash and there is no known workaround to add flashes in the support list.

The only way as suggested by other users is the 3rd party flash programmers.

 

You can externally program the flash using tools other than Xilinx and then use it in your current setup along with Xilinx Device.

You can use the Hex file generated from Xilinx tools to program the flash.

Even though this flash is known to work with Xilinx devices; we have not tested it officially along with the above workaround.

 

Thank you.

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Visitor nishanth@7
Visitor
1,919 Views
Registered: ‎11-27-2017

Re: Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution

Hi @gurupra,

 

We are generated .HEX file using command

 

write_cfgmem  -format hex -size 128 -interface SPIx1 -loadbit {up 0x00000000 "filename.bit" }  -file "output.hex"

 

and the write command used from the .tcl file is

xspi_prog_data  output.hex

 

our flash i/f is x1.  looking for the solution.

 

Thank you.

0 Kudos
Visitor nishanth@7
Visitor
1,915 Views
Registered: ‎11-27-2017

Re: Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution

Hi @gurupra

 

This xspi_utility.tcl is available at

 

https://forums.xilinx.com/xlnx/attachments/xlnx/Vivado/.../1/xspi_utility_v02_tcl.txt

 

Thank you,

Nishanth.

0 Kudos
Xilinx Employee
Xilinx Employee
1,909 Views
Registered: ‎01-10-2012

Re: Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution

Hi nishanth@7

 

Iam not sure how the xspi utility got into forums.

I can only tell you that the HEX fie you are generating doesn't seem to have any problem.

 

For now all i can say is you need to work with what you have or come up with some other method to program the flash.

0 Kudos
Visitor nishanth@7
Visitor
1,907 Views
Registered: ‎11-27-2017

Re: Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution

Thank you for the reply @gurupra.

 

Is it possible to run .HEX file from flash?

 

because I never found any threads related to run .HEX from flash.

0 Kudos
Xilinx Employee
Xilinx Employee
1,905 Views
Registered: ‎01-10-2012

Re: Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution

Hi nishanth@7

 

There is no restriction per say to use  in HEX format, the only requirement is that it adheres to the format of data order expected by FPGA.  Though .mcs & .bin are the ones that used predominantly. 

0 Kudos
Visitor nishanth@7
Visitor
1,903 Views
Registered: ‎11-27-2017

Re: Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution
xspi_utility.tcl file only supports .HEX file to program the flash.
If you have any .tcl file to flash .mcs or .bit format to unknown flash ICs, Could you share it?
0 Kudos
Xilinx Employee
Xilinx Employee
1,888 Views
Registered: ‎01-10-2012

Re: Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution

Hi nishanth@7

 

As i said earlier the xspi_utility was internal script not sure how it got into forums.

So i cant talk much about it.

 

All i can say is officially Vivado HW manager is the tool you should be using. Incase you need to program  and use Flash not supported by Vivado H/W manager you should come up with your own solution or relay on 3rd party Flash programmers.

 

Try referring to one of  the Xapps to program the flash !

https://www.xilinx.com/support/documentation/application_notes/xapp1280-us-post-cnfg-flash-startupe3.pdf

https://www.xilinx.com/support/documentation/application_notes/xapp1081-quickboot-remote-update.pdf

 

 

 

 

0 Kudos
Visitor nishanth@7
Visitor
1,876 Views
Registered: ‎11-27-2017

Re: Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution
Thank you for the reply.

By using xspi_utility.tcl, we have successfully downloaded the .HEX file into the flash memory. But the downloaded .HEX file is not running from the flash.
What would be the reason for it? Any solutions to debug the .HEX file?
0 Kudos
Xilinx Employee
Xilinx Employee
1,869 Views
Registered: ‎01-10-2012

Re: Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution

Hi nishanth@7

 

Avoiding discussion on the xspi utility.

 

Few things you can do to debug.

 

1. Can you verify that the data is correctly programmed into Flash?

2. What is the config status register values when the config fails?

3. Have you probed the SPI signals to check if at least the initial sync word is getting through from flash

 

0 Kudos
Visitor nishanth@7
Visitor
1,852 Views
Registered: ‎11-27-2017

Re: Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution

Hi @gurupra,

 

1) Yes, I verifed the data by readback command.

2) The configuration registers could not be readable after programming the .HEX into flash.

3) Yes, I have probed the SPI signals to check if at least the initial sync word is getting through from flash.

 

Thank you,

Nishanth.

 

 

0 Kudos
Xilinx Employee
Xilinx Employee
1,486 Views
Registered: ‎01-10-2012

Re: Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution

Hi nishanth@7

OK ! Agreed on 1 & 3

 

I cant understand 2, why cant you read the config status register (of FPGA) from Vivado H/W manger? How is that the programming HEX to your Flash limits you from reading the status register?

 

Can you share the HEX file you are using along with bit file you have for your FPGA ?

 

0 Kudos
Visitor nishanth@7
Visitor
1,477 Views
Registered: ‎11-27-2017

Re: Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution

Yes @gurupra,

 

I have attached both .bit and .hex files.

 

Thank you,

 

Nishanth.

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
2,533 Views
Registered: ‎01-10-2012

Re: Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution

Hi nishanth@7

 

I dont see any issue with your HEX file.

How did you generate the bit file ? Did you use the SPIx1 Bitstream settings ? i don't think you did.

 

Get a read on the configuration status register, you should be able to see the status.

If not share the Vivado  GUI capture along with the log.

 

0 Kudos
Visitor nishanth@7
Visitor
1,454 Views
Registered: ‎11-27-2017

Re: Flashing IS25LP128 IC using Vivado 2017.2

Jump to solution

Hi @gurupra,

 

Thank you for the replies. I have run the basic vhdl code in the flash and configuring microblaze is only not possible.

This is enough for my application.

Regards,

Nishanth. 

0 Kudos