|
|
View previous topic :: View next topic |
Author |
Message |
rosscoe Guest
|
will ccs rid me of memory problems if i change from c18? |
Posted: Sat Nov 17, 2007 1:12 am |
|
|
Sorry if this is not the place for this.
I would like to ask users of ccs if the memory management features of the ccs compiler will ease the issues with memory corruption, and what appears to be continual issues with addressing the correct bank, with global structures and pointers even though I try to use full addressing to avoid the problems? Also does it deal with the software stack as it is known in c18?
I am working on a pretty intense maths app, with lots of data in an 18f8720. I have developed my functions one at at a time but now I try to put it all together the fun starts.
Rosscoe. |
|
|
Ttelmah Guest
|
|
Posted: Sat Nov 17, 2007 3:20 am |
|
|
At heart, almost certainly no.
C18, is pretty good. In common with the CCS compiler, you have to remember that the PIC chips themselves have no memory manager. As such, there is nothing in the hardware, to prevent a function accessing memory outside the area it is meant to. The commonest cause of memory problems on _both_ compilers, is a programming error...
Best Wishes |
|
|
Darren Rook
Joined: 06 Sep 2003 Posts: 287 Location: Milwaukee, WI
|
|
Posted: Mon Nov 19, 2007 12:05 pm |
|
|
At the very least, CCS will let you have structures larger than 256 bytes without having to change a linker script.... _________________ I came, I saw, I compiled. |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|