MPC5675K - How to reset FCCU Safe Mode request

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

MPC5675K - How to reset FCCU Safe Mode request

517 Views
lorenzo_conti
Contributor I

In my application I let the SWT expire. It causes a restart from first flash vaid boot sector. I trapped the fetch at 0x00000020 and I see in MC_ME: S_CURRENT_MODE=SAFE, IS.I_SAFE=1, DMTS.SMR=1; bits set in MC_RGM: FES.F_FCCU_SAFE, F_FCCU_HARD, F_SWT. In FCCU, after a command [OP3] to get the state, I observe: STAT=FAULT and nothing set in CFS0, CFS1, NCFS0.

I cannot move ME from SAFE to DRUN until I reset pending I_SAFE, but SMR tells me that I cannot do that until I reset RGM.FES, but FES.F_FCCU_SAFE is stucked to 1 and I cannot reset it until (I presume) I remove the root cause in the FCCU. But how can I do that? And why I have no evidence of the origin in the FCCU?

 

(Side note: at this point I can only cause an external reset via JTAG, and see FCCU going back to NORMAL and then I can clear all the interrupt chain up to MC_ME and moving from SAFE to DRUN)

Thank you

Labels (1)
1 Reply

424 Views
lorenzo_conti
Contributor I

SOLVED:

FCCU [OP9] and [OP10] to unveil CFS and NCFS; reset them using key protocol, then FCCU goes to NORMAL, MC_RGM FES may be cleared, ME IS may be cleared and mode can be switched to DRUN.