bootloader of s32k

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

bootloader of s32k

859 次查看
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.
标签 (1)
标记 (1)
0 项奖励
1 回复

682 次查看
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 项奖励