Cortex A7 & M4 communication

cancel
Showing results for 
Search instead for 
Did you mean: 

Cortex A7 & M4 communication

562 Views
Contributor II

 Hi 

I am using IMX7D & trying to  communicate between cortex -A7 & M4.

Currently i am able to communicate between the processors using RPMSG.

But we have to load the firmware/application to M4 in bootloader prompt using fatload, bootaux commands.

Is there any way we can reset & load the firmware from linux kernel.

Thanks

Surya

Labels (2)
0 Kudos
2 Replies

16 Views
Senior Contributor III

Hi,

I suggest you have a look at this tool from NXP:

GitHub - codeauroraforum/imx-m4fwloader: Tool for loading firmware to M4 core on i.MX6SX and 7D 

Regards,

Gary

16 Views
Contributor II

HI Gary Bisson,

Thanks for the reply.

I am using "m4fwloader" tool to load,start & stop the firmware to Cortex-M4 from linux- cortex A7.

But i got one issue here, while stopping the firmware & starting again.

Scenario:

I am using "rpmsg_str_echo_freertos_example.bin" firmware & able to communicate with M4 properly.

Next i  stopped it & started it again using "m4fwloader stop" & "m4fwloader start" command.

Now if i do  "echo hi > /dev/ttyRPMSG", i am getting all my previous messages[message from last communication] along with new message.

Any suggestion on this.

Regards

Surya

0 Kudos