Hi everybody!
I encounter situations where a machine check exception results in the program getting stuck in IVOR1_Vector which has no implementation, this exception occurs when it is writing into the Control Status Register. for reference, I have attached a image.
And the error it gives is No source available for IVOR1_handler.
Any information and tips would be highly appreciated.
Best Regards.
Rohit
Solved! Go to Solution.
Hello,
Issue : I encountered an issue while configuring the eMIOS timer module for PWM generation in NXP MPC5748G with AUTOSAR 4.0 MCAL. The MCAL generation resulted in an "IVOR1_handler source not found" error and register access errors during debugging.
Solution : Switching to NXP MPC5748G with AUTOSAR 4.3 MCAL resolved the problem.
Hi Peter,
Thanks for the solution, and I have another question just like IVOR1_Handeler, I am now facing IVOR6_Handler().
And the error it shows is No source available for "IVOR6_Handler() at 0x1002be0"
Any information and tips would be highly appreciated.
Best Regards.
Rohit
Hello,
IVOR6 is usually called when you execute instruction which is not correct. For example if your code ends up in reserved memory / unimplemented / or not initialized one.
See core manual for more details:
Best regards,
Peter
Hello,
That is correct. Machine check should end up in IVOR_1 vector.
And the error it gives is No source available for IVOR1_handler.
Hmm, it looks like you are missing source file link in your debug session. Nothing critical, you will just see assembly code instead.
Debug the code, to see if you have access to the register you are trying to write from requesting master.
Just step the code in assembly and you will find the root cause in no time.
The register is clocked, and set correctly, right?
Best regards,
Peter
Hello Peter,
The both registers (eMIOS_Cn , eMIOS_Sn) have Read and Write access but still its giving IVOR1 Interrupt, What might be the reason for this issue.
Hello Peter,
Insertion Buffered (OPWMCB) Mode through eMIOS_0 module, but i am facing some issue related to IVOR1 when writing to register which has read and write access.
Hello,
Its not possible to say why IVOR is called from screenshot.
This require debugging to see what instruction is causing the issue.
To me it seems like you do not have clocked eMIOS in your current RUN mode.
Best regards,
Peter
Hello,
Issue : I encountered an issue while configuring the eMIOS timer module for PWM generation in NXP MPC5748G with AUTOSAR 4.0 MCAL. The MCAL generation resulted in an "IVOR1_handler source not found" error and register access errors during debugging.
Solution : Switching to NXP MPC5748G with AUTOSAR 4.3 MCAL resolved the problem.