I keep getting this error:
Auto-connect not enabled - Not connecting (Try enabling auto-connect on the ICD2 settings pages.)
Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to target
Target Device PIC18F452 found, revision = c0
...Reading ICD Product ID
Running ICD Self Test
...Passed
MPLAB ICD 2 ready for next operation
Programming Target...
...Erasing Part
...Programming Program Memory (0x0 - 0xEDF)
Verifying...
...Program Memory
ICD0161: Verify failed (MemType = Program, Address = 0x0, Expected Val = 0xEF58, Val Read = 0xFFFF)
ICD0275: Programming failed.
MPLAB ICD 2 ready for next operation
I opened MPLAB...went to File > Import > Imported the HEX file that flowcode generated > went to programmer > select device > MPLAB ICD2 > connected ICD > then program target device ... am i still doing something wrong?