I am working with IMX7D based board & 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.
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.