S32K144

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

S32K144

815 次查看
zq1
Contributor III

i am building a udsboot loader ,so i need a app for test, i build a app by changing the boot project,

the app project is from bootloader projrct ,the bootloader projrct is running ok;

but the app project always into trap,

zq1_0-1690457051923.png

i just change the link file and add a reloacte vtor 

zq1_1-1690457130188.png

zq1_2-1690457189363.png

 

below is my bootloader project ,the bootloader project is running ok

zq1_3-1690457259468.pngzq1_4-1690457279938.png

hope someone give me some advice

0 项奖励
回复
3 回复数

797 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@zq1

This is normal!
You have modified the address of the link file, which will prevent you from directly debugging the APP program, because the default startup address starts from 0.
Usually we modify the link file after confirming that there is no problem with the APP program.

0 项奖励
回复

792 次查看
zq1
Contributor III

thank you very much,yesterday,i have comfired that there is some problems in my app project .

first, my project is from my boot project, my boot project runs well,i just relocate the interrupt table and link file compared with my boot project in my app project ,when my program jump into to my app project from boot project,i found that the program can't enter lpit irq hander function in my app project,how should i to find the cause?

hope your repley

0 项奖励
回复

788 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@zq1

AN12218: S32K1xx Bootloader – Application Note 

https://www.nxp.com/search?keyword=AN12218&start=0 

Senlent_0-1690528734234.png

Refer to this example to learn how to make Boot and APP programs.

0 项奖励
回复