a.in
Newbie level 1
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
and in 'boot' there is only
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?
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
Code:
>rom
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?