News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

Artix Flash memory programming failed when FPGA is programmed

Started by pklasa, March 26, 2019, 04:01:39 PM

Previous topic - Next topic

pklasa

Hey,

I'm using Trenz board (TE0710-02-35-2IF) with Artix-7 35T and S25FL256SAGBHI20 flash memory

The device properties looks like below:

set_property BITSTREAM.CONFIG.UNUSEDPIN PULLDOWN [current_design]

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 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]

set_property C_CLK_INPUT_FREQ_HZ 300000000 [get_debug_cores dbg_hub]
set_property C_ENABLE_CLK_DIVIDER false [get_debug_cores dbg_hub]
set_property C_USER_SCAN_CHAIN 1 [get_debug_cores dbg_hub]
connect_debug_port dbg_hub/clk [get_nets clk]



When FPGA is not programmed I'm able to program flash memory, but when the FPGA is programmed and I'm trying to program flash I get response:

Quote[Labtools 27-2251] Unable to read device properties. Please make sure that the proper configuration memory part is selected.
On Trenz board pins M0 = 1 , M1 = 0 , M2 = 0 (connected to vcc or gnd)

JH

Hi,
can you try out the prebuilt mcs from the reference design:
https://wiki.trenz-electronic.de/display/PD/TE0710+Test+Board

basic constrain file:
https://wiki.trenz-electronic.de/display/PD/TE0710+Test+Board#TE0710TestBoard-Basicmoduleconstrains

flash type which must be used in Vivado/SDK for the different assembly options is included into the board file csv:
test_board\board_files\TE0710_board_files.csv
--> should be s25fl256sxxxxxx0-spi-x1_x2_x4

br
John

pklasa

Hi, 

Thanks for answer ;) 

We had unconnected PROG_B pin and that was the problem. Now everything works fine ;)