Skip to content

avikde/stm32ld

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 15 commits ahead, 9 commits behind jsnyder:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

STM32 serial flash tool with auto-reset

  • Burn .bin (no hex support) firmware images to STM32 microcontrollers using the built-in serial bootloader.
  • This version automatically toggles DTR and RTS to try to auto-reset into bootloader mode. Currently works for BOOT0 = RTS, NRST = DTR, but the flipped version is a few easy modifications away.
  • Warning: Does not check chip ID, or binary size (to ensure it will fit in the FLASH). Use with care!

Usage

$ stm32ld <port> <baud> <binary image name|0 not to flash> [<0|1 to go to new flashed app>]

Building

On Windows (tested with Cygwin / Mingw), Mac and Linux:

make

Auto-reset support, and other changes: Avik De avikde@gmail.com

Original source author: Bogdan Marinescu bogdan.marinescu@gmail.com

About

C-based firmware loader for STM32's serial bootloader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.4%
  • Makefile 1.6%