S32k322, Driver Mcu - function Clock_Ip_CMU_ClockFailInt, scheck Test INTM,CMU_FC

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

S32k322, Driver Mcu - function Clock_Ip_CMU_ClockFailInt, scheck Test INTM,CMU_FC

624件の閲覧回数
Marekp
Contributor I

Hi,
As discussed in the thread: Re: sCheck Test CMU_FM, ISR problem - NXP Community

While performing the sCheck INTM/CMU_FC test, which uses the interrupt ISR Mcu_Cmu_ClockFail_IRQHandler(), an error occurs in the MCU driver, specifically related to Memory Protection.

The Memory Protection Unit (MPU) is configured to catch reads from a NULL_PTR.
In the second iteration, data that is configured as NULL_PTR in the MCU driver is being accessed.

Marekp_0-1747130786136.png


There is no option to change these values in the MCU configuration in TRESOS. 

What should be done in this case, given that the MCU driver does not include protection against reading from NULL_PTR, and this affects SAFETY functionality, as the CMU_FC and INTM tests cannot be executed?

There is no option to modify these values in the MCU configuration, and modifying the SafetyBase files is also not allowed.
How can this issue be resolved within the constraints of the current configuration and safety guidelines?

Marekp_1-1747130940649.png

 

0 件の賞賛
返信
1 返信

519件の閲覧回数
RadoslavB
NXP Employee
NXP Employee

Hi,

the bug has been reported to RTD team.

As a quick fix you can try to add check for NUL__PTR before read e.g.

RadoslavB_0-1747925055314.png

official fix for your production code needs to be done by fix in the RTD release.
This has been escalated internally within NXP so all stakeholders are aware already.

Kind Regards,
Radoslav

0 件の賞賛
返信