1973172_en-US

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

1973172_en-US

1973172_en-US

S32K344 RTD5.0 trigger UsageFault when D_CACHE Enabled

Hi there,

I created a Uart project using RTD5.0, If D_CACHE is enabled, and called Lpuart_Uart_Ip_AsyncReceive() before send. It will trigger UsageFault.

UsageFault.jpg

If i undefined the D_CACHE_ENABLE Macro, It works fine.

or,

If i comment Lpuart_Uart_Ip_AsyncReceive() , the uart can send data normally, but can not receive any data now.

ss.jpg


so, How should I solve this problem?

Thanks!

Here is my S32DS 3.5 with RTD 5.0 project.


回复: S32K344 RTD5.0 trigger UsageFault when D_CACHE Enabled

The root cause of this problem has been found. the thread stack is too small caused the context to be corrupted.

回复: S32K344 RTD5.0 trigger UsageFault when D_CACHE Enabled

here is my project.


タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-21-2025 04:11 PM
更新者: