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: 
Explorer
Explorer
394 Views
Registered: ‎08-31-2016

Disable readback vivado 2018.1

Hi,

I have couple of questions related to readback

1) I have readback the bitstream file programmed from the Flash memory. I'm using Arty Board (Artix35T) here.

Created the arty_test.bin file and then programmed this into Flash Memory. 

Using readback_hw_device [current_hw_device]  -bin_file arty_test.bin , I was able to readback the programmed .bin file from the Flash device. But this readback  file if programmed once again to flash memory/ programmed through JTAG will not work and seems non functional. Why is it so? 

How to confirm that I've readback the file properly?

2) Disable read back doesn't work?

I've applied readback security setting  BITSTREAM.READBACK.SECURITY with value of Level1. But this doesn't seems to work as I was able to readback the .bin file programmed.

What should I do here?

Regards,

Vinay

0 Kudos
7 Replies
Highlighted
Xilinx Employee
Xilinx Employee
361 Views
Registered: ‎08-10-2008

回复: Disable readback vivado 2018.1

1. The command only reads back config data, no config commands included.

2. Check if you successfully applied the setting. Open your implemented design and run 'report_property -all [current_design]', check the security setting. It works only after it has been properly set.

------------------------------------------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
---------------------------------------------------------------------------------------------------------
Explorer
Explorer
351 Views
Registered: ‎08-31-2016

回复: Disable readback vivado 2018.1

Hi @iguo

1) How can I read both config data & config commands? 

Or is there a way to extract vivado bitstream file (.bit) from the Programmed FPGA/ Flash Memory?

2) Below is the report,

open_run: Time (s): cpu = 00:00:22 ; elapsed = 00:00:21 . Memory (MB): peak = 1766.586 ; gain = 866.848
report_property -all [current_design]
Property Type Read-only Value
BITSTREAM.CONFIG.BPI_1ST_READ_CYCLE enum false
BITSTREAM.CONFIG.BPI_PAGE_SIZE enum false
BITSTREAM.CONFIG.BPI_SYNC_MODE enum false
BITSTREAM.CONFIG.CCLKPIN enum false
BITSTREAM.CONFIG.CCLK_TRISTATE enum false
BITSTREAM.CONFIG.CONFIGFALLBACK enum false
BITSTREAM.CONFIG.CONFIGRATE enum false
BITSTREAM.CONFIG.DCIUPDATEMODE enum false
BITSTREAM.CONFIG.DONEPIN enum false
BITSTREAM.CONFIG.EXTMASTERCCLK_EN enum false
BITSTREAM.CONFIG.INITPIN enum false
BITSTREAM.CONFIG.INITSIGNALSERROR enum false
BITSTREAM.CONFIG.M0PIN enum false
BITSTREAM.CONFIG.M1PIN enum false
BITSTREAM.CONFIG.M2PIN enum false
BITSTREAM.CONFIG.NEXT_CONFIG_ADDR hex false
BITSTREAM.CONFIG.NEXT_CONFIG_REBOOT enum false
BITSTREAM.CONFIG.OVERTEMPPOWERDOWN enum false
BITSTREAM.CONFIG.PERSIST enum false
BITSTREAM.CONFIG.PROGPIN enum false
BITSTREAM.CONFIG.REVISIONSELECT enum false
BITSTREAM.CONFIG.REVISIONSELECT_TRISTATE enum false
BITSTREAM.CONFIG.SELECTMAPABORT enum false
BITSTREAM.CONFIG.SPI_32BIT_ADDR enum false
BITSTREAM.CONFIG.SPI_BUSWIDTH enum false
BITSTREAM.CONFIG.SPI_FALL_EDGE enum false
BITSTREAM.CONFIG.TCKPIN enum false
BITSTREAM.CONFIG.TDIPIN enum false
BITSTREAM.CONFIG.TDOPIN enum false
BITSTREAM.CONFIG.TIMER_CFG hex false
BITSTREAM.CONFIG.TIMER_USR hex false
BITSTREAM.CONFIG.TMSPIN enum false
BITSTREAM.CONFIG.UNUSEDPIN enum false
BITSTREAM.CONFIG.USERID hex false
BITSTREAM.CONFIG.USR_ACCESS string false
BITSTREAM.ENCRYPTION.ENCRYPT enum false
BITSTREAM.ENCRYPTION.ENCRYPTKEYSELECT enum false
BITSTREAM.ENCRYPTION.HKEY hex false
BITSTREAM.ENCRYPTION.KEY0 hex false
BITSTREAM.ENCRYPTION.KEYFILE file false
BITSTREAM.ENCRYPTION.STARTCBC hex false
BITSTREAM.GENERAL.COMPRESS enum false
BITSTREAM.GENERAL.CRC enum false
BITSTREAM.GENERAL.DEBUGBITSTREAM enum false
BITSTREAM.GENERAL.DISABLE_JTAG enum false
BITSTREAM.GENERAL.JTAG_XADC enum false
BITSTREAM.GENERAL.PERFRAMECRC enum false
BITSTREAM.GENERAL.XADCENHANCEDLINEARITY enum false
BITSTREAM.GENERAL.XADCPOWERDOWN enum false
BITSTREAM.READBACK.ACTIVERECONFIG enum false
BITSTREAM.READBACK.ICAP_SELECT enum false
BITSTREAM.READBACK.SECURITY enum false LEVEL1
BITSTREAM.READBACK.XADCPARTIALRECONFIG enum false
BITSTREAM.STARTUP.DONEPIPE enum false
BITSTREAM.STARTUP.DONE_CYCLE enum false
BITSTREAM.STARTUP.GTS_CYCLE enum false
BITSTREAM.STARTUP.GWE_CYCLE enum false
BITSTREAM.STARTUP.LCK_CYCLE enum false
BITSTREAM.STARTUP.MATCH_CYCLE enum false
BITSTREAM.STARTUP.STARTUPCLK enum false
BMM_FILE string false
CFGBVS enum false
CLASS string true design
CONFIG_MODE enum false
CONFIG_VOLTAGE enum false
CONSTRSET fileset true constrs_2
DEFAULT_IOSTANDARD string false
HD.ISOLATED bool false
HD.OVERRIDE_PERSIST bool false
HD.PARTITION bool false
HD.RECONFIGURABLE bool false
HD.TANDEM_BITSTREAMS enum false
IS_BLOCK bool true 0
IS_PRSHELL_DESIGN bool true
KEEP_COMPATIBLE string* false
KEEP_HIERARCHY enum false
MLO_VERSION_NUMBER string false 2018.1_AR71203_9
NAME string true impl_1
NEEDS_REFRESH bool true 0
NEEDS_SAVE bool true 0
PART part true xc7a35ticsg324-1L
POST_CRC enum false
POST_CRC_ACTION enum false
POST_CRC_FREQ int* false
POST_CRC_INIT_FLAG enum false
POST_CRC_SOURCE enum false
SPEED_LABEL string true
SPEED_LEVEL_ID string true
SPEED_LEVEL_ID_DATE string true
SRCSET fileset true sources_1
SUSPEND_FILTER string false
TOP string true top
XLNX_PROJ_DIR string false D:/Projects/readback_disable

Please let me know your inputs

Regards,

Vinay

0 Kudos
Explorer
Explorer
349 Views
Registered: ‎08-31-2016

回复: Disable readback vivado 2018.1

These are the settings I had done in the GUI for disabling Readback - Level 1 security

Correct me if I am wrong

 

Readback_disable.PNG
0 Kudos
Xilinx Employee
Xilinx Employee
346 Views
Registered: ‎08-10-2008

回复: Disable readback vivado 2018.1

1. no way.

2. If you set the security setting via GUI, you need to use command to generate a valid bitstream after the setting:

write_bitstream xxxx.bit

------------------------------------------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
---------------------------------------------------------------------------------------------------------
Explorer
Explorer
334 Views
Registered: ‎08-31-2016

回复: Disable readback vivado 2018.1

Hi @iguo

1 ) Ok. I understand this. But, what is the use of reading only config data. How this information will be used?
2) After setting security Via GUI, I regenerate the bitstream through GUI and I believe this will generate bitstream with security settings.

0 Kudos
Explorer
Explorer
256 Views
Registered: ‎08-31-2016

回复: Disable readback vivado 2018.1

Hi @iguo
I've regenerated the bitstream file after the changes in Bitstream settings.
Why do I able to readback the .bin file even after disabling readback in GUI (Level 1 Bitstream Security)?
0 Kudos
Explorer
Explorer
94 Views
Registered: ‎08-31-2016

回复: Disable readback vivado 2018.1

Hi @iguo,
I've applied the LEVEL 1 Readback security. But I am still able to read back the .bin file.
How to comfirm that LEVEL 1 settings are applied?
Regards,
Vinay
0 Kudos