IVOR6 ISSUE

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

IVOR6 ISSUE

1,335 Views
binbinding
Contributor I

I use the PE tools chosen the download debug session  to download the SW, When first download sw successful, the sw run normal ,next step I stop the debug session, power off the mcu and power on mcu, chosen the attach debug session, it stop exception IVOR6.

My mcu is MPC5646B

According to AN5200.pdf and e200z4RM.pdf to analysis.

MCSR register is EXCP_ERR :1

MAV:1

MEA:1

IF:1

BUS_IRERR:1

MCAR register is 0x000400d0

MCSRR0 is 0

FEAR register is 0xdfecdb57.

So according to the AN5200.pdf  5.1.1 Machine Check Syndrome Register (MCSR)

it belong to the error"Error caused by attempt to execute of instruction affected by ECC multibit error sets
MCSR[MAV, IF, BUS_IRERR]."

360截图20180305110107572.jpg

360截图20180305104844202.jpg

360截图20180305104844202.jpg

as show below:

360截图20180305104844202.jpg

 Can you help how to analysis the  issue and find out the reason?

probably the PE attach tools cause or in actual   my source code is high risk ?

thanks very much!

2 Replies

1,037 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, if you get IVOR6

pastedImage_1.png

then you are supposed to investigate ESR and SRR0/1 registers, not the ones related to machine check.

pastedImage_3.png

1,037 Views
binbinding
Contributor I

yes,I catch the exception IVOR6

e200z4 ESR register value is 0x08000000,means that PIL Illegal Instruction exception

SRR0 register value is 0x00047d90 which locate in the Cflash array 0, search in the map file " 00006d20 0000f2 00047d20 00008d20 16 Rte_Switch_EcuM_ecuM_currentMode_currentMode Rte_Internal_EcuM.o "

SRR1 register value is 0x00008000 EE bit is 1

360截图20180309102750608.jpg 

360截图20180309103005327.jpg

11166.jpg

Do you think use PE attach debug mode can cause the llegal Instruction exception? or other maybe code running the write the Dflash when PE micro attach debug session casue this IVOR6?

0 Kudos