Moving start address of program

Hi all,

I am working with an Arduino Due, and I need to make my program start at memory address 0xA0000. I used the linker flag


to successfully change the address of the the .text section of the compiled ELF file. However, after uploading, the Arduino does not run any code, so I think it is stuck at 0x80000 (default address) with no code to run.

How can I make my program start running from 0xA0000?


You likely need to change the bootloader. It likely has the start address fixed. When you load your image the bootloader still starts the code at the default start address.

Why do you need to do this?