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
Posted: Mon Dec 20, 2004 5:37 pm
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()...
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