Conflict between eRPC and usb msd due to USE_SHMEM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Conflict between eRPC and usb msd due to USE_SHMEM

772 Views
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 Kudos
3 Replies

679 Views
Mc2023
Contributor IV

Any fixes?

0 Kudos

149 Views
italohcx
Contributor I
I have same problem with my project, Any fixes?
0 Kudos

146 Views
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 Kudos