| Author |
Message |
ZeleC
Joined: 18 Dec 2002 Posts: 296 Helped: 2
|
26 Oct 2006 8:13 PCW compiler & RAM problem |
|
|
|
|
Hello Guys
Im having problem with using the RAM inside a pic16f877
well the problem is that im using PIC C PCW Compiler and when compiling the compiler shows about 40 % of the RAM memory is free that is more than 180 byte free , but when i try to create anarray of bytes with 150 bytes dimension, this is not possible the compiler gives me an error. i think that the compiler doesnt cascade the variable one after another but at different memory address ...
well is there a work arround such a problem?
thx
Always Ready to Learn...
|
|
| Back to top |
|
 |
robzane
Joined: 11 Jun 2006 Posts: 5
|
30 Oct 2006 17:11 Re: PCW compiler & RAM problem |
|
|
|
|
| I had several ram problems with pcw compiler, when I contacted CCS support I remember that they resolved my problems upgrading the software and saynig that they had problems and cancelled them in various steps
|
|
| Back to top |
|
 |
Google AdSense

|
30 Oct 2006 17:11 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
ZeleC
Joined: 18 Dec 2002 Posts: 296 Helped: 2
|
30 Oct 2006 19:01 PCW compiler & RAM problem |
|
|
|
|
| so if i understood u , u solved this problem with an upgrade ? and to what version of CCS u upgraded to solve this problem.
|
|
| Back to top |
|
 |
roykyn
Joined: 15 Sep 2006 Posts: 254 Helped: 7
|
30 Oct 2006 19:22 Re: PCW compiler & RAM problem |
|
|
|
|
i dont think upgrading is the solution....it depends on the progran..i think u r having an error there.....try using as less variables as possible....upload ur program may be we can help u in that......
i have seen two ram usages being displayed after building the project on output screen.....the max usage and the min usage.....it uses the ram when required....and overwrites it to save space....
|
|
| Back to top |
|
 |