Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Moving start address of program (Read 41 times)
mephisto
Newbies
*
Offline



Posts: 2
Moving start address of program
Jan 13th, 2020 at 12:28pm
 
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

-Wl,-section-start=.text=0xA0000

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?

Thanks.
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10739
United Kingdom
Re: Moving start address of program
Reply #1 - Jan 13th, 2020 at 12:29pm
 
It is best to ask general mcu architecture questions in the forum for the board you have. In your case that will be the forum at arduino.cc
Back to top
 
WWW  
IP Logged
 
mephisto
Newbies
*
Offline



Posts: 2
Re: Moving start address of program
Reply #2 - Jan 13th, 2020 at 12:35pm
 
Okay I will try to ask there as well. Thanks.
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print