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 require the power supplies used for programming to be stable and at proper operating levels to ensure that the fuses are correctly written. If these conditions are not maintained the device could be left with an illegal/corrupt pattern residing in the flash fuses. The symptom is the device becomes very hot due to internal contention and any other action will not correct the issue. If this occurs, the method to recover the device is as follows:
- Hold the PROGRAMN pin low while powering up the device to prevent the illegal pattern from loading into the FPGA SRAM
- Issue the erase command to the device to erase the illegal pattern held in flash. This will restore the device to factory default.
In the case of LatticeXP2, the corrective action requires an additional step.
The CFG0 pin must be driven to GND to enable the PROGRAMN pin functionality. Once the above corrective steps are completed the user should investigate the root-cause as mentioned above.
Related Articles
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) ...
7118 - MachXO3D: Why does MachXO3D device flash programming operation failed with "ERROR - Failed in Function FLASH_ENABLE" when Password Protection was enabled?
Description: After user enabled Password Protection feature in Diamond Programmer and program the passkey into MachXO3D device, user may experienced Flash Programming Mode operation failed with the following error message: ERROR - Failed in Function ...
Avant Rev 03x: Why program Quad SPI Flash Programming failed with JTAG2SPI Bridge
Description User may experience Radiant Programmer fails to perform SPI flash programming via the JTAG2SPI bridge function on Avant Versa RevA Boards populated with Micron MT25QU512ABB8E12-0SIT (Quad) for Avant 03A silicon. There is no issue ...
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 ...
1806 - Are <b><i>programming</i></b> and <b><i>configuring</i></b> a Programmable Logic Device two different processes?
The meaning of these two terms depends on the programmable logic device (PLD) used. Lattice provides three kinds of technologies in the PLD products you purchase. The technologies are: EEPROM based: 4000 family of CPLD's SRAM based: ECP2, ECP3, ECP4 ...