View previous topic :: View next topic |
Author |
Message |
o-milo
Joined: 20 Sep 2006 Posts: 4
|
In-circuit debugging with MPLAB ICD 2 |
Posted: Wed Sep 20, 2006 8:57 pm |
|
|
Hi all,
I'm using the PCWH v3.246 (thought I'd upgrade to the 4.xx version when they are more stable) .
I want to do in-circuit debugging using the MPLAB ICD2. So what I did was create and compile the project with PCWH, load it into MPLAB IDE v7.10, connect to ICD 2 and tried to use the debugger feature within MPLAB IDE v7.10.
I have added "#device ICD=TRUE" in my code but I still get this error:
"ICD0083: Target not in debug mode, unable to perform operation"
can anyone help?
June |
|
 |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Sep 20, 2006 9:34 pm |
|
|
Scroll down about halfway into this thread. I've posted instructions
on how to compile for the ICD2 debugger and use it in MPLAB.
http://www.ccsinfo.com/forum/viewtopic.php?t=23151
These instructions assume that you have created a project and
compiled it under MPLAB. |
|
 |
o-milo
Joined: 20 Sep 2006 Posts: 4
|
|
Posted: Wed Sep 20, 2006 10:34 pm |
|
|
Thanks, great help! It's all working now.  |
|
 |
|