Unknown Address Issue Lin Stack

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

Unknown Address Issue Lin Stack

1,022 次查看
itsnewforme
Contributor IV

Hi, I'm using S12 ECU as Lin Slave for Reprogramming using Lin Stack. I've added Lin stack, Ldf and Npf Files and generated the Lin configuration files using Nxp tool.

I've also added functions to setup lin interface like lin_ifc_init() and lin_sys_init in main function.

But after using the EnableInterrupts the code goes to unknow address.

itsnewforme_0-1679398051324.png

itsnewforme_1-1679398088742.png

I'm also attaching the .prm file of the workspace.

Please let us know how to resolve this issue

0 项奖励
回复
1 回复

1,006 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @itsnewforme,

Before the interrupts are unmasked, can you check which interrupt flags are set (pending)?

Are there ISRs for all the interrupts?

You can use something like this catcher:

https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12Z-Interrupt-catcher-for-unexpected-inter...

 

BR, Daniel

0 项奖励
回复