Hi,
I was able to do what I wanted.
However, I have a doubt about the linker file of the two applications (.ld)
Currently the start address is different but they both have the same size of the text area (of the entire flash) and the same stack position.
Everything seems to work the same but is that correct?
Below is an excerpt of the two linker files:
linker file app 1 (0xa000):
MEMORY
{
m_interrupts (RX) : ORIGIN = 0x0000a000, LENGTH = 0x00000400
m_flash_config (RX) : ORIGIN = 0x0000a400, LENGTH = 0x00000010
m_text (RX) : ORIGIN = 0x0000a410, LENGTH = 0x000FFBF0
m_data (RW) : ORIGIN = 0x1FFF0000, LENGTH = 0x00040000
}
linker file app 2 (0x10000):
MEMORY
{
m_interrupts (RX) : ORIGIN = 0x00010000, LENGTH = 0x00000400
m_flash_config (RX) : ORIGIN = 0x00010400, LENGTH = 0x00000010
m_text (RX) : ORIGIN = 0x00010410, LENGTH = 0x000FFBF0
m_data (RW) : ORIGIN = 0x1FFF0000, LENGTH = 0x00040000
}
Thank you in advance!