681 - LatticeECP2: How to setup LatticeECP2 dual boot application to load the golden bitstream instead of primary bitstream?
Description:
A dual boot application using the LatticeECP2 device has both a golden bitstream act as the golden image, and a primary bitstream act as user image which is periodically updated in SPI Flash. In a typical dual boot configuration scenario, the golden bitstream is not downloaded to LatticeECP2 unless primary bitstream fails to load.
Solution:
The LatticeECP2 dual boot with golden and primary bitstreams occurs when using the SPIm mode. By changing to SPI mode with the CFG pins all set low, the golden bitstream is always loaded from SPI Flash and the primary bitstream is ignored. This will address cases where user wanted to download the golden bitstream rather than the primary bitstream during normal boot up.
Reference: LatticeECP3, LatticeECP2/M, ECP5 and ECP5-5G Dual Boot and Multiple Boot Feature - FPGA-TN-0220
Related Articles
1663 - MachXO2: How can I force to boot from the “golden boot” image in the external SPI Flash when using the dual boot feature?
The MachXO2 has a dual boot feature that works in an automatic mode. If the image loaded from the internal flash is found to have an issue (CRC error), or if the internal flash is erased, then the part will automatically try to load the golden image ...
7070 - MachXO5-NX: How to perform Dual-Boot using MachXO5-NX?
See below for steps on how to perform Dual-Boot in MachXO5-NX Background: The current implementation of Dual-Boot is that the JUMP table is found at Address 0. We are changing the implementation of Dual-Boot as below. For this new implementation, the ...
1834 - MachXO2: When using the device in Dual-Boot configuration mode, what address should the 'Golden' bitstream image (.bit file) be stored in the external Slave-SPI device?
The 'Golden' bitstream image must be located starting at SPI address 0x010000. If using Lattice ispVM System 18.0 or later, the starting address for the bitstream is entered in the "Starting Address" box of the 'SPI Serial Flash Device' dialog box. ...
6425 - The address of Golden is optional, but the address of Primary cannot be specified. If we want to rewrite only Primary in the online configuration data update, which address should we specify?
For the dual-boot, the Primary is configured and located at 0x000000. The jump table is usually located at the last part of the address, thus the jump instruction should not be affected. Please refer to FPGA-TN-02145 sections 3 and 3.1 for Dual Boot ...
1421 - How do I trigger the Dual Boot function for MACHXO2 device?
The Dual Boot feature is supported through the Master SPI Mode(MSPI) for MACHXO2 device. During the device configuration at power up or toggling of PROGRAMN pin, any of following situations will trigger a dual boot event. A bitstream Cyclic ...