P2041 e500mc MCSR[LDG] error without [LD], No Errors Found

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

P2041 e500mc MCSR[LDG] error without [LD], No Errors Found

跳至解决方案
1,852 次查看
mehmetcelik
Contributor II

Hi there,

I have a question regarding to getting details about 'LDG (Guarded Load Instruction)'
error reporting.

First of all we are using P2041 as the processor and according to
'E500MC Core Reference Manual, Rev. 3' document, Machine Check Syndrome Register (MCSR) has
a field named 'LDG'.

We receive the LDG bit of MCSR without the LD bit set and we couldn't identify the error. Set only if the error encountered by the load was an L2 or CoreNet error.` So if LDG field is set without the LD then that means we have error related to L2 or CoreNet. Therefore, when we saw the LDG field is set, we read the following registers to identify where the issue is.

For the CoreNet Part:
- CCF_CEDR
- CPC_CPCERRDET
- CPC_CPCCAPTECC
- CPC_CPCERRATTR
- CPC_CPCERRADDR
- CPC_CPCERREADDR
- CPC_CPCCAPTDATALO
- CPC_CPCCAPTDATAHI

For the L2 Part:
- L2ERRDET
- L2ERRATTR
- L2ERRADDR
- L2CAPTDATALO
- L2CAPTDATAHI

Other registers:
- MCAR
- MCARU
- MCSRR0

But according to our readings, those registers do not indicating any error. They are all clear.
So the question is are we missing any register that could help us to find the issue?

We are using 'QorIQ P2040 Reference Manual, Rev.4' as a reference for the CoreNet registers.

Thank you,

标记 (4)
1 解答
1,762 次查看
alexander_yakov
NXP Employee
NXP Employee

Do you get this MCSR[LDG] when Error Report Machine Check Interrupt occurs? Or you see this bit set, but no Error Report Machine Check Interrupt reported? We have errata A-004770 stating that MCSR[LDG] may be set when asynchronous interrupt is taken.  


Have a great day,
Alexander,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

2 回复数
1,762 次查看
mehmetcelik
Contributor II

Thank you Alexander, that seems to be the issue here.

Cheers,

0 项奖励
回复
1,763 次查看
alexander_yakov
NXP Employee
NXP Employee

Do you get this MCSR[LDG] when Error Report Machine Check Interrupt occurs? Or you see this bit set, but no Error Report Machine Check Interrupt reported? We have errata A-004770 stating that MCSR[LDG] may be set when asynchronous interrupt is taken.  


Have a great day,
Alexander,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------