Article Details

ID: 7540
Case Type: faq
Category: Reference Design
Related To:
Family: CertusPro-NX

Search Answer Database

Search Text Image

CertusPro-NX GHRD/GSRD: Why does the Golden System Reference Design demo bitstream failed to boot from CertusPro-NX Versa board

Description:



CertusPro-NX Versa Board came with Winbond or Macronix flash.



Please refer below table for the default demo bitstream targeted flash.























CertusPro-NX GHRD/GSRD VersionDemo Bitstream Supported FPGA Board/FlashLattice Radiant SoftwareLattice Propel Design Environment Version
2.0CertusPro-NX Versa Board/ Winbond(W25Q512JVEIQ)2024.1.12024.1
1.0CertusPro-NX Versa Board/ Macronix(MX25L51245G)2023.22023.2


User may observe UART output shows CRC checksum failure during GSRD Primary/Golden Image boot if the default bitstream is programmed into incompatible flash part.









// START OF DEBUG OUTPUT



---------------Primary Image Bootloader----------



DDR status = 30021



DDR status = 0



DDR status = 3001f



LPDDR crc = 34ee



fw crc = 808



--- CRC Mis-matched!!!----------



 



---------------Golden Image Bootloader----------



DDR status = 30021



DDR status = 0



DDR status = 3001f



LPDDR crc = 34ee



fw crc = 808



--- CRC Mis-matched!!!-----------



// END OF DEBUG OUTPUT



 


Solution:


GSRD 2.0 \u2013 How to enable GSRD to boot from Macronix flash


GSRD 2.0 deliverables is target to CertusPro-NX Versa Board with Winbond flash.


Please follow below steps to modify default GSRD 2.0 project to enable Macronix flash. User is required to regenerate and rebuild the HW/SW project after update the settings.

1. In GSRD u-boot software project main.c file - specify Macronix as the SPI Flash manufacturer in function qspi_flash_cntl_read_fifo_dis()



  • JEDEC_MANUFACTURER_ID_WINBOND (Default)

  • JEDEC_MANUFACTURER_ID_MACRONIX     



Update SPI flash manufacturer in main.c()

Reference: FPGA-RD-02300 Section 8.2. Using different SPI flash manufacturer


2. Update u-boot QSPI configuration to Macronix


  1. Follow step 4 in FPGA-RD-02300 Section 10.3. QSPI Configuration for U-Boot, choose Macronix SPI flash support.  

  2. Or Press Space > Select Macronix QSPI > Press Space > Unselect Winbond



Menuconfig - Select Macronix QSPI

Reference: FPGA-RD-02300 Section 10.3. QSPI Configuration for U-Boot


3. Radiant Programmer: QSPI programming \u2013 specify Macronix settings in \u201CSPI Flash Options\u201D


Winbond QSPI Programming

Reference:
- FPGA-RD-02300 Section 7.3.3. Programming the Standalone Golden or Primary GSRD Bitstream and Application Software
- FPGA-RD-02300 Section 10.5. Programming U-Boot Bootloader


GSRD 1.0 \u2013 How to enable GSRD to boot from Winbond flash



GSRD 1.0 deliverables is target to CertusPro-NX Versa Board with Macronix flash.



Please follow below steps to modify default GSRD 1.0 project to enable Winbond flash. User is required to regenerate and rebuild the HW/SW project after update the settings.



1. In GSRD u-boot software project main.c file \u2013 change QUAD_SPI_MODE to STANDARD_SPI_MODE to enable single SPI mode for Winbond flash.




This is due to Winbond flash Quad Enable operation is not compatible with GSRD1.0 QSPI driver operation.
Users need to enable Single SPI mode and rebuild the software Image.


2. Radiant Programmer: QSPI programming \u2013 specify Winbond settings in \u201CSPI Flash Options\u201D




Reference: FPGA-UG-02205 - Appendix A. Programming the GSRD Primary/Golden Bitstream, Firmware Binaries and MCS File