7118 - MachXO3D: Why does MachXO3D device flash programming operation failed with "ERROR - Failed in Function FLASH_ENABLE" when Password Protection was enabled?

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 FLASH_ENABLE (see log file for more details)

Solution:
This is a known issue in Diamond software v3.12 and v3.13. A software patch is required to resolve this issue.
Please contact Lattice Technical support for patch request.