Author Topic: Problem with QSPI boot after power on reset.  (Read 539 times)

Shantaram

  • Active Member
  • *
  • Posts: 5
Problem with QSPI boot after power on reset.
« 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
« Last Edit: April 11, 2022, 08:23:38 AM by Shantaram »

JH

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1969
Re: Problem with QSPI boot after power on reset.
« Reply #1 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

Shantaram

  • Active Member
  • *
  • Posts: 5
Re: Problem with QSPI boot after power on reset.
« Reply #2 on: April 12, 2022, 11:32:00 AM »
Hi John,

Thanks for reply.

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