CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

In-circuit debugging with MPLAB ICD 2

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
o-milo



Joined: 20 Sep 2006
Posts: 4

View user's profile Send private message Send e-mail MSN Messenger

In-circuit debugging with MPLAB ICD 2
PostPosted: Wed Sep 20, 2006 8:57 pm     Reply with quote

Hi all,

I'm using the PCWH v3.246 (thought I'd upgrade to the 4.xx version when they are more stable) Razz .
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

View user's profile Send private message

PostPosted: Wed Sep 20, 2006 9:34 pm     Reply with quote

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

View user's profile Send private message Send e-mail MSN Messenger

PostPosted: Wed Sep 20, 2006 10:34 pm     Reply with quote

Thanks, great help! It's all working now. Very Happy
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group