Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Moving start address of program (Read 1553 times)
mephisto
Newbies
*
Offline


Posts: 2
Joined: Jan 13th, 2020
Moving start address of program
Jan 13th, 2020 at 12:28pm
Print Post  
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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Moving start address of program
Reply #1 - Jan 13th, 2020 at 12:29pm
Print Post  
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
Joined: Jan 13th, 2020
Re: Moving start address of program
Reply #2 - Jan 13th, 2020 at 12:35pm
Print Post  
Okay I will try to ask there as well. Thanks.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint