2133515_en-US

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

2133515_en-US

2133515_en-US

[S32N55 B0] XSPI Flash operation leads to bus fault in CRS

During the testing of the latest B0 silicon RTD in CRS, a flash operation leads to a bus fault in the following scenario:

1. A read operation of the external flash of sector size 256Kb is triggered in the 1000ms OS task. This request is being processed in the 1000ms task in a continuous loop until the operation is completed.

2. During the processing of read operation in 1000ms task, a higher priority 0.5ms task is cancelling this read operation. The cancellation of this read operation is successful in the higher priority task. But when the context is restored to the 1000ms task where the read operation had been initiated the core gets a bus fault.

haoyueyan_1-1752520775409.png

haoyueyan_2-1752520812237.png

haoyueyan_0-1752520656250.png

The customer put main in while loop until the current job is processed. They can always reproduce this scenario on RDB.



Priority: MEDIUMRTDRe: [S32N55 B0] XSPI Flash operation leads to bus fault in CRS

Hi @haoyue-yan,

Based on the customer's situation as your message described. I suppose that this issue occurred because they invoked MemAcc_Mainfunction in both read and cancel task. They should invoke MemAcc_Mainfunction in only a task periodically (as the MemAcc MainFunction Period configured).

DanNguyenDuy_0-1752804056338.png

Best regards,

Dan



Re: [S32N55 B0] XSPI Flash operation leads to bus fault in CRS

Hi @haoyue-yan,

Could you let me know their flow-code?

For example:

DanNguyenDuy_0-1752735261682.png

Best regards,

Dan

Re: [S32N55 B0] XSPI Flash operation leads to bus fault in CRS

Hello Dan,

Please find the attached .xdm files. Let me know if you can't download.

Re: [S32N55 B0] XSPI Flash operation leads to bus fault in CRS

Hello Dan, 

Thanks for your response.

  1. They configured this parameter to 200ms.
  2. Sorry about that, I have attached them to this comment.
  3. The RTD version is 1.8.0_CD03.
Re: [S32N55 B0] XSPI Flash operation leads to bus fault in CRS

Hello @haoyue-yan,

Look like this issue is related to your OS environment instead of RTD driver.
1. Did you enable "Mem MainFunction Period" for using in OS environment?
2. Your images are quite blur, I can't see in details. Could you send images again with bigger size?
3. what is the RTD package version you used?

Best regards,

Dan

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