Hi
The serial loader is the one called "uTaskerSerialBoot"
The linker script file can be modified to add a shift to the start of the application:
From:
MEMORY
{
m_interrupts (RX) : ORIGIN = 0x00000000, LENGTH = 0x00000400
m_flash_config (RX) : ORIGIN = 0x00000400, LENGTH = 0x00000010
m_text (RX) : ORIGIN = 0x00000410, LENGTH = 0x000FFBF0
m_data (RW) : ORIGIN = 0x1FFF0000, LENGTH = 0x00010000
m_data_2 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00030000
}
To:
Assuming 0x8000 shift it becomes
MEMORY
{
m_interrupts (RX) : ORIGIN = 0x00008000, LENGTH = 0x00000400
m_flash_config (RX) : ORIGIN = 0x00008400, LENGTH = 0x00000010
m_text (RX) : ORIGIN = 0x00008410, LENGTH = 0x000FFBF0-0x8000
m_data (RW) : ORIGIN = 0x1FFF0000, LENGTH = 0x00010000
m_data_2 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00030000
}
The flash configuration is not required in the application but can be left there if it proves complicated to remove it.
To ensure that the linker generates a waring on case the code is so large that it conflicts with parameters are 0xfa000 it can also be modified as:
m_text (RX) : ORIGIN = 0x00008410, LENGTH = 0x000FFBF0-0x8000-0x6000
In the opriginal case it can also be modified:
m_text (RX) : ORIGIN = 0x00008410, LENGTH = 0x000FFBF0-0x6000
Regards
Mark
Kinetis: http://www.utasker.com/kinetis.html
K64: http://www.utasker.com/kinetis/FRDM-K64F.html / http://www.utasker.com/kinetis/TWR-K64F120M.html / http://www.utasker.com/kinetis/TWR-K65F180M.html
Boot loader: http://www.utasker.com/docs/uTasker/uTaskerSerialLoader.PDF
For the complete "out-of-the-box" Kinetis experience and faster time to market