Start address

Forum related to ERIKA Enterprise and RT-Druid version 3

Moderator: paolo.gai

Post Reply
samir
Newbie
Posts: 15
Joined: Thu Jan 02, 2020 9:43 am

Start address

Post by samir » Mon Jan 06, 2020 8:39 am

Hello
I need to change the start address from A0002020 to A0000000 in erika demo for TC397XE.
How can I do?
Bets regards

e.guidieri
Full Member
Posts: 166
Joined: Tue May 10, 2011 2:05 pm

Re: Start address

Post by e.guidieri » Thu Jan 09, 2020 10:47 am

You need to rewrite the linker script.

If you want to use the linker script that we provide you need to change the boot mode headers, using the EE_OPT explained here:

http://www.erika-enterprise.com/wiki/in ... al_EE_OPTs

and using the Lauterbach with the script we provide.

If you don't want, you can't change BMHDs you need to provide you own liker script.

http://www.erika-enterprise.com/wiki/in ... KER_SCRIPT

Code: Select all

   CPU_DATA = TRICORE {
     COMPILER = TASKING {
          LINKER_SCRIPT = "[/]path/to/custom/linker_script";
     };
     ...
   };

samir
Newbie
Posts: 15
Joined: Thu Jan 02, 2020 9:43 am

Re: Start address

Post by samir » Fri Jan 10, 2020 8:04 am

how can i find the linker script in erika files?

Post Reply