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 sbernabovi
Visitor
1,346 Views
Registered: ‎03-14-2018

[SOLVED] Programming VCU108 using BPI flash fails

Jump to solution

Good morning,

I decided to ask for some help because I cannot get my VCU108 board programmed using the BPI flash.

I received the board two days ago and the demo test passed as expected.

I read the documentation and the Knowledge base, where I found some useful information.

 

About what I did and what I tried:

1) using Vivado 2017.3

2) I put in my constraint file :

 

set_property BITSTREAM.CONFIG.EXTMASTERCCLK_EN div-1 [current_design]
set_property BITSTREAM.CONFIG.BPI_SYNC_MODE Type1 [current_design]
set_property CONFIG_MODE BPI16 [current_design]
set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design]
set_property CFGBVS GND [current_design]
set_property CONFIG_VOLTAGE 1.8 [current_design]

 

as suggested in the documentation.

I also tried to use Sync_Mode = 2 (synchronous) without compression.

 

3) During programming, I chose the mt28gu01gaax1e-bpi-x16 device, putting unused pins in Pull-none, choosing "RS PINS 25:24". Erase, blanket check, program and verify pass as expected.

 

4) Programming the FPGA directly through JTAG works; when programming from BPI, I get the INIT let red after some time. SW16 is put 00010 for BPI configuration.

 

Did I miss something? Any suggestion?

Thank you very much,

Stefano

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Visitor sbernabovi
Visitor
864 Views
Registered: ‎03-14-2018

Re: Programming VCU108 using BPI flash fails

Jump to solution

Hello, I finally solved the issue generating an MCS file from my bitfile. Using this, the BPI flash works.

 

Nowhere in the documentation this is specified as mandatory, but it should be, because Vivado programs the configuration memory device using the .bin with no problem - but the FPGA doesn't work.

 

Thanks,

Stefano

View solution in original post

0 Kudos
5 Replies
Xilinx Employee
Xilinx Employee
1,273 Views
Registered: ‎08-10-2008

Re: Programming VCU 708 using BPI flash fails

Jump to solution
Check which board you are using? VCU708? I don't see this board.

low INIT_B usually indicates a CRC error, anyhow for Xilinx board this is unlikely to happen. Read out the STAT and check how it reads.

Thanks,
Ivy
------------------------------------------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
---------------------------------------------------------------------------------------------------------
0 Kudos
Visitor sbernabovi
Visitor
1,246 Views
Registered: ‎03-14-2018

Re: Programming VCU108 using BPI flash fails

Jump to solution

I'm so sorry, I misspelled it, I am working with a VCU108.

I read out the status as you suggested. I get:

 

- BOOT_STATUS

BIT00_0_STATUS_VALID1
BIT01_0_FALLBACK1
BIT02_0_INTERNAL_PROG0
BIT03_0_WATCHDOG_TIMEOUT_ERROR0
BIT04_0_ID_ERROR0
BIT05_0_CRC_ERROR0
BIT06_0_WRAP_ERROR1
BIT07_0_SECURITY_ERROR0
BIT08_1_STATUS_VALID1
BIT09_1_FALLBACK0
BIT10_1_INTERNAL_PROG0
BIT11_1_WATCHDOG_TIMEOUT_ERROR0
BIT12_1_ID_ERROR0
BIT13_1_CRC_ERROR0
BIT14_1_WRAP_ERROR1
BIT15_1_SECURITY_ERROR0

 

- CONFIG_STATUS

BIT00_CRC_ERROR0
BIT01_DECRYPTOR_ENABLE0
BIT02_PLL_LOCK_STATUS1
BIT03_DCI_MATCH_STATUS1
BIT04_END_OF_STARTUP_(EOS)_STATUS0
BIT05_GTS_CFG_B_STATUS0
BIT06_GWE_STATUS0
BIT07_GHIGH_STATUS0
BIT08_MODE_PIN_M[0]0
BIT09_MODE_PIN_M[1]1
BIT10_MODE_PIN_M[2]0
BIT11_INIT_B_INTERNAL_SIGNAL_STATUS1
BIT12_INIT_B_PIN0
BIT13_DONE_INTERNAL_SIGNAL_STATUS0
BIT14_DONE_PIN0
BIT15_IDCODE_ERROR0
BIT16_SECURITY_ERROR0
BIT17_SYSTEM_MONITOR_OVER-TEMP_ALARM_STATUS0
BIT18_CFG_STARTUP_STATE_MACHINE_PHASE000
BIT21_SECURITY_STATUS100
BIT24_RESERVED0
BIT25_CFG_BUS_WIDTH_DETECTION10
BIT27_SECURITY_AUTH_ERROR0
BIT28_PUDC_B_PIN1
BIT29_BAD_PACKET_ERROR0
BIT30_CFGBVS_PIN0

 

So apparently there is a wraparound problem during configuration. Since I used compression, normally this is avoided right?

Thanks,

Stefano

0 Kudos
Visitor sbernabovi
Visitor
1,209 Views
Registered: ‎03-14-2018

Re: Programming VCU108 using BPI flash fails

Jump to solution

Nobody to help me?

Thanks,

Stefano

0 Kudos
Moderator
Moderator
1,155 Views
Registered: ‎01-15-2008

Re: Programming VCU108 using BPI flash fails

Jump to solution

Hi Stefano,

 

can you try to restore the flash with the default provided mcs files 

https://www.xilinx.com/member/forms/download/design-license.html?cid=ad25397e-2b58-4197-8df3-af77ba106aec&filename=rdf0329-vcu108-restoring-flash-c-2017-4.zip

 

guide to restore the flash

https://www.xilinx.com/member/forms/download/design-license.html?cid=f6f56dc4-6956-49d5-a482-08c00582e05f&filename=xtp367-vcu108-restoring-flash-c-2017-4.pdf

 

if you hit error, attach the vivado log file which shows the programming status from begining(shows up in vivado console)

 

--Krishna

0 Kudos
Highlighted
Visitor sbernabovi
Visitor
865 Views
Registered: ‎03-14-2018

Re: Programming VCU108 using BPI flash fails

Jump to solution

Hello, I finally solved the issue generating an MCS file from my bitfile. Using this, the BPI flash works.

 

Nowhere in the documentation this is specified as mandatory, but it should be, because Vivado programs the configuration memory device using the .bin with no problem - but the FPGA doesn't work.

 

Thanks,

Stefano

View solution in original post

0 Kudos