1471 - What happens if the Power goes down during FLASH Programming?
The FLASH Programming flow involves Erase FLASH device,Program, Verify and Secure(optional). A DONE bit will be set once the whole flow is completed.
Depending on the point where exactly the power is down, the device behavior changes.
1) If the Power goes down before programming, the JEDEC file read back will be wrong and the device has to be reprogrammed.
2) If the Power goes down after Erase and Programming your FLASH, then your FLASH will be programmed but DONE bit will not be set. So at this point the configuration at power up (FLASH to SRAM) will not happen and your device will be functionally wrong, however, the JEDEC file read back will be correct. You can program the DONE bit through your ispVM using the command "FLASH program DONE bit" and the configuration will happen and your device will work fine.
The status of the DONE bit can be read through the ispVM using the command "FLASH program DONE bit".
Related Articles
2410 - MachXO2: What will happen to the configuration ports (JTAG/I2C/SSPI) when power is removed while programming the Configuration Flash or User Flash memory?
The MachXO2 configuration ports are governed by a flash memory area, called the Feature Row. The Feature Row resides in a sector that is separate from the Configuration Flash, and User Flash Memory. The Configuration Flash or User Flash sectors must ...
Why FPGA Programming Failure When JTAG Chain Has 7 or More Devices?
DESCRIPTION When programming Lattice FPGA devices via SPI Flash using a JTAG chain, the Erase-Program-Verify (EPV) operation fails deterministically starting from the 7th device in the chain. Chains of 6 devices or fewer complete SPI Flash EPV ...
104 - Why does my LatticeXP/XP2 device get hot after programming from Flash?
The LatticeXP and LatticeXP2 internal flash cells program using looping algorithms in order to provide the correct erase or programming timing for flash accesses. This method is critical to providing correct programming of the flash fuses. They also ...
3287 - MachXO2: In Dual Boot Programming mode, does programming the external flash erases the internal flash; and does programming the internal flash leave the external flash intact?
Programming the external flash erases the internal flash. However, programming the internal flash does not affect the external flash. For a detailed procedure on dual boot programming, refer to the Dual Boot Demonstration section in EB61, MachXO2 ...
7757 - Radiant Programmer: What is Erase, Program, Verify Quad 1 operation used for?
Description: Erase, Program, Verify Quad 1 enables that QE bit to '1'. In general, there are two (2) requirements/steps to enable booting from external SPI Flash through x4 (QUAD Mode) Step 1 - Convert the bitstream file into hex (Quad I/O read mode) ...