AnsweredAssumed Answered

bootloader of s32k

Question asked by zh ew on Feb 17, 2020
Latest reply on Feb 21, 2020 by Alexis Andalon

When porting the bootloader of s32k to s32k118, it cannot enter the main function normally.The linked files are as follows

 /* Flash */
  m_interrupts          (RX)  : ORIGIN = 0x00000000, LENGTH = 0x000000C0
  m_flash_config        (RX)  : ORIGIN = 0x00000400, LENGTH = 0x00000010
  m_text                (RX)  : ORIGIN = 0x10000000, LENGTH = 0x00002000 /* Only 8 kB are allowed for the bootloader relaease and 6K for debug */
  /* SRAM_L */
  /* SRAM_U */
  m_data                (RW)  : ORIGIN = 0x20000000, LENGTH = 0x000030C0
  m_data_2              (RW)  : ORIGIN = 0x200030C0, LENGTH = 0x00002740
When I change this part of the linked file to  
m_text                (RX)  : ORIGIN = 0x00000410, LENGTH = 0x00002000 /* Only 8 kB are allowed for the bootloader ,it can enter the main function normally.what is the reason,why not  0x10000000?I need help,who can help me ?thank you.

Outcomes