7. Companion controller features#

This chapter describes the companion controller (Mule ATtiny) features.

7.1. How to flash Mule-ATtiny#

The ATtiny can be flashed through the UPDI lines, from the running system on TIGER SOM-RK3588-Q7 (No additional hardware required). For convenience, mule-attiny.sh tool is available for flashing the Mule ATtiny microcontroller. The tool is available here: https://git.embedded.cherry.de/som-tools.git/tree/mule-attiny

7.1.1. Requirements#

  • avrdude tool (minimum v7.1)

7.1.2. Install avrdude#

apt-get install avrdude

7.1.3. Flashing Mule ATtiny#

MULE_FIRMWARE="/path/to/mule-ATtiny816-xxxxxxx.hex"
./mule-attiny.sh --flash "$MULE_FIRMWARE"

Note

The above commands should be run with root privileges.

Note

It is highly recommended that one reboots the main SoC interacting with the companion microcontroller after flashing to make sure device drivers are properly initialized.