About program running when FCCU initialization problem

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

About program running when FCCU initialization problem

2,864 Views
DELPHI_Eric
Contributor III

Hi,everyone:

When debugging program running, always occasional card while (FCCU.CTRL.B.OPS! = 0x3) in FCCU_init the debug tool to see fault address 00001000 and 00410000, the NCF [16], NCF [ 22], NCF [44] can not afford to clear the fault, Looking forward to your reply, thank you!

Labels (1)
0 Kudos
Reply
7 Replies

2,438 Views
petervlna
NXP TechSupport
NXP TechSupport

You cannot pass the:

while(FCCU.CTRL.B.OPS != 0x3);

because your FCCU NCFSx registers still hold an active fault.

Make sure all your faults are cleared before entering any FCCU configuration mode.

Peter

0 Kudos
Reply

2,438 Views
DELPHI_Eric
Contributor III

Hi! Peter,

I find,A case,can through debugging while(FCCU.CTRL.B.OPS != 0x3)

ClearMEMU_ERR_FLAG();
ClearNCF();
ClearNCF();

FCCU_Init();
test_22 = MEMU_handler();
//
Generate_noncorrectable_FLASH_ECC_error();

But,enter configuration mode and have a relationship with ClearMEMU_ERR_FLAG(); ?

So can you tell me why?

Thanks!

0 Kudos
Reply

2,438 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

Your FCCU is in fault state according to your code.

To solve this issue please follow my FCCU guide.

MPC574xP - FCCU configuration guide

Peter

0 Kudos
Reply

2,438 Views
DELPHI_Eric
Contributor III

OK,Dear Peter,Thank you for your reply.But as you said, to guide and DEMO, sometimes data or will be written into each interval can be written once again they can not be written, and then can be written.

屏幕截图.jpgIs SWT must be disabled problem?

0 Kudos
Reply

2,438 Views
petervlna
NXP TechSupport
NXP TechSupport

I recommend you to disable SWT before entering CONFIG state.

Clear the fault in FCCU NCFSx registers.

As described in guide:

pastedImage_0.png

Then your FCCU will be in normal state and then you can enter CONFIG state:

pastedImage_1.png

0 Kudos
Reply

2,438 Views
DELPHI_Eric
Contributor III

When injected into a fake failure before commissioning through. But injecting a fake uncorrectable flash ecc fault will be through, not passing through a phenomenon does not pass.In “while(FCCU.CTRL.B.OPS != 0x3);” not passed.When the initial programming is not passed, the next power-down re-burn through.

0 Kudos
Reply

2,438 Views
DELPHI_Eric
Contributor III

Dear Peter,glad your reply.But I have disabled software watchdog before entering CONFIG state,as the following:

屏幕截图.jpg

0 Kudos
Reply