AO-LOAD(1)
π AO-LOAD(1) π
Okay so this is the General Commands Manual page, and I'm about to make it slay π ao-usbload is the tool that flashes a program onto an ARM-based AltOS device π§
β¨ NAME β¨
ao-usbload is how you flash a program to an ARM-based AltOS device πΎ
β¨ SYNOPSIS β¨
ao-usbload [-T tty-device] [--tty tty-device] [-D altos-device]
[--device altos-device] [--cal radio-calibration] [--serial serial-
number] [--raw] [--verbose=verbose] [--wait\ file.elf or file.ihx
β¨ DESCRIPTION β¨
ngl this is the main vibe π¦ ao-usbload loads your .elf or .ihx file straight into the target device's flash memory through the AltOS boot loader. It can reuse the serial number and radio calibration values already on the device, or you can hand it those values yourself from the command line π
β¨ OPTIONS β¨
-T tty-device,--tty tty-deviceβ pick which tty device the debugger talks to the target through π The special name'BITBANG'tellsao-dbgto use the cp2103 connection. Otherwise, it should be a usb serial port hooked up to a suitable cc1111 debug node.-D AltOS-device,--device AltOS-deviceβ go hunting for a connected device π The argument has to look like one of these:
TeleMega:2
TeleMega
2
Leave out the product name and the tool picks a suitable product for you. Leave out the serial number and it'll match one of the available devices. Main character energy, honestly π
-s serial-number,--serial serial-numberβ programs the device serial number into the image π’ If you don't give one, the tool reads the existing serial number off the device (if there is one).-c radio-calibration,--cal radio-calibrationβ programs the radio calibration value into the image π‘ This is for hardware that has no eeprom storage for it. Skip the value and the existing one gets used. If you need to compute a new one, you'll need the current radio calibration value, the measured frequency, and the desired frequency:
cal' = cal * (desired/measured)
The default calibration value is 7119667 β¨
β¨ USAGE β¨
Here's the lowkey tea π ao-usbload reads the specified .elf file into memory and edits the image to customize it with your serial number and radio calibration values. Then it connects to the debug dongle and writes the program into the target device's flash memory. Periodt π
β¨ AUTHOR β¨
Keith Packard π«Ά
That's the whole page, bestie! π Source: ao-usbload π Manual: AO-LOAD(1) π¦ Stay flashy ππ₯
π¦ where this page comes from
- debian bookworm: altos 1.9.16-2 Β· GPL-2.0-or-later
- debian trixie: altos 1.9.21-1 Β· GPL-2.0-or-later
- ubuntu jammy: altos 1.9.10-1 Β· GPL-2.0-or-later
- ubuntu noble: altos 1.9.17-1ubuntu3 Β· GPL-2.0-or-later
- ubuntu questing: altos 1.9.21-1
- ubuntu resolute: altos 1.9.22-2 Β· GPL-2.0-or-later
- ubuntu stonking: altos 1.9.22-2 Β· GPL-2.0-or-later
- Copyright Β© 2009 Keith Packard <keithp@keithp.com>
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms