more lwip FreeRTOS 7x256 problems: "region full"

OP #1171292
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!
Guest #1171293
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
OP #1171294
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
Guest #1171295
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

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.