#stm32 #bootloader #i2c #communicating #firmware #flash #system

no-std stm32-bootloader-client

A library for communicating with the STM32 system bootloader

1 unstable release

0.1.0 Sep 8, 2022

#1625 in Hardware support

BSD-3-Clause

22KB
497 lines

stm32-bootloader-client

This is a Rust library for communicating with the STM32 system bootloader. This can be used, for example, to flash firmware onto an STM32 using an I2C connection. Support for flashing over UART and SPI is not implemented, but PRs are welcome.

Example

See examples/read_chip_id.rs.

Contributing

See docs/contributing.md.

Disclaimer

This is not an officially supported Google product.

License

This project is licensed under either of

at your option.


lib.rs:

Communicates with the STM32 factory bootloader over i2c. See AN4221 for details of how the factory bootloader works.

Dependencies

~69–335KB