Linker command meaning for bsp tms570

Sebastian Huber sebastian.huber at embedded-brains.de
Thu May 16 11:37:27 UTC 2019


On 16/05/2019 13:00, Aby Tom wrote:
> Hello everyone,
> Can anyone help me to understand what does the linker commands mean?
> It is in the linkcmds of bsp tms570.
>
> MEMORY {
>
> ROM_INT (RX) : ORIGIN = 0x00000000, LENGTH = 3M
>
> RAM_INT_VEC : ORIGIN = 0x08000000, LENGTH = 256
>
> RAM_INT (AIWX) : ORIGIN = 0x08000100, LENGTH = 256k - 256
>
> RAM_EXT (AIWX) : ORIGIN = 0x80000000, LENGTH = 8M
>
>               }
>
> To my understanding,
> ROM_INT (RX) represends for the Flash memory.
> RAM_INT_VEC is for RAM VIM(Interrupt Vector Table).
> RAM_INT (AIWX) is for SDRAM and RAM_EXT (AIWX) for external RAM if you 
> have one.
> Am I correct about the explanations?

Yes, looks good.

> If not can you tell me the proper meaning for these?
> And also what does AIWX mean?

https://sourceware.org/binutils/docs/ld/MEMORY.html#MEMORY

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the users mailing list