AO-LOAD(1)

✨ NAME ✨

okay bestie, meet ao-load πŸ’– it's how you flash a program onto a AltOS device πŸ”₯

πŸŽ€ SYNOPSIS πŸŽ€

ao-load [-T tty-device] [--tty tty-device] [-D altos-device] [--device
altos-device] [--cal radio-calibration] file.ihx device serial number

πŸ’… DESCRIPTION πŸ’…

so ao-load takes your .ihx file and writes it straight into the target device's flash memory 🌸 while it's at it, it customizes the AltOS image with the serial number you hand it ✨ main character energy, literally.

🌈 OPTIONS 🌈

  • -T tty-device, --tty tty-device β€” this picks which tty device the debugger chats through to reach the target 🧚 the special name BITBANG tells ao-dbg to 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 β€” this goes hunting for a connected device πŸ” your argument has to be one of these vibes:
    • TeleMetrum:2
    • TeleMetrum
    • 2

leave out the product name and the tool picks a suitable product for you. leave out the serial number and it matches one of the available devices πŸ’œ

  • -c radio-calibration, --cal radio-calibration β€” this bakes the radio calibration value into the image for hardware that has no eeprom storage for it 🫢 you can figure it out from the current radio calibration value, the measured frequency, and the desired frequency:
cal' = cal * (desired/measured)

the default calibration value is 1186611 πŸ“

πŸ¦‹ USAGE πŸ¦‹

ao-load reads your .ihx file into memory and locates the matching .map file πŸ—ΊοΈ then it edits the image so it's customized with the serial number you gave. next, it connects to the target device and writes the program into its flash memory πŸ”₯

πŸ‘‘ AUTHOR πŸ‘‘

Keith Packard 🫢 the legend himself


bye bestie πŸ’– that's ao-load signing off from the AO-LOAD(1) page 🌈✨

πŸ“¦ where this page comes from