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.