One possible reason for a configuration loading error can be the image content loaded into the SPI flash. Some serial SPI Flash devices do not guarantee the data integrity of the first few bytes during a read. To address the issue, the LatticeECP2/2M/3 devices are designed to ignore the first 128 bits of data from the SPI Flash devices. Therefore, the first 128 bits (or 16 bytes) in the bitstream file must be dummy (0xFF). The presence of the bit stream header (~300 bytes) serves as the required dummy cycles. Having an image that is missing these dummy bits can cause the configuration logic to error causing INITn to signal the error condition.
Some work arounds include: