EmbDev.net

Forum: ARM programming with GCC/GNU tools more lwip FreeRTOS 7x256 problems: "region full"


von Lars P. (lpaape)


Rate this post
useful
not useful
With the hints from this forum (missing system calls) I got my toolchain
to
compile the project.  However the linker runs into an error with the
linker script
"region full".
(256k Flash, 64k Ram -> which also works fine for my other project).
Looks like
7xk are needed :(

Did anyone get the application running on a SAM7X256 with the sources
available from FreeRTOS?

Using WinARM or Cygwin/GNUARM did produce the same errors...

My own sample application works fine... any ideas...?

Thanks!

von Martin Thomas (Guest)


Rate this post
useful
not useful
Lars Paape wrote:
> With the hints from this forum (missing system calls) I got my toolchain
> to
> compile the project.  However the linker runs into an error with the
> linker script
> "region full".
> (256k Flash, 64k Ram -> which also works fine for my other project).
> Looks like
> 7xk are needed :(
>
> Did anyone get the application running on a SAM7X256 with the sources
> available from FreeRTOS?
>
> Using WinARM or Cygwin/GNUARM did produce the same errors...
>
> My own sample application works fine... any ideas...?

- Which region is full?
- Memory-configuration in linker-script correct?
- Compiled with -Os?
- Compiled the non-ISR-code with Thumb/Thumb-Interwork?

Martin Thomas

von Lars P. (lpaape)


Rate this post
useful
not useful
Martin Thomas wrote:
Hi Thomas

> - Which region is full?

region ram is full (rtosdemo.elf section .bss)

> - Memory-configuration in linker-script correct?
MEMORY
{
        flash   : ORIGIN = 0x00100000, LENGTH = 256K
        ram             : ORIGIN = 0x00200000, LENGTH = 64K
}
rest as in atmel-rom.ld

> - Compiled with -Os?
yes...

> - Compiled the non-ISR-code with Thumb/Thumb-Interwork?
i've used the regular makefile, coming with the freertos sources ?
>
... no more clues from side... thanks
Lars Paape

von Martin Thomas (Guest)


Rate this post
useful
not useful
Lars Paape wrote:

>> - Which region is full?

Maybe the config/makefile options are set for "run from RAM" so code and
data is placed in the RAM. Check the used linker-script the sequence
after .text { ends with ">ram" if yes, try to change it to ">flash".

Martin Thomas

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.