How to upload code to STM32 using stm32flasher (linux & UART)

This page summarizes the projects mentioned and recommended in the original post on /r/embedded

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • stm32flash

    Discontinued Open source flash program for STM32 using the ST serial bootloader (https://sourceforge.net/projects/stm32flash) (by stm32duino)

  • So you are just using Arduino as a UART bridge, right? I've managed to upload firmware on STM32 using this stm32flasher (this is basically a mirror from sourceforge) but it was a while ago. I may be wrong but I think you don't have enough connections to STM32, because before transferring firmware the MCU need to be put in bootloader mode and only then you can start uploading FW. To put it in firmware mode, you had to set BOOT0/1 pin to either 1 or 0 (check user manual because I'm not really sure) and reset the device. After reset the FW should upload successfully. Also if you have more than 1 UART's available, check if you are using the correct channel, as I remember there was only one designated channel to do this. Hope this helped

    I see stlink clones on ebay for $7. The stlink software runs on linux : https://github.com/stlink-org/stlink. Or use pyocd.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • How can I manually flash a program to an STM32 chip without the IDE

    1 project | /r/embedded | 21 Feb 2023
  • GD32F103C8T6 can replace an STM32F103C8T6?

    1 project | /r/ECE | 6 Sep 2022
  • Programmer/Debugger circuit that I can add on my dev board?

    1 project | /r/embedded | 26 Mar 2022
  • Pro dashboard and firmware

    1 project | /r/m365 | 17 Nov 2021
  • What professional software exist to program embedded devices?

    1 project | /r/embedded | 3 Jun 2021