Recovery, known issues and status
Restore the original firmware
The image firmware stays in /opt/ti/firmware/am62a-mcu-r5f0_0-fw unless you overwrite it. To go back to it:
1. Reset the boot link
If you changed the boot link, point it back:
sudo ln -sfn /opt/ti/firmware/am62a-mcu-r5f0_0-fw /lib/firmware/am62a-mcu-r5f0_0-fw
2. Load the original firmware
Load it now without rebooting, or reboot and let the core start from the link:
MCU=$(grep -l '^79000000.r5f$' /sys/class/remoteproc/remoteproc*/name | xargs dirname)
echo stop | sudo tee "$MCU/state"
echo -n am62a-mcu-r5f0_0-fw | sudo tee "$MCU/firmware"
echo start | sudo tee "$MCU/state"
3. Confirm the file and the running version
sha256sum "$(readlink -f /lib/firmware/am62a-mcu-r5f0_0-fw)"
sudo head -1 /sys/kernel/debug/remoteproc/${MCU##*/}/trace0
29228716885522642ba205e9b1256f33d08b32512699c0fbedf2bc1bfb502a4c /opt/ti/firmware/am62a-mcu-r5f0_0-fw
[mcu-r5f0-0] 0.000502s : [IPC RPMSG ECHO] Version: REL.MCUSDK.K3.11.01.00.03+ (Jun 16 2025 08:51:33):
The checksum is the one recorded on image V1.1.0 in Overview. Files you installed, such as /lib/firmware/mo62a-mcu-console.out and /usr/local/bin/mcu-console, can stay or be removed with sudo rm.
Known issues
The TI echo example hangs after repeated reloads
Symptom: After the MCU R5F has been started several times since the board booted, a new start shows only the first line in the trace log:
[mcu-r5f0-0] 0.000487s : [IPC RPMSG ECHO] Version: REL.MCUSDK.K3.11.01.00.03+ (Jun 16 2025 08:51:33):
The RPMsg channels appear but no message is answered, and the next echo stop fails after 5 s:
platform 79000000.r5f: k3_r5_rproc_stop: timeout waiting for rproc completion event
remoteproc remoteproc1: can't stop rproc: -16
Reproduced over SSH with the stock image firmware and reload-cycle.sh: the fourth reload, the fifth start since boot, does not reach the receive loop, and the core can no longer be stopped:
Observed behavior and working diagnosis: in three tests, twice with the stock firmware and once with a modified build, the fifth start after a board boot hung; the board boot itself counts as the first start. At start-up, ipc_rpmsg_echo_linux calls IpcNotify_syncAll(), which sends a sync message through a hardware mailbox to every RTOS core enabled in its SysConfig, here the DM R5F and the C7x. IpcNotify_sendMsg() waits for free space in the mailbox FIFO in a loop, and it runs in the highest-priority task (31), so the receive tasks (priority 8) and the shutdown handling cannot run while it waits. The fixed count of successful starts suggests that the other cores do not read the sync messages of a restarted MCU R5F, so the FIFO fills up. We did not read the mailbox registers to confirm this, but removing the sync, as described below, made the problem disappear.
Recovery: The R5F remoteproc driver in this kernel stops the core only after the firmware acknowledges a shutdown request; it has no forced stop. Reboot the board.
Avoidance: A firmware that talks only to Linux does not need the sync. Set IPC with the other RTOS cores to NONE in the example's example.syscfg (SysConfig: TI DRIVERS, IPC):
ipc.r5fss0_0 = "NONE";
ipc.c75ss0_0 = "NONE";
The MCU console does this. It then passed 30 consecutive stop, load and start cycles, and the C7x AI benchmark was unaffected. If your firmware really needs IPC with the C7x or DM R5F, it must also handle repeated starts on both sides; that case has not been tested on Mo62A.
The test script is reload-cycle.sh. Put it next to the rpmsg_echo_latency program from Linux communication and run sudo bash reload-cycle.sh <firmware name> <cycles>; it loads the firmware repeatedly, waits for the "end point 14" log line, and runs an echo test each time. Expect to reboot if you run it with the unmodified TI example.
Other observations
- The delay printed by TI's
rpmsg_char_simpleexample is in nanoseconds although it is labelledusecs, and ignores the seconds field. See Linux communication. - SysConfig warns
The device AM62A7-Q1 has been automatically selectedfor the SDK examples. The builds are unaffected. xPortGetFreeHeapSize()does not link, because the SDK builds FreeRTOS withheap_3.
Troubleshooting
| Observation | Check |
|---|---|
echo stop returns Device or resource busy | sudo dmesg for timeout waiting for rproc completion event: the firmware no longer responds, reboot. See the known issue above |
can't change firmware while running | Stop the core first; the state must be offline |
echo start fails with No such file or directory, the core stays offline | sudo dmesg shows Direct firmware load for <name> failed with error -2: the name written to firmware must be a file in /lib/firmware |
| Trace stops after the version line | The firmware is blocked before its tasks run; for the TI example see the known issue above |
mcu-console reports MCU console not found | The console firmware is not running, or the core is stopped: cat $MCU/state $MCU/firmware |
permission denied on /dev/rpmsg* or trace0 | Use sudo; the device nodes and debugfs are root-only |
| Reply missing within the timeout | The endpoint number or the firmware protocol does not match; check the channel list in /sys/bus/rpmsg/devices |
What has been tested
All results are from one Mo62A running image V1.1.0 (Linux 6.12.35 PREEMPT_RT), with MCU+ SDK 11.01.00.16, TI Arm Clang 4.0.1.LTS and SysConfig 1.24.0.
| Item | Result |
|---|---|
| SDK, compiler and SysConfig installation | Installer checksums matched ti.com; repeated from scratch in a clean Ubuntu 22.04 container |
| Build of the TI echo example and the MCU console | Built on Ubuntu 24.04 and in the clean container |
| Loading firmware from Linux, trace log, kernel log | Tested with the TI echo build and the MCU console |
| Linux user-space messaging | rpmsg_char_simple passed; 1000/1000 messages in rpmsg_echo_latency |
| MCU console commands, single and interactive | Tested |
| Repeated reloads | TI echo example: hangs on the fifth start after boot (3 of 3 tests). MCU console: 30/30 |
| Graceful stop and restart | Tested with the MCU console |
| Firmware at boot through the link, and restoring it | Tested with a reboot in each direction |
| C7x AI benchmark while custom firmware runs on the MCU R5F | 329/329 nodes offloaded, results unchanged |
Not covered here: JTAG debugging with CCS, low-power modes, using main-domain peripherals or pins from the MCU R5F, the wakeup (DM) R5F, firmware for the C7x, timing guarantees of R5F tasks, and real-time control applications such as motors or CAN. For those, follow the TI MCU+ SDK user guide and validate on your hardware.