I use a µC XMC4800, this controller flash has differnt address section for cached /uncached access
PMU0 Program Flash Bank(non-cached) 2.0 Mbyte at 0C000000
PMU0 Program Flash Bank(cached space) 2.0 Mbyte at 08000000
( different address space for the same physical memory, mapped in the non-
cached address space )
With the GNC linker i can set a VMA(virtual memory address) and a LMA(load memory address)
For example:
MEMORY
{
FLASH_0_cached(RX) : ORIGIN = 0x08000000, LENGTH = 0x00010000
FLASH_0_uncached(RX) : ORIGIN = 0x0C000000, LENGTH = 0x00010000
}
.reset :
{
KEEP(*(.reset));
} > FLASH_0_cached AT > FLASH_0_uncached
Is this also possible with the segger linker ?
Thanks,
Embedded
PMU0 Program Flash Bank(non-cached) 2.0 Mbyte at 0C000000
PMU0 Program Flash Bank(cached space) 2.0 Mbyte at 08000000
( different address space for the same physical memory, mapped in the non-
cached address space )
With the GNC linker i can set a VMA(virtual memory address) and a LMA(load memory address)
For example:
MEMORY
{
FLASH_0_cached(RX) : ORIGIN = 0x08000000, LENGTH = 0x00010000
FLASH_0_uncached(RX) : ORIGIN = 0x0C000000, LENGTH = 0x00010000
}
.reset :
{
KEEP(*(.reset));
} > FLASH_0_cached AT > FLASH_0_uncached
Is this also possible with the segger linker ?
Thanks,
Embedded