View previous topic :: View next topic |
Author |
Message |
oxxyfx
Joined: 24 May 2007 Posts: 97
|
ICD3 Debugger - monitor tab |
Posted: Tue May 04, 2010 11:54 pm |
|
|
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
|
|
Posted: Wed May 05, 2010 11:40 am |
|
|
Are you trying to use the CCS IDE with the ICD3 ? |
|
|
oxxyfx
Joined: 24 May 2007 Posts: 97
|
|
Posted: Wed May 05, 2010 1:43 pm |
|
|
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
|
|
Posted: Wed May 05, 2010 2:07 pm |
|
|
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
|
|
Posted: Wed May 05, 2010 3:31 pm |
|
|
Thank you. I thought I'd ask, you never know what am doing wrong... I am still new to this all debug thing... |
|
|
|