View Single Post
  #4   Spotlight this post!  
Unread 18-03-2008, 19:36
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
Re: HELP - Link Error "Will Not Fit Section" 8520PIC

On last 8520 build before linker problems, program mem was 12800 out of 16k. Data memory 963 out of 2k

After I split user_routines.c into two files...
-8722 builds with 15871 of 65K program memory, 1145 out of 3935 data memory.

- 8520 fails to link with Error - section '.code_putc.o' can not fit the section. Section '.code_putc.o' length=0x00000084

If the 8520 only has 16K program memory, then maybe I have run out of it given I'm up at 15,871 on the 8722.

However, this is a different problem than I originally reported, that being being out of idata (which sounds like your 256b global memory per file). But that might have been solved by splitting the files.

I am going to have to read up on the architecture.