View Single Post
  #1   Spotlight this post!  
Unread 18-03-2008, 14:12
de_ de_ is offline
Registered User
AKA: Dave Edwards
FRC #1310 (Runnymede Robotics)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Toronto, Ontario
Posts: 256
de_ is a jewel in the roughde_ is a jewel in the roughde_ is a jewel in the roughde_ is a jewel in the rough
HELP - Link Error "Will Not Fit Section" 8520PIC

I have read other posts on this and mine seems to be different

Note this error occurs when the target is 8520 but not on the 8722. However my development test CPU setup is an 8520 which is essential for testing..

Error - section '.idata_user_routines.o_i' can not fit the section....

It appears my statically initialized user variables won't fit in one FF "bank" or "section"??? . I have apparently not been successfully in modifying the linker script to combine banks. No matter what I do in terms of #pragma idata commands and script commands, all idata is combined and seems to be limited to FF even though the bank is merged and has 1FF. I am not aware of any large initialized arrays etc.

I don't believe splitting code out to other modules will help, idata is idata and will be merged by the linker to one common section ??? I can't see any major opportunity to shrink the size yet.

Also, how do I get a listing ? I would love to be able to identify the source of each item in the idata section.