Problem: Programming and booting from both internal flash and external flash are failing. Which information is helpful to tech support?
Solution:
When failing programming and booting, technical support can help in analyzing the issue by sharing the status register readings. See below for example from MachXO3LF:
See FAQ: https://www.latticesemi.com/support/answerdatabase/5/8/8/5882 .For full status register description.
Status registers are also available in Nexus devices.
You can access the status register through SRAM Read status register. See below:
Also, please share waveform for programming operation up to the point of failure (JTAG, SPI, or I2C) transaction and the log file from the programmer.