Hi, can somebody help me?
I'm getting the following error, when i try to program a pic18f2580:
ICD0161: Verify failed (MemType = Program, Address = 0x2, Expected Val = 0x0, Val Read = 0xD0)
I've tried 2 different devices and the error occurs on both. The eeprom is written ok. When i try to write only the config bits, it also fails on the second write...
Thanks for any hints!
Here is the output from mplab:
I'm getting the following error, when i try to program a pic18f2580:
ICD0161: Verify failed (MemType = Program, Address = 0x2, Expected Val = 0x0, Val Read = 0xD0)
I've tried 2 different devices and the error occurs on both. The eeprom is written ok. When i try to write only the config bits, it also fails on the second write...
Thanks for any hints!
Here is the output from mplab:
Code:
MPLAB ICD 2 Ready
Reading...
ICDWarn0038: When using auto-calculate write range, reads cover the entire memory range. Do you wish to continue?
...EEPROM
...Program Memory (0x0 - 0x7FFF)
.. Config Memory
...User ID Memory
...Read Succeeded
MPLAB ICD 2 Ready
Programming Target...
...Validating configuration fields
...Erasing Part
...Programming EEPROM Memory
...Programming Program Memory (0x0 - 0x23F)
Verifying...
...Program Memory
ICD0161: Verify failed (MemType = Program, Address = 0x2, Expected Val = 0x0, Val Read = 0xD0)
ICD0275: Programming failed.
MPLAB ICD 2 Ready