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

Search found 9 matches
CCS Forum Index
Author Message
  Topic: Problem using printf to print string variables
Peter F

Replies: 4
Views: 15629

PostForum: General CCS C Discussion   Posted: Fri Mar 26, 2004 2:13 am   Subject: Problem using printf to print string variables
Thanks for that! My code is exactly the same. Only differences are that I am using PCH with the 18F452 chip. Using puts(StringData); gives the same result. I have emailed CCS to see if they can he ...
  Topic: Problem using printf to print string variables
Peter F

Replies: 4
Views: 15629

PostForum: General CCS C Discussion   Posted: Thu Mar 25, 2004 6:26 am   Subject: Problem using printf to print string variables
I am using

printf("%S",StringData);

where StringData is a string variable (character array with null terminator)

What I get on the RS2323 output is only the last two characters!

For instan ...
  Topic: Adding extra .c files to a project
Peter F

Replies: 10
Views: 40097

PostForum: General CCS C Discussion   Posted: Mon Feb 23, 2004 10:01 am   Subject: Adding extra .c files to a project
Rename the additional "C" files with a different prefix (e.g. ".c2").

Include the additional source files with #include directives as suggested by previous posters.

You can now add the additiona ...
  Topic: Adding extra .c files to a project
Peter F

Replies: 10
Views: 40097

PostForum: General CCS C Discussion   Posted: Mon Feb 23, 2004 2:21 am   Subject: Adding c files
I found that I could use "include" to add extra c files at compile time. However under MPLAB you can't add these files to the project (otherwise they get compiled twice!) And therefore you cannot de ...
  Topic: Adding extra .c files to a project
Peter F

Replies: 10
Views: 40097

PostForum: General CCS C Discussion   Posted: Thu Feb 19, 2004 11:20 am   Subject: ICD-U40 not programming
I tried connecting the ICD-U40 via a powered hub (had to reload the usb driver), but this seemed to have no effect, unfortunately. Still read back all FF during verify. Crying or Very sad
  Topic: Adding extra .c files to a project
Peter F

Replies: 10
Views: 40097

PostForum: General CCS C Discussion   Posted: Sat Feb 14, 2004 3:40 am   Subject: Adding extra .c files to a project
Thanks, I was beginning to suspect that. That's what I was doing originally to break up the files - although the extra files were saved as .h header files and brought in using #include. The problem ...
  Topic: Adding extra .c files to a project
Peter F

Replies: 10
Views: 40097

PostForum: General CCS C Discussion   Posted: Fri Feb 13, 2004 3:50 pm   Subject: Adding extra .c files to a project
I would like to split my project into a number of .c files, sharing a common .h header file. I am trying to do this under MPLAB V6.30. I put function prototypes in the header file and an #include st ...
  Topic: Problem debugging using ICD2 under MPLAB v6.30
Peter F

Replies: 2
Views: 11021

PostForum: General CCS C Discussion   Posted: Thu Feb 12, 2004 12:22 pm   Subject: Problem debugging using ICD2 under MPLAB v6.30
Thanks for the tip. I did this, but unfortunately it made no difference.
  Topic: Problem debugging using ICD2 under MPLAB v6.30
Peter F

Replies: 2
Views: 11021

PostForum: General CCS C Discussion   Posted: Thu Feb 12, 2004 11:17 am   Subject: Problem debugging using ICD2 under MPLAB v6.30
I'm using MPLAB/ICD2 because I could not get ICD-U40 to talk to my target board (despite being sent a replacement). With ICD2 I can program and run code oK. However, I can't seem to set breakpoints ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group