[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

Cookies are required to use this site. You must accept them to continue using the site. Learn more…