Conflict between eRPC and usb msd due to USE_SHMEM

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

Conflict between eRPC and usb msd due to USE_SHMEM

739件の閲覧回数
Mc2023
Contributor IV

Hello All,

I have an i.MX RT1160 Evaluation Kit.

1) On CM7, I have:

- Azure RTOS (ThreadX, FileX, UsbX)

- eRPC

2) on Cm4: Bare Metal and eRPC.

It seems that I need the preprocessor USE_SHMEM for eRPC.

When I add the preprocessor USE_SHMEM, eRPC is working but UsbX is not working as I want. Basicall, my usd mass storage device (msd) does not appear anymore in my Windows Explorateur.

If I remove the preprocessor USE_SHMEM, UsbX is working as expected but this time eRPC is not working any more.

Could you help me to solve this issue? I would like to have both eRPC and usb msd working at the same time.

Maybe the problem is how the memory allocation are defined. Please find attached the memory allocation.

 

 

 

 

0 件の賞賛
3 返答(返信)

646件の閲覧回数
Mc2023
Contributor IV

Any fixes?

0 件の賞賛

116件の閲覧回数
italohcx
Contributor I
I have same problem with my project, Any fixes?
0 件の賞賛

113件の閲覧回数
italohcx
Contributor I

It worked! allocating the rpmsg buffer in NCACHE_REGION instead of moving the USB

** Remove flag USE_SHMEM both projects

 

italohcx_0-1715873373955.png

 

 

 

0 件の賞賛