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

help with using other debugger tools

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








help with using other debugger tools
PostPosted: Tue Jul 14, 2009 1:55 pm     Reply with quote

How do you use a Microchip debugging tool (real ice, icd 2, etc) with CCS? I found the page on CCS's FAQ and I have downloaded and installed the plugin but I am lost on what to do after that point.

I do have MPLAB installed, version 8.3.
My CCS version is 4.082
bkamen



Joined: 07 Jan 2004
Posts: 1611
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Tue Jul 14, 2009 2:01 pm     Reply with quote

You operate the compiler in commandline mode from the MPLAB environment...

Then make sure to add

Code:

#device ICD=TRUE


(and possibly the #fuse DEBUG, but I never use it and it works fine)

and then use the DEBUGGER selected to ICD2.

This is my normal running environment.

MPLAB w/PCWHD and ICD2 and ICD3

Cheers,

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
Guest








PostPosted: Tue Jul 14, 2009 2:02 pm     Reply with quote

oh so you have to run it within MPLAB
bkamen



Joined: 07 Jan 2004
Posts: 1611
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Tue Jul 14, 2009 2:04 pm     Reply with quote

Didn't I mention that at the top of my reply?

Hahahah...

:D

Cheers,

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Jul 14, 2009 2:20 pm     Reply with quote

This thread has detailed instructions for using ICD2 in MPLAB with CCS.
It tells how to step through code and to use a Watch window for variables:
http://www.ccsinfo.com/forum/viewtopic.php?t=23151
That's for MPLAB and the CCS command line compilers.

Do you want to use the ICD2 from within the CCS IDE ?
If so, see this FAQ article:
http://www.ccsinfo.com/faq.php?page=icd2_real_ice
bkamen



Joined: 07 Jan 2004
Posts: 1611
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Tue Jul 14, 2009 2:24 pm     Reply with quote

PCM programmer wrote:
This thread has detailed instructions for using ICD2 in MPLAB with CCS.
It tells how to step through code and to use a Watch window for variables:
http://www.ccsinfo.com/forum/viewtopic.php?t=23151
That's for MPLAB and the CCS command line compilers.

Do you want to use the ICD2 from within the CCS IDE ?
If so, see this FAQ article:
http://www.ccsinfo.com/faq.php?page=icd2_real_ice


Good Links.

Honestly, I never had a problem like so many have seemed to running MPLAB w/CCS and a PICstartPLUS (not a debugger, I know), PICkit2, ICD2 or (now ICD3).

Just read through the docs and learn the environment (and find the bugs! ahhaha) and everything works fine.

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
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