Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: aliverud on April 26, 2023, 01:46:12 PM

Title: Setting TE0715 in JTAG mode to program QSPI FLASH
Post by: aliverud on April 26, 2023, 01:46:12 PM
I am trying to set a TE0715-04 on a TE0701-06 carrier board to boot a sample program from the QSPI FLASH.
However I am not able to program the QSPI FLASH as I cannot set boot mode to JTAG as required by "Xilinx Program Flash".
I have tried to change the boot mode in a petalinux console (i2cset -y 0 0x20 0x1 0x91 as described here: https://wiki.trenz-electronic.de/display/PD/TE0715+CPLD )
This fails as the TE0715 CPLD firmware needs to be updated (?). I have tried to update the firmware as described here:
https://wiki.trenz-electronic.de/display/PD/TE0715+CPLD+Firmware
However CPDL upgrade fails due to an too old carrier board (TE0701-06) if I understand this correctly. Also, the updated CPDL firmware is only available for the rev. 5 of the TE0715 board from what I understand, I have TE0715 rev. 04 board.

Is it possible to configure this revision of boards to boot and run from QSPI FLASH? If so, please advice on how to proceed?
Title: Re: Setting TE0715 in JTAG mode to program QSPI FLASH
Post by: JH on May 08, 2023, 07:20:20 AM
Hi, you can't reprogram CPLD of the module with TE0701, sorry.

Is there a reasion why you didn't use SD Boot? Simple put boot files on SD Card(FAT32) and boot from SD. On TE0701, SD boot will be selected when you insered a SD card.

Other option, use Vivado Labtools 2017.2 (programmer only, you can download them separately from ADM(Xilinx)).
Here is some backround around this topic:
https://wiki.trenz-electronic.de/pages/viewpage.action?pageId=105689937
br
John
Title: Re: Setting TE0715 in JTAG mode to program QSPI FLASH
Post by: aliverud on May 08, 2023, 08:58:28 AM
Hi John,
I would like to separate boot and storage for my application. I plan to use the SDcard for storage and QSPI FLASH for application boot.
I was able to program and boot from the QSPI FLASH using the Vivado Labtools 2017.2 as advised.
Thanks a lot for the help.
Best regards,
Anders
Title: Re: Setting TE0715 in JTAG mode to program QSPI FLASH
Post by: benwefers on May 10, 2023, 06:40:42 PM
I'd also like to jump into this thread. I recently wrapped up a project using a TE0715-05 and a custom carrier board where everything was handled in QSPI (no SD card was present). I am now working on getting the same functionality for a few TE0715-04 boards I have, but am struggling to get them to do anything. I followed the same steps for the 04 as I did with the 05, and it says they are being programmed successfully, but the boards do not boot, and there isn't even a boot menu I can get into on startup.

Is there a pin I should be setting or any ideas?

Thanks
Title: Re: Setting TE0715 in JTAG mode to program QSPI FLASH
Post by: JH on May 11, 2023, 07:56:15 AM
Hi,
how did you connect these controller signals?
https://wiki.trenz-electronic.de/display/PD/4+x+5+SoM+Integration+Guide#id-4x5SoMIntegrationGuide-4x5ModuleControllerIOs
can you share the schematics of your carrier? You can also send them as PDF to support@trenz-electronic.de.
br
John
Title: Re: Setting TE0715 in JTAG mode to program QSPI FLASH
Post by: benwefers on May 12, 2023, 01:01:27 AM
Hi John!

I went ahead and sent an email. Perhaps we can continue this off the forum.

Thanks for the quick reply,

Ben