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 4 matches
CCS Forum Index
Author Message
  Topic: memory allocation
clockuser

Replies: 12
Views: 32303

PostForum: General CCS C Discussion   Posted: Wed Oct 08, 2003 12:39 pm   Subject: problem solved!!
hi all,

thanks for all your replies. yes, it is a programming fault.

i couldnt post the whole code because it was huge and there were a lot of nested functions.

what i found was that in on ...
  Topic: memory allocation
clockuser

Replies: 12
Views: 32303

PostForum: General CCS C Discussion   Posted: Wed Oct 08, 2003 11:44 am   Subject: my code
hi all,

a portion of my code.......

#include<16f877.h>
#include<string.h>

#use delay(clock=18432000)
#use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7,errors)
#fuses HS,NOW ...
  Topic: memory allocation
clockuser

Replies: 12
Views: 32303

PostForum: General CCS C Discussion   Posted: Wed Oct 08, 2003 11:25 am   Subject: still didn't work
hi all,

I thank you for your suggestions. I tried making my variables static, that helped but it started affecting the other variables which can't be made static such as function parameters. u ...
  Topic: memory allocation
clockuser

Replies: 12
Views: 32303

PostForum: General CCS C Discussion   Posted: Tue Oct 07, 2003 10:40 am   Subject: memory allocation
hi all,

i am new to the forum, i am using CCS PCM version 3.149. the variables share memory locations to optimize the RAM.

the problem is that my variables get reused WHILE the functio ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group