#How does PC fetches Bootloader starting Address
I am creating separate linker file for UDS bootloader and Application code purpose in S32 DS environment.
I am using S32K144 MCU, I wanted to configure my bootloder and application code in P-flash, so i assigned 32kb for bootloader and remaining kb for appplication..
If i assign bootloader memory starting address as 0x00000410 and length = 0x00008410 .After MCU reset the Bootloader firmware should be execute, so how PC can fetch the Bootloader starting address.(Where can i mention the starting address of bootloader?).
boot memory configuration
MEMORY
{
/* Flash */
m_interrupts (RX) : ORIGIN = 0x00000000, LENGTH = 0x00000400
m_flash_config (RX) : ORIGIN = 0x00000400, LENGTH = 0x00000010
m_text (RX) : ORIGIN = 0x00000410, LENGTH = 0x00008410
/* SRAM_L */
m_data (RW) : ORIGIN = 0x1FFF8000, LENGTH = 0x00008000
/* SRAM_U */
m_data_2 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00007000
}
app memory configuration
MEMORY
{
/* Flash */
m_interrupts (RX) : ORIGIN = 0x00000000, LENGTH = 0x00000400
m_flash_config (RX) : ORIGIN = 0x00000400, LENGTH = 0x00000010
m_text (RX) : ORIGIN = 0x0000C410, LENGTH = 0x00020000
/* SRAM_L */
m_data (RW) : ORIGIN = 0x1FFF8000, LENGTH = 0x00008000
/* SRAM_U */
m_data_2 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00007000
}khumphriMandarmarc.paquetteRChapman