Page 1 of 1

Start address

Posted: Mon Jan 06, 2020 8:39 am
by samir
Hello
I need to change the start address from A0002020 to A0000000 in erika demo for TC397XE.
How can I do?
Bets regards

Re: Start address

Posted: Thu Jan 09, 2020 10:47 am
by e.guidieri
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";
     };
     ...
   };

Re: Start address

Posted: Fri Jan 10, 2020 8:04 am
by samir
how can i find the linker script in erika files?