S32G3 bootloader jump to M7 app failed, when resolving clock conflicts

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

S32G3 bootloader jump to M7 app failed, when resolving clock conflicts

864 次查看
superyyf
Contributor II

Dear NXP,

I'm trying to resolve time conflicts in multicore booting S32G399A_RDB3. According to the document "S32G_Supplemental_documentation_on_resolving_clock_conflicts_V1-2023.07.03.pdf", the Bootloader is responsible for most of clock configurations, and I've realized the Bootloader boot atf, but there is a problem when the bootloader boots the M7_0 app. While debugging the Bootloader,  hardfault occured when executing the jump instruction as follows:

superyyf_0-1700560440880.png

if I hit a breakpoint before the jump instruction and execute it in single step I can jump to the reset_handler function of the m7_app without any problem. This confused me.

version information:

1. Integration_Reference_Examples_S32G3_2023_02

2. SW32_RTD_4.4_4.0.0

3. EB tresos 27.1

I made the following modifications to the bootloader:

1. remove Mcu_init in SysDal Deinit List

2. change some clock config in Mcu module to keep the same clock config with atf

0 项奖励
回复
0 回复数