This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM625: Developing for the M4

Part Number: AM625
Other Parts Discussed in Thread: CCSTUDIO

Hello,

   I have built firmware with CCStudio for the M4.  I have copied it to the Linux system, /lib/firmware/am62-mcu-m4f0_0-fw.

I have been able to start this like so:
echo 'start' > /sys/class/remoteproc/remoteproc0/state


I made some changes, copied the binary.  But I am unable to stop:
echo 'stop' > /sys/class/remoteproc/remoteproc0/state
-sh: echo: write error: Device or resource busy


kernel: k3-m4-rproc 5000000.m4fss: k3_rproc_stop: timedout waiting for rproc completion event
kernel: remoteproc remoteproc0: can't stop rproc: -16

I read through this:
https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/08_03_00_19/exports/docs/linux/Foundational_Components_IPC62x.html

Is there anything I can do short of rebooting to updating the M4 binary? Some months ago I messed around with this and I was able to 'start' and 'stop', but I don't know what was different, because it was too long ago.