1305 - ispVM: "SVP Template Processor Error: Data Shift Verification Failed" or "Failed in Function DIRECT_FLASH_ERASE"

1305 - ispVM: "SVP Template Processor Error: Data Shift Verification Failed" or "Failed in Function DIRECT_FLASH_ERASE"

If  ispVM prompt error nessage like the following:

"SVP Template Processor Error: Data Shift Verification Failed."
"Failed in Function DIRECT_FLASH_ERASE "

Please check the following debug step in sequential order:
  1. Scan the device by clicking on the "Scan" button or pressing F2. IspVM should be able to scan a Lattice device that it's connected to, and display the device ID. If that passes , it means that there probably aren't electrical connection problems with TDI/TDO/TCK/TMS
  2. Check to see that VCCAUX is at the correct voltage level; either 2.5V or 3.3V, depending on the part. VCCAUX powers the Flash on the chip, which might explain why the scan works, but erase doesn't.
  3. Unplug the TRST/INITN/PROGRAMN pins from the JTAG connector. They are not necessary for JTAG programming.
  4. Check the TRST/INITN/PROGRAMN pins of the part to ensure that they're floating; there should be no pull ups or pull downs.