Unknown Address Issue Lin Stack

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Unknown Address Issue Lin Stack

735件の閲覧回数
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 返信

719件の閲覧回数
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 件の賞賛