7266 - MachXO2/MachXO3:How to reset device ID when it was accidentally changed during programming?

7266 - MachXO2/MachXO3:How to reset device ID when it was accidentally changed during programming?

Description:
When using external programmer, it can sometimes cause an issue that the device ID is accidentally changed due to sending of wrong bits.