View Single Post
  #2   Spotlight this post!  
Unread 12-02-2006, 14:16
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,817
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: Error Linking for '05 RC

Quote:
Originally Posted by Jon236
Trying to utilize last year's RC, we have tried to follow Kevin's instructions. However we have gotten the following error on linking:
Error - section '.code_serial_ports.o' can not fit the section. Section '.code_serial_ports.o' length=0x000002d4

Any suggestions on what this means and what we can do to correct the problem?

Jon Mittelman
Team236
Sounds too big to me.

Check to see the amount of space your code takes up on the 2006 RC before you ported it.
MPLAB -> View -> Memory Usage Gauge (but multiple the program space usage by 2 to get # bytes)
or
look at the .map file that can be created in your project directory.

Realistically you have around 29K bytes available on the older RCs.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 12-02-2006 at 14:20.