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

icd u40 debugging

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







icd u40 debugging
PostPosted: Mon Dec 20, 2004 4:21 pm     Reply with quote

Hello, does any 1 know how to use the icd u40 debugger to view printf statements? I think I have done an thorough search of the forums archives but I havent found anything related to my project. thanks for the fun.
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Mon Dec 20, 2004 5:37 pm     Reply with quote

Are you asking how to printf to the monitor window?
If so..

Quote:
The monitor window shows data from the target and allows entry of data to be sent to the target. This is done on the target like this:



#use RS232(DEBUGGER)

...

printf(“Test to run? “);

test=getc();



For the PIC16 ICD the B3 pin is used on the target to implement this capability. The normal ICD cable is already set up correctly for this.


From the ccsc.chm help file
I think you can also use DEBUGGER as a stream in fprintf()...
Guest








Christian
PostPosted: Mon Dec 20, 2004 8:25 pm     Reply with quote

thanks you so much, u've made my day
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