Cortex A7 & M4 communication

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

Cortex A7 & M4 communication

1,496 次查看
suryapradhan
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

标签 (2)
0 项奖励
回复
2 回复数

950 次查看
gary_bisson
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

950 次查看
suryapradhan
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 项奖励
回复