7044 - MachXO2/XO3: How to have successful dual-boot with SPI flash with MachXO2/MachXO3 devices?

7044 - MachXO2/XO3: How to have successful dual-boot with SPI flash with MachXO2/MachXO3 devices?

To have successful dual-boot for MachXO2/MachXO3 please change CRC settings of the generated bitstream of Lattice Diamond Software using the Deployment tool.

See below for the steps:

1.Open Deployment Tool then select File Conversion and Bitstream:




2. Select the bitstream .bit file then press next.


3. Set the CRC calculation to Frame CRC.


4. Generate new bitstream:






Take note that this bitstream setting modification is only used for EXTERNAL SPI FLASH. For internal flash, always use the jed file generated.