Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: Kostas on March 10, 2020, 11:15:40 AM

Title: Programming Flash for TE0711
Post by: Kostas on March 10, 2020, 11:15:40 AM
Hello

Due to a migration to Windows 10, I have to switsh to Vivado 2019.2 for programming the SPI Flash Memory.
I have downloadd the TE0711-test_board-vivado_2017.2-build_05 test resference design files and tried to use the program_flash_mcsfile.cmd
I get the following error:

INFO: [Labtoolstcl 44-466] Opening hw_target localhost:3121/xilinx_tcf/Xilinx/Port_#0001.Hub_#0007
Part Name not found for LAST_ID 0, return default: NA
Part Name not found for LAST_ID 1, return default: NA
Part Name not found for LAST_ID 3, return default: NA
Part Name not found for LAST_ID 4, return default: NA
Board part csv name check: LAST_ID not found on position 2.
No part name found for LAST_ID, use NA
Found ID: 4
WARNING: [TE_PR-0] NA Device not found.
  NA and NA compare with *xc7a100t* failed.
ERROR: [TE_PR-64] Script (TE::VLAB::hw_create_flash_device) failed: ERROR: [Common 17-161] Invalid option value 'NA' specified for 'objects'.
.
ERROR: (TE_PR-64) Script (TE::VLAB::hw_create_flash_device) failed: ERROR: [Common 17-161] Invalid option value 'NA' specified for 'objects'.


Could you help me how to solve this problem?
Would a resference design for Vivado 2019.2 help?

Best regards,
Kostas
Title: Re: Programming Flash for TE0711
Post by: JH on March 10, 2020, 11:31:01 AM
Hi,

this design is for 2017.2 only and does not work with 19.2.

We updating our design at the moment, but I can't tell you any timeline.
What you can do is use only the board part files for your project:
https://wiki.trenz-electronic.de/display/PD/Vivado+Board+Part+Flow

Use also these constrains:
set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design]
set_property BITSTREAM.CONFIG.CONFIGRATE 66 [current_design]
set_property CONFIG_VOLTAGE 3.3 [current_design]
set_property CFGBVS VCCO [current_design]
set_property CONFIG_MODE SPIx4 [current_design]
set_property BITSTREAM.CONFIG.SPI_32BIT_ADDR YES [current_design]
set_property BITSTREAM.CONFIG.SPI_BUSWIDTH 4 [current_design]
set_property BITSTREAM.CONFIG.M1PIN PULLNONE [current_design]
set_property BITSTREAM.CONFIG.M2PIN PULLNONE [current_design]
set_property BITSTREAM.CONFIG.M0PIN PULLNONE [current_design]

set_property BITSTREAM.CONFIG.USR_ACCESS TIMESTAMP [current_design]


For programming use directly Vivado, see Xilinx documentation (open the specified UG document of your Vivado version):
https://wiki.trenz-electronic.de/display/PD/Xilinx+Development+Tools#XilinxDevelopmentTools-XilinxSoftwareProgrammingandDebugging

br
John
Title: Re: Programming Flash for TE0711
Post by: Kostas on March 11, 2020, 10:14:01 AM
Thank you for the answer.
Programming the Flash using Vivado works.
I will wail for the updated design.

Best regards,
Kostas