---
name: "ao-flash-stm32f1"
section: "1"
platform: "linux"
package: "altos"
version: "1.9.21-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ao-flash-stm32f1"
---

# ao-flash-stm32f1(1)

flash a program to an STM32F1x-based AltOS device using openocd

## NAME

ao-flash-stm32f1 - flash a program to an STM32F1x-based AltOS device using openocd

## SYNOPSIS

**ao-flash-stm32f1** *file.elf*

## DESCRIPTION

*ao-flash-stm32f1* loads the specified .elf file into the target device flash memory.

## USAGE

*ao-flash-stm32f1* is a simple script that passes the correct arguments to openocd to load a file into the target device via a connected STlink debugging dongle.

## SEE ALSO

[openocd(1)](/openocd/1.md)

## AUTHOR

Keith Packard
