Go to Post its pretty great when non FIRST friends go into your purse for chapstick or something and find a spike... - anna~marie [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-02-2006, 14:02
Jon236's Avatar
Jon236 Jon236 is offline
Registered User
AKA: Jon Mittelman
FRC #2648 (Infinite Loop)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Windsor, Maine
Posts: 741
Jon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond repute
Error Linking for '05 RC

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
  #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,862
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.
  #3   Spotlight this post!  
Unread 12-02-2006, 14:30
Jon236's Avatar
Jon236 Jon236 is offline
Registered User
AKA: Jon Mittelman
FRC #2648 (Infinite Loop)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Windsor, Maine
Posts: 741
Jon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond repute
Re: Error Linking for '05 RC

Quote:
Originally Posted by Mark McLeod
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.
Thanks....I came up with 36.6 k for our 2006 code....will try to trim it!

Jon
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 13:55.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi