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 6 matches
CCS Forum Index
Author Message
  Topic: pointers to struct?
cwf713

Replies: 2
Views: 5111

PostForum: General CCS C Discussion   Posted: Thu Mar 23, 2006 8:10 am   Subject: pointers to struct?
Thank you for the response. I changed the line "struct data *tmp" to "int *tmp" and the code compiled with no errors. However, the eeprom did not work until I disabled interrupts while writing to it ...
  Topic: pointers to struct?
cwf713

Replies: 2
Views: 5111

PostForum: General CCS C Discussion   Posted: Tue Mar 21, 2006 9:39 am   Subject: pointers to struct?
Hello all,

I am migrating from 16F877 to 18F4525 and am having trouble with code that reads a data structure from data eeprom. I am using PCH v 3.6.0.98 and I get the error "invalid type conversio ...
  Topic: Invalid type conversion?
cwf713

Replies: 4
Views: 7188

PostForum: General CCS C Discussion   Posted: Mon Sep 12, 2005 2:45 pm   Subject: Invalid type conversion?
I changed the type def. for the variable *ptr to int and it now compiles.
Thanks for all of the help.

Chris
  Topic: Invalid type conversion?
cwf713

Replies: 4
Views: 7188

PostForum: General CCS C Discussion   Posted: Mon Sep 12, 2005 11:13 am   Subject: Invalid type conversion?
Thank you for the reply. Here is the definition of the data structure.
I don't know if it is valid or not to use a pointer to store the results from read_eeprom() but it works with the old PCM compi ...
  Topic: Invalid type conversion?
cwf713

Replies: 4
Views: 7188

PostForum: General CCS C Discussion   Posted: Mon Sep 12, 2005 9:04 am   Subject: Invalid type conversion?
I am upgrading an existing design from a 16F877 to a 18F4525. The following code compiles and works with the 16F877 device. The compiler is PCM ver. 2.660.

My new compiler is PCH ver. 3.225. I g ...
  Topic: Not enough memory for this operation???
cwf713

Replies: 1
Views: 12053

PostForum: General CCS C Discussion   Posted: Wed Sep 10, 2003 11:15 am   Subject: Not enough memory for this operation???
Hello all,

I am using PCM v2.66 and my target device is 16f877.

The last function I added to my source file made it 64.5 kB. Now
the PCM application gives me a "Not enough memory for this oper ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group