Trying to progamm LCMXO2-256HC-4SG32C with this ebay progammer.
The programmer works fine with LCMX02-1200HC-4TG144C, but with LCMXO2-256HC-4SG32C it gives me the following output:
Starting: "pgr_program run" INFO - Check configuration setup: Start. INFO - JTAG Chain Verification. No Errors. INFO - Check configuration setup: Successful. INFO - Device1 LCMXO2-256HC: FLASH Erase,Program,Verify ERROR - function CHECK_SECURITY_PROTECT_KEY ERROR - Process Operation Failed. INFO - Elapsed time: 00 min : 01 sec ERROR - Operation: unsuccessful. ERROR: pgr_program failed. ERROR - Programming failed.
This is the 3rd chip I'm trying this with with the same result. I had chips ordered from Alibaba and thought the chips had some issue but now I've ordered a couple from Arrow and these give the same error.
The programming does complete successfully with an earlier version of the Lattice Diamond programmer (v3.8) but then a simple test blinky doesn't work, just no output on the pins, they sit a 0V with the current chip, with the previous chip it was more weird where it would allow to output high on one pin but not on the other and would act as if there was no clock input.
I've checked the clock from the 50MHz oscillator and it looks fine. The soldering also looks fine.
The same simple test works with my other test board with LCMXO2-1200HC-4TG144C.
Have I just fried the chip?
Is this an issue with my programmer?