8 Companion controller features
This chapter describes the companion controller (Mule ATtiny) features.
8.1 How to flash Mule-ATtiny
The ATtiny can be flashed through the UPDI lines, from the running system on Jaguar (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.
8.1.1 Requirements
• avrdude tool (minimum v7.1)
8.1.2 Install avrdude
apt-get install avrdude
8.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.
v1.0.1
Page 26