Port is not opening for enable communication using RPMSGs on i.MX93

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

Port is not opening for enable communication using RPMSGs on i.MX93

Jump to solution
656 Views
rk4
Contributor I

Hi all, 

 

Hope you are doing well.

 

I am facing issue while trying to open the port of RPMSG by enabling tty driver. Please find below basic info.

-> SDK: SDK_24_12_00_MCIMX93-EVK

-> Project: rpmsg_lite_str_echo_rtos

-> Development kit: Digi ConnectCore 91/93 

 

The Procedure I followed:

1. boot up the Yocto Linux

result: [ 0.022125] imx rpmsg driver is registered.

2. Compile the rpmsg_lite_str_echo_rtos in ubuntu and created .elf file

3. Transfer the elf file into /dev/firmware folder of i.MX93

4. enable the tty driver using modprobe imx_rpmsg_tty command on i.MX93 board

5. Load the firmware and run it using RemoteProc framework

6. I am getting data on LPUART4 as per below

result on serial port: RPMSG String Echo FreeRTOS RTOS API Demo...

7. But it stuck on "rpmsg_lite_wait_for_link_up(my_rpmsg, RL_BLOCK);" function

 

Also, I am not getting the ttyRPMSG* serial port on /dev/ folder.

 

Does anybody know how to solve it? and what are potential causes of this problem?

0 Kudos
Reply
1 Solution
550 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

The SDK hub for 24.12 or 25.03 miss some configuration about rpmsg which cause the SDK generated from SDK hub can't use rpmsg feature. We will fix this issue in SDK 15.06 and please use SDK2.16 before SDK 25.06 release.

Best Regards,
Zhiming

View solution in original post

0 Kudos
Reply
8 Replies
606 Views
rk4
Contributor I

Hi 

I am using "Dashboard | MCUXpresso SDK Builder" sdk and aould you tell me, how it differs with "https://github.com/nxp-mcuxpresso/mcux-sdk" sdk?

 

The board I am using it is Digi ConnectCore 91/93. Also, I followed guideline from "https://docs.digi.com/resources/documentation/digidocs/embedded/dey/4.0/cc93/yocto-develop-cortex-ap... .

 

Other than these, if you have any queries, please let me know.

0 Kudos
Reply
622 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

Please use SDK2.16 which can work.

Best Regards,
Zhiming

0 Kudos
Reply
612 Views
rk4
Contributor I

Hi Zhiming_Liu,

 

Thanks for reply.

 

Can you tell me how to download the lower version of SDK as you suggested SDK2.16?

 

Although, I tried to download it, but I couldn't find any option to change the SDK version from MCUXpresso SDK Dashboard website. Could you guide me to this?

 

0 Kudos
Reply
586 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

You can select version here:

Zhiming_Liu_0-1744262179559.png

 



Best Regards,
Zhiming

0 Kudos
Reply
554 Views
rk4
Contributor I

Hey @Zhiming_Liu 

I am able to download the SDK now. I compiled and executed the rpmsg_lite_str_echo_rtos_imxcm33 example and it was able to create the ttyRPMSG30 port and able to send test string from master (A55) to slave (M33) processor cores.


Additionally, I tried to compare both the SDKs (2.16 and 24.12) to get to know if I am missing anything but unfortunately was not able to find anything as of now. I want to run RPMSG in SDK 24.12 as my project is based on that, so could you please provide me any information on how can I achieve that? I asked this in my first post but so far did not get any info on this so I will appreciate it. I also wanted to know why rpmsg example is not working on 24.12 or 25.03 either and when it would be fixed?

Thanks.

 

0 Kudos
Reply
551 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

The SDK hub for 24.12 or 25.03 miss some configuration about rpmsg which cause the SDK generated from SDK hub can't use rpmsg feature. We will fix this issue in SDK 15.06 and please use SDK2.16 before SDK 25.06 release.

Best Regards,
Zhiming

0 Kudos
Reply
531 Views
rk4
Contributor I

Hi @Zhiming_Liu , 

 

Thanks for the prompt response.

 

I have few more questions about SDK:

1. When will the 25.06 SDK release?

2. How are the SDK versioning numbers spread out from 2.16 to 15.06 to 25.06? I want to understand this to select the SDK.

 

Thanks

0 Kudos
Reply
583 Views
rk4
Contributor I

Hi 

 

Thanks for reply.

 

I couldn't be able to download the SDK version 2.16 or 2.15 as well. Please see the problem in the image.

rk4_0-1744268370927.png

 

Now do you have other option to download it OR if you have 2.16 Version of SDK, could you provide me that along with its example directories?

0 Kudos
Reply