I was trying to debug a code that I have written for a 18F4550 PIC. I configured CCS Compiler on MPLAB. And I build the project that I have written successfully on MPLAB. No problems occurred when building the project.
But when I try to program it (Debugger => Program) following output comes,
MPLAB ICD 2 ready for next operation
Programming Target...
...Validating configuration fields
...Erasing Part
...Programming Program Memory (0x0 - 0x7DBF)
...Loading DebugExecutive
...Programming DebugExecutive
...Programming Debug Vector
...Programming RSBUG
Verifying...
...Program Memory
...Debug Executive
...Debug Vector
...Verify Succeeded
Programming Configuration Bits
.. Config Memory
Verifying configuration memory...
...Verify Succeeded
Connecting to debug executive
ICD0083: Debug: Unable to enter debug mode. Please double click this message for more information.
MPLAB ICD 2 ready for next operation
I am unable to find out what is the problem in here. Oscillator frequency is set correctly. Are there any other configuration bits to be set?
Please help me.
Thanks.
Then click the Search button and you will see many articles on your
problem.
If none of that helps, then post a very small (10 lines) test program
that demonstrates the problem. Also post your compiler version.
Guest
Posted: Fri Jan 09, 2009 6:43 am
Hi,
Thanks for your help. I was able to solve the problem by setting the ICD/ICSP configuration bit to Disabled.
Guest
16F877A and ICD2 debug not working
Posted: Tue Jan 13, 2009 3:56 am
Hi all,
I need to test my source code on the MPLAB in circuit debugger. But it gives following errors as the output. If someone could help me on this matters, it would be very helpful to me.
Thanks a lot.
Programming Target...
...Validating configuration fields
...Erasing Part
...Programming Program Memory (0x0 - 0xC6F)
...Loading DebugExecutive
...Programming DebugExecutive
...Programming Debug Vector
Verifying...
...Program Memory
...Debug Executive
...Debug Vector
...Verify Succeeded
Programming Configuration Bits
.. Config Memory
Verifying configuration memory...
...Verify Succeeded
Connecting to debug executive
ICD0083: Debug: Unable to enter debug mode. Please double click this message for more information.
MPLAB ICD 2 ready for next operation
ICDWarn0015: Program memory has changed since last program operation? Continue with Debug operation?
Running Target
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Tue Jan 13, 2009 1:17 pm
Did you read all those links I gave you ? Did you try any of it ?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum