Thread: Malloc?
View Single Post
  #6   Spotlight this post!  
Unread 03-02-2007, 17:53
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Malloc?

If you're using MPLAB you can see that info. about your program at:

View -> Memory Usage Gauge

Note that the program memory is expressed in two-byte integers, but Data Memory is number of bytes.

You can also set a flag in MPLAB under Project -> Build Options -> Project, then the MPLINK Linker tab and click on "Generate map file." That'll create a text file in your project directory with the extension .map that shows you where your variables get pegged in the PIC memory.

The PIC we're using this year (and last year's '06 version as well) has more memory, e.g.128k of program memory.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 03-02-2007 at 17:58.