erpc-imx-demos icon indicating copy to clipboard operation
erpc-imx-demos copied to clipboard

Need Help-Step by Step procedure to implement eRPC in iMx6sx ?

Open grifintar opened this issue 6 years ago • 7 comments
trafficstars

@Hadatko I am a novice that's why I am asking. I have implemented eRPC in PC, Now I want t implement in imx6sx. Can you please provide step by step procedure on how to implement eRPC in imx on an application.

grifintar avatar Nov 13 '19 09:11 grifintar

Hi @grifintar , steps to creating eRPC application is same on all platforms. Only thing you need to have on mind is to choose right porting files (based on OS). More details can be found on wiki e.g.: https://github.com/EmbeddedRPC/erpc/wiki/Getting-Started

Hadatko avatar Nov 13 '19 09:11 Hadatko

@Hadatko thanks for prompt reply. So which particular files do I need to copy from the repository to imx to work. As for PC I cloned the whole erpc repository and then ran matrix multiplication example.

grifintar avatar Nov 13 '19 10:11 grifintar

@grifintar Depends on your example, transport, OS,... Go through link i provided above and you should see.

Hadatko avatar Nov 13 '19 10:11 Hadatko

Hi @grifintar , the following link could be of your interest: https://github.com/EmbeddedRPC/erpc-imx-demos It is probably not up-to-date, but the basic principles should be still valid.

MichalPrincNXP avatar Nov 13 '19 13:11 MichalPrincNXP

@Hadatko @MichalPrincNXP To run "erpc/test/test_callbacks" on a different system(where the erpc root repository is NOT downloaded) what are the files required to run it? I suppose 1) the test_callback folder and 2) erpcgen is required to build the test_callbacks.erpc file present in the test_callbacks folder , other than these what else I need to copy to work it.

grifintar avatar Nov 15 '19 09:11 grifintar

Hello @grifintar you can get functional multicore examples for NXP dual-core MCUs using the mcuxpresso.nxp.com webside. You can select LPCXpresso54114 board for instance and download the SDK package that contains the multicore middleware (incl. eprc) + erpc examples. These can help you to configure your erpc project. You can also have a look at attached eRPC Getting Started User's Guide.pdf that describes how to use erpc in embedded multicore MCUs. Hope it helps. eRPC Getting Started User's Guide.pdf

MichalPrincNXP avatar Nov 18 '19 08:11 MichalPrincNXP

@MichalPrincNXP Thank you for detailed help. I will surely go through it.

grifintar avatar Nov 18 '19 10:11 grifintar