Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: ebalcisoy on January 16, 2020, 02:04:23 PM

Title: TE0741 programming with qspi flash memory problem
Post by: ebalcisoy on January 16, 2020, 02:04:23 PM
Hello,

i want to program te0741 board using S25FL256S flash memory, but i didnt realize it. First of all, i combined .elf file and .bit file using SDK and then generated configuration memory and programmed flash succesfully. But, when i boot fpga from configuration memory device, vivado 2016.4 gave error for this operation("Booting from configuration memory device unsuccessfull"). I wrote some constraint command and share them at the below.

set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design]
set_property BITSTREAM.CONFIG.CONFIGRATE 66 [current_design]
set_property BITSTREAM.CONFIG.EXTMASTERCCLK_EN DIV-1 [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.PROGPIN PULLUP [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.SPI_FALL_EDGE YES [current_design]
set_property BITSTREAM.CONFIG.USR_ACCESS TIMESTAMP [current_design]
set_property BITSTREAM.CONFIG.UNUSEDPIN PULLDOWN [current_design]

So, how to solve this problem? I would appreciate if you help.

Best regards.
Title: Re: TE0741 programming with qspi flash memory problem
Post by: JH on January 17, 2020, 01:01:28 PM
Hi,

either you write to support@trenz-electronic.de or to the forum, please not both together.


We also provide reference design with prebuilt boot files:

https://wiki.trenz-electronic.de/display/PD/TE0741+Test+Board

Can you try out the prebuilt mcs files for your assembly version from this project.?

See also my answers from the support email.

br
John