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 58 matches
CCS Forum Index
Author Message
  Topic: coding problem
kypec

Replies: 3
Views: 6638

PostForum: General CCS C Discussion   Posted: Thu Oct 12, 2006 12:41 am   Subject: coding problem
There is missing oscillator setting in your example, you should specify what is the clock source for your PIC in this application (XT or HS or IntRC?)
Moreover, you have included ICD=TRUE statement. ...
  Topic: Not enough RAM for all variables
kypec

Replies: 2
Views: 5684

PostForum: General CCS C Discussion   Posted: Tue Jul 04, 2006 4:16 am   Subject: Not enough RAM for all variables
Please read about #byte, #locate and #reserve directives in the compiler's manual. They should help you with placing your variables in RAM manually.
  Topic: EEPROM copy to RAM
kypec

Replies: 6
Views: 10803

PostForum: General CCS C Discussion   Posted: Wed May 17, 2006 11:57 pm   Subject: EEPROM copy to RAM
Just my curiosity: why are you using delay_us(10) in between readings from Data EEPROM? The read process is (almost when not counting SFR initialization overhead) as fast as reading from RAM registers ...
  Topic: Global variable is passed incorrectly
kypec

Replies: 3
Views: 6103

PostForum: General CCS C Discussion   Posted: Tue Apr 25, 2006 11:40 pm   Subject: Global variable is passed incorrectly
I'm not sure whether I'm right but what I see as potential cause of your problems is that the ad12temp is a FLOAT variable, which means it occupies 4 bytes in RAM memory. When your main routine modifi ...
  Topic: output of an 8bit integer as ascii on rs232
kypec

Replies: 7
Views: 9024

PostForum: General CCS C Discussion   Posted: Thu Jan 19, 2006 6:45 am   Subject: output of an 8bit integer as ascii on rs232
int8 bit_position,port_value;

port_value=input_b();
printf("Input-Status PortB is ");
for (bit_position=8;bit_position>0;bit_position--) {
if (po ...
  Topic: output of an 8bit integer as ascii on rs232
kypec

Replies: 7
Views: 9024

PostForum: General CCS C Discussion   Posted: Thu Jan 19, 2006 5:16 am   Subject: output of an 8bit integer as ascii on rs232
printf("%u",input_b()); //outputs 8-bit value of PORTB as ASCII string consisting of 1 to 3 characters
printf("%03u",input_b()); //outputs 8-bit va ...
  Topic: output of an 8bit integer as ascii on rs232
kypec

Replies: 7
Views: 9024

PostForum: General CCS C Discussion   Posted: Thu Jan 19, 2006 4:01 am   Subject: output of an 8bit integer as ascii on rs232
Look at the built-in printf() function and its arguments.
  Topic: What is the address from where the PIC begins execution ?
kypec

Replies: 1
Views: 4700

PostForum: General CCS C Discussion   Posted: Thu Dec 22, 2005 12:29 am   Subject: What is the address from where the PIC begins execution ?
Yes, that is correct -> PIC always begins its program execution from address 0x0000 and ISR vectors are generally fixed at 0x0004 (PIC16) or 0x0008 (PIC18).
However, you can relocate your main() a ...
  Topic: include files oddities
kypec

Replies: 4
Views: 7854

PostForum: General CCS C Discussion   Posted: Mon Dec 12, 2005 1:08 am   Subject: Include Dir paths (maybe)?
Hi Harry,

maybe I'm wrong but I have encountered very similar problem to yours
when I switched some of my projects from PCWH 3.190 to 3.239.
Afterwards, the predefined constants which come from s ...
  Topic: Repeated conditional compilation?
kypec

Replies: 2
Views: 5087

PostForum: General CCS C Discussion   Posted: Mon Nov 28, 2005 12:19 am   Subject: Repeated conditional compilation?
Thank you Eric for your suggestions but the runtime RAM approach is not suitable for me.
I know how to embed large ROM tables in my source code.
I'm doing this regularly in Excel with heavy support ...
  Topic: Repeated conditional compilation?
kypec

Replies: 2
Views: 5087

PostForum: General CCS C Discussion   Posted: Sat Nov 26, 2005 3:25 am   Subject: Repeated conditional compilation?
Hello,
may someone of you please help me with the following:
I need to place certain amount of table entries in ROM.
Their count is constant at the time of compilation but may
vary for different c ...
  Topic: Digital Knob?
kypec

Replies: 5
Views: 6947

PostForum: General CCS C Discussion   Posted: Thu Nov 10, 2005 12:31 am   Subject: Device search keywords
Try something like rotary+quadrature+encoder
Companies ALPS & Bourns are producing such encoders.
  Topic: Compiler and functions....
kypec

Replies: 3
Views: 5851

PostForum: General CCS C Discussion   Posted: Thu Oct 27, 2005 7:34 am   Subject: Compiler and functions....
If you want the compiler to include the body of your function
only once in the program memory then use #separate directive
just before the function definition.
#separate
int8 my_func(int1 arg1 ...
  Topic: IC-Prog and 18F4550
kypec

Replies: 6
Views: 47924

PostForum: CCS ICD / Mach X / Load-n-Go   Posted: Mon Oct 03, 2005 12:21 am   Subject: Another application SW
Hi,

I had a similar problem to yours (unsupported device in IC-Prog).
I tried [url=http://perso.wanadoo.es/siscobf/]WinPic800 instead and it helped me a lot.
Don't worry, you can use your JDM wit ...
  Topic: Looking for MODBUS Master
kypec

Replies: 1
Views: 6488

PostForum: General CCS C Discussion   Posted: Thu Sep 15, 2005 2:00 am   Subject: Looking for MODBUS Master
Have a look at my routines which I posted recently at the Code library section http://www.ccsinfo.com/forum/viewtopic.php?t=19306

kypec
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group