View previous topic :: View next topic |
Author |
Message |
Failed with ICD 0161 Guest
|
ICD2:I would to know what kind of error and how to solve it |
Posted: Mon Dec 14, 2009 7:48 pm |
|
|
Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to MPLAB ICD 2
ICDWarn0020: Invalid target device id (expected=0x84, read=0x21)
...Reading ICD Product ID
Running ICD Self Test
...Passed
MPLAB ICD 2 ready for next operation
Resetting Target
MPLAB ICD 2 ready for next operation
Programming Target...
...Validating configuration fields
ICDWarn0013: Low Voltage Programming cannot be enabled when ICD 2 is used as a debugger. Disable Low Voltage Programming?
ICDWarn0014: Watchdog Timer cannot be enabled when ICD 2 is enabled as a debugger. Disable Watchdog Timer?
...Erasing Part
...Programming Program Memory (0x0 - 0x7DBF)
...Loading DebugExecutive
...Programming DebugExecutive
...Programming Debug Vector
...Programming RSBUG
Verifying...
...Program Memory
ICD0161: Verify failed (MemType = Program, Address = 0x0, Expected Val = 0xEF15, Val Read = 0x0)
ICD0275: Programming failed.
MPLAB ICD 2 ready for next operation |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Mon Dec 14, 2009 10:24 pm |
|
|
Quote: |
ICDWarn0013: Low Voltage Programming cannot be enabled when ICD 2
is used as a debugger. Disable Low Voltage Programming?
ICDWarn0014: Watchdog Timer cannot be enabled when ICD 2 is
enabled as a debugger. Disable Watchdog Timer?
|
Look at this post to see which fuse settings are needed to disable LVP
mode and the Watchdog timer:
http://www.ccsinfo.com/forum/viewtopic.php?t=24336&start=5
Quote: |
ICD0161: Verify failed (MemType = Program, Address = 0x0, Expected
Val = 0xEF15, Val Read = 0x0)
|
See my comments in this thread about selecting the correct PIC in
the MPLAB menu, and also in your program with an #include statement:
http://www.ccsinfo.com/forum/viewtopic.php?t=38187
If you still have problems then:
1. Post your PIC.
2. Post your CCS compiler version.
3. Post a small test program (10 lines max) that is compilable. |
|
|
|