2392715_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2392715_en-US

2392715_en-US

MPC5744P IVOR1 Machine Check Handler not hit with uncorrectable FLASH ECC error on RTOS, baremetal S
Hi,I am using the FLASH_ECC_Error_Injection_MPC5744P demo project from SDK 2.1 to test FLASH ECC fault handling.
  1. In the bare-metal SDK example:After calling Generate_noncorrectable_FLASH_ECC_error, the core properly traps the fault and enters Machine_check_handler (IVOR1 Handler) as expected.
  2. After porting the identical ECC injection logic to my RTOS-based project:No machine check exception occurs, and the code never jumps into Machine_check_handler.
I have already completed the following porting & configuration steps:
  • Fully ported and defined IVOR1_Handler in the startup .s assembly file, consistent with the bare-metal demo;
  • Full FCCU alarm interrupt configuration is implemented, but no FCCU alarm interrupt is triggered either when injecting the uncorrectable FLASH ECC error.
I have 3 core questions to troubleshoot this issue:
  1. What mandatory hardware/register configurations are required to enable entry to the Machine Check Handler (IVOR1) for FLASH uncorrectable ECC errors?
  2. Are there special considerations or constraints when running ECC fault injection and machine check exception handling under an RTOS?
  3. Could you provide a step-by-step debug/troubleshooting workflow to locate the root cause of this missing machine check exception?
Re: MPC5744P IVOR1 Machine Check Handler not hit with uncorrectable FLASH ECC error on RTOS, baremet

I don't know mentioned example, I suppose it is ported version on my appnote I did with using of GHS compiler.
https://www.nxp.com/docs/en/application-note/AN13179.pdf
https://www.nxp.com/docs/en/application-note-software/AN13179SW.zip

If RTOS affects the bahavior, then it is needed to investigate what is does with MSR register. Pay attention to chapter 5.

Also you may check section 8 to understand ECC handling.

タグ(1)
評価なし
バージョン履歴
最終更新日:
金曜日
更新者: