Conflict between eRPC and usb msd due to USE_SHMEM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Conflict between eRPC and usb msd due to USE_SHMEM

770 次查看
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 回复数

677 次查看
Mc2023
Contributor IV

Any fixes?

0 项奖励

147 次查看
italohcx
Contributor I
I have same problem with my project, Any fixes?
0 项奖励

144 次查看
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 项奖励