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 CCS Technical Support

ICD3 Debugger - monitor tab

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



Joined: 24 May 2007
Posts: 97

View user's profile Send private message

ICD3 Debugger - monitor tab
PostPosted: Tue May 04, 2010 11:54 pm     Reply with quote

Hello,

I have a GPS project to work on and I just got the ICD3 debugger. The PIC is an 18F2550 and I have the GPS connected to the RX/TX on the UART.

I am trying to display some data on the Monitor window of the ICD 3 debugger however all references I found were saying to put:

#use rs232(DEBUGGER)

in the code. I cannot do this because I have the UART there. Is there a solution for this?

Thank you,
Oxy.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed May 05, 2010 11:40 am     Reply with quote

Are you trying to use the CCS IDE with the ICD3 ?
oxxyfx



Joined: 24 May 2007
Posts: 97

View user's profile Send private message

PostPosted: Wed May 05, 2010 1:43 pm     Reply with quote

Well, I have the mplabs installed and the plugin for the PCWH.

Under the debug window in PCWH I have the MPLAB-ICD3 selected as the debug device.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed May 05, 2010 2:07 pm     Reply with quote

The CCS ICD-U40 has a "debug monitor" channel built-in to the hardware
interface of the unit. See the pin connections table here:
http://www.ccsinfo.com/faq.php?page=icd_connection
Notice how the Target Socket pin 6 is used as the connection between the
PIC (pin B3) and the ICD-U40 for the "debug monitor". The PIC uses a
software UART on Pin B3 to send user debug info back to the ICD-U40.
This is done with printf. The ICD-U40 then sends this user info through
the USB connection to the PC and then to the CCS IDE, where it is
displayed in the monitor window. See this screenshot of CCS monitor window:
http://www.ccsinfo.com/images/content/cad6.gif

Now look at the schematic of the ICD3 connections:
http://ww1.microchip.com/downloads/en/DeviceDoc/MPLAB_ICD3_Poster_51765a.pdf
It doesn't show any "debug monitor" channel on pin 6. That pin is not
used by the ICD3.

So I don't think the debug monitor works with the ICD3. I could be wrong
because I don't have the CCS IDE or the ICD3. But it looks like it won't
work.
oxxyfx



Joined: 24 May 2007
Posts: 97

View user's profile Send private message

PostPosted: Wed May 05, 2010 3:31 pm     Reply with quote

Thank you. I thought I'd ask, you never know what am doing wrong... I am still new to this all debug thing... Smile
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