Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: Shantaram on April 11, 2022, 08:04:14 AM

Title: Problem with QSPI boot after power on reset.
Post by: Shantaram on April 11, 2022, 08:04:14 AM
Hello folks,

Board:- TE0714-03
Part No: xc7a50tcsg325-2
Vitis Ver. 2019.2
QSPI Flash: Micron (mt25qu128)


I have generated BIN file which included Bitstream and SREC SPI bootloader.
The elf file( ELF to bootable SREC format) store in some offset location on QSPI.

After reboot the board bitstream is loaded and program stucked at SPI SREC bootloader. Getting  SREC SPI Bootloader message on terminal. but when I reset the system manually its working.
While debugging we understood, after power-on-reset its not recognizing the QSPI flash, getting manufacturing id is 0, And device code is FFFF or 0000. But when I manually reset the board its working( Manufacturing ID= 20 and device code =BB18).
We want to system works with POR not manually reset.

Thanks in advance
Title: Re: Problem with QSPI boot after power on reset.
Post by: JH on April 12, 2022, 08:57:33 AM
Hi,
you must modify Xilinx srec bootloader(was was some bug on this boot loader and we could fix it with some reinitialisation on start),
for modification see 19.2 design source code of TE0712 design:
https://shop.trenz-electronic.de/de/Download/?path=Trenz_Electronic/Modules_and_Module_Carriers/4x5/TE0712/Reference_Design/2019.2/test_board

or you try this boot loader which we use on the 21.2 version:
https://wiki.trenz-electronic.de/display/PD/TE0712+Test+Board#TE0712TestBoard-spi_bootloader.1
https://shop.trenz-electronic.de/de/Download/?path=Trenz_Electronic/Modules_and_Module_Carriers/4x5/TE0712/Reference_Design/2021.2/test_board
it's much faster than srec
br
John
Title: Re: Problem with QSPI boot after power on reset.
Post by: Shantaram on April 12, 2022, 11:32:00 AM
Hi John,

Thanks for reply.

I tested the bootloader and its working fine. Thank you.

Title: Re: Problem with QSPI boot after power on reset.
Post by: Trensica on July 14, 2023, 05:32:40 AM
I also have the same issue. I find the best answer until I read your post. The SREC SPI bootloader is better than others.