Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[ARM] Burning and running program from Flash

Status
Not open for further replies.

a.in

Newbie level 1
Joined
Oct 3, 2016
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
13
Hi,

I have two different linker scripts for Cortex system:
1) run-from-intel-flash.ld
2) boot-from-intel-flash.ld

The difference is for .text and .ARM.exidx sections: in 'run' there is
Code:
>ram AT>rom
and in 'boot' there is only
Code:
>rom
What is the difference between these two options?

For now I can only run program when I use run-from-intel-flash.ld and memory map is like:
Flash -> 0x00000000
RAM -> 0x08000000
Program is written to FLASH and is running after power cycle. It doesn't work with boot-from-intel-flash.ld.

Additionaly there is Remap functionality. I can swap Flash/RAM addresses to:
Flash -> 0x08000000
RAM -> 0x00000000
with external switch on PCB, but I don't know when I could use it and if it helps here.


Could you please make it clear for me?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top