Unknown Address Issue Lin Stack

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

Unknown Address Issue Lin Stack

658 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
1 Reply

642 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