About program running when FCCU initialization problem

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

About program running when FCCU initialization problem

2,874 次查看
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!

标签 (1)
0 项奖励
回复
7 回复数

2,448 次查看
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 项奖励
回复

2,448 次查看
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 项奖励
回复

2,448 次查看
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 项奖励
回复

2,448 次查看
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 项奖励
回复

2,448 次查看
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 项奖励
回复

2,448 次查看
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 项奖励
回复

2,448 次查看
DELPHI_Eric
Contributor III

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

屏幕截图.jpg

0 项奖励
回复