bootloader of s32k

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

bootloader of s32k

858 Views
zhaowei961
Contributor III

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.
Labels (1)
Tags (1)
0 Kudos
1 Reply

681 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hi zhaowei961@163.com‌,

In the following post explain with more detail how to set up the bootloader for the S32K

https://community.nxp.com/thread/464653 

Let me know if this helps you.

Best Regards,

Alexis Andalon

0 Kudos