Machine check exceptions (IVOR1)in MPC5748G

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

Machine check exceptions (IVOR1)in MPC5748G

跳至解决方案
1,050 次查看
rohitv
Contributor II

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

0 项奖励
回复
1 解答
905 次查看
rohitv
Contributor II

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.

在原帖中查看解决方案

0 项奖励
回复
7 回复数
1,033 次查看
rohitv
Contributor II

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

0 项奖励
回复
1,029 次查看
petervlna
NXP TechSupport
NXP TechSupport

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:

petervlna_0-1711611877922.png

Best regards,

Peter

 

0 项奖励
回复
1,037 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

That is correct. Machine check should end up in IVOR_1 vector.

petervlna_0-1711535867606.png

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

 

0 项奖励
回复
1,023 次查看
rohitv
Contributor II

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.   

0 项奖励
回复
1,021 次查看
rohitv
Contributor II

Hello Peter,

Need one more help as I am working on MPC5748g, and I am trying to configure Center Aligned Output Pulse Width Modulation with Dead Time

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.

 
I have attached an image to your reference. 
 
Any information and tips would be highly appreciated.
 
Thanks and Regards.
Rohit Veer
0 项奖励
回复
925 次查看
petervlna
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复
906 次查看
rohitv
Contributor II

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.

0 项奖励
回复