Unknown Address Issue Lin Stack

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unknown Address Issue Lin Stack

1,022 Views
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 Kudos
Reply
1 Reply

1,006 Views
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 Kudos
Reply