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 be erased, using unique erase commands, prior to being reprogrammed. In the event of a loss of power the Configuration Flash or the User Flash are left in an unknown state.
The Feature Row is in a known state because it is erased independently from the Configuration Flash and User Flash Memory.
The configuration ports remain available after the unexpected loss of power as a result.
Availability of the configuration ports is an intricate subject.
Refer to the Feature Row section of the MachXO2 Programming and Configuration Usage Guide for a description of the MachXO2 Feature Row.
To download the MachXO2 Programming and Configuration Usage Guide please see the link below:
https://www.latticesemi.com/view_document?document_id=39085