cancel
Showing results for 
Search instead for 
Did you mean: 

RVDK2.1 Vs RVDK 1.0 ( New & Easier Scatter File : Root region)

mohamed23
Associate II
Posted on April 08, 2005 at 15:05

RVDK2.1 Vs RVDK 1.0 ( New & Easier Scatter File : Root region)

1 REPLY 1
mohamed23
Associate II
Posted on April 08, 2005 at 15:05

Hi all,

In previous release of RVDK (1.0), the only sections that had to be root were __main and the region tables. However with RVDK2.1, in the implementation of RW data compression there are more files that must be placed in a root region. ''armlink'' can detect these sections automatically.

You can find below a typical example done on STR710 :

For STR710 with RVDK1.0 :

------------------------------------------------------------------------

FLASH_LOAD 0x40000000; load region starts at 0x40000000

{

FLASH_EXE 0x40000000

{

init.o (Init,+First)

__main.o (*)

* (Region$$Table)

* (ZISection$$Table)

}

RAM_EXE 0x20000000

{

vect.o (Vect,+First)

* (RO,+RW,+ZI)

}

}

For STR710 with RVDK2.1 ( Easier !!)

------------------------------------------------------------------------

FLASH_LOAD 0x40000000; load region starts at 0x40000000

{

FLASH_EXE 0x40000000

{

init.o (Init,+First)

* (InRoot$$Sections)

}

RAM_EXE 0x20000000

{

vect.o (Vect,+First)

* (RO,+RW,+ZI)

}

}

Thanks ST & ARM for this improvement !

For more details refer to ''Linker and Utilities Guide'' Chapter 5.

Regards, :p :o :p :o :-]