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

RS232 Debugger

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



Joined: 07 Sep 2003
Posts: 110

View user's profile Send private message

RS232 Debugger
PostPosted: Tue Mar 22, 2011 2:30 pm     Reply with quote

Working with a PIC18LF452 using v4.114. I have RB5 connected to the PGM line on the ICD-64. Included is:
#use rs232(DEBUGGER,xmit=PIN_B5,rcv=PIN_B5).

A simple printf("xyz\r\n"); does not show up on the debug monitor. Had to resort to using a "real" serial port and printf's working as expected that way.

Is this a bug in the IDE/compiler? Is there a workaround?
_________________
Al Testani
temtronic



Joined: 01 Jul 2010
Posts: 9173
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Tue Mar 22, 2011 2:50 pm     Reply with quote

is this allowable ?

#use rs232(DEBUGGER,xmit=PIN_B5,rcv=PIN_B5).
-----------------------------------------| and -------|

both xmit and rcv on the same pin ?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Mar 22, 2011 4:05 pm     Reply with quote

I don't have the CCS debugger or their IDE, so I can't test this, but
according to this thread here, the serial debugger channel only works
if the target PIC has a Vdd voltage greater than 3.1 volts:
http://www.ccsinfo.com/forum/viewtopic.php?t=29499
I note that you're using the "LF" package. What's your Vdd ?


Temtronic: Yes, the CCS manual says they should both be the same
pin for the Debugger serial channel.
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