6909 - MachXO3LF: What commands can we used on our SVF file to verify that we have written correct configuration into the SRAM?
There are 2 ways to check if user have written correctly into the SRAM of the MachXO3LF:
1. LSC_BITSTREAM_BURST (0x7A): Using this command to program, the device will automatically check the CRC. User can then monitor the Status register or the DONE signal. The DONE signal will only go high if there is no CRC error.
2. LSC_VERIFY_INCR_RTI (0x6A): User can use the LSC_VERIFY_INCR_RTI (0x6A) to read back the SRAM and compare with the original data bit-by-bit. User don’t need to check the CRC with this approach.
Related Articles
5553 - Why in LCMXO2 part I got the following error message: ERROR - Failed in Function VERIFY_SRAM_DONE_BIT ?
The "Failed in Function VERIFY_SRAM_DONE_BIT" means that, the Diamond Programmer is unable to determine the statue of the DONE bit in the device's Status Register. This could have happened due to following reasons: The DONE bit is NOT SET due to the ...
2313 - LatticeXP2: Is it possible to program the LatticeXP2 SRAM directly using slave SPI mode?
Solution: No, you cannot program SRAM in SLAVE SPI(SSPI) mode. SSPI can only be utilized to program and verify an encrypted or standard JEDEC file into embedded configuration Flash in background mode. It can be used to read the SRAM fuse cells in ...
6907 - MachXO3: Does the XO3LF have a CRC check after a bit file or data frame is written in the SRAM?
Yes, XO3LF have a CRC frame on the bit file. It is shifted when using the LSC_BITSTREAM_BURST command. See CRC highlighted in red on the bit file and on the SVF file.
3766 - MachXO2: How to update the Configuration Flash of the MachXO2 in transparent mode using the svf file generated by Diamond Deployment Tool for the operation XFLASH Erase, Program, Verify?
The XFLASH Erase, Program, Verify instruction does not issue a refresh command. To update the Configuration Flash, use the XFLASH Erase, Program, Verify, Refresh operation, or power cycle the device.
6297 - All Nexus: How to solve the issue regarding SRAM erase? Error: "Failed to erase the SRAM..."
Description: One of the possible causes is that the flash is configuring the SRAM and thus causing access issue with FPGA's SRAM. Solution: To workaround this issue, user may try the following: (1) Hold the PROGRAMN port to 0 (active state/asserted) ...