STM32 programming and debugging tools

Post Reply
JFBow
Posts: 3
Joined: Sun Nov 19, 2023 9:00 pm

STM32 programming and debugging tools

Post by JFBow »

Hello,
After using ATMEL microcontrollers, including AVRs, with the Arduino environment in numerous projects, I tested "blackpills" that I programmed either via DFU with a USB connection or via SWD with an ST-LINK V2 programmer purchased from a Chinese website.
Completely convinced by the STM32, I am now looking for the right tool to program and debug STM32-based boards in the Arduino environment. Both smaller microcontrollers like the STM32G0 and more powerful ones like the STM32H7, but not integrated into Nucleo boards. I've looked at ST tools, but I'm not sure which one to choose. Are there any alternatives to ST? What do you recommend?
Thank you for your answers.
ag123
Posts: 1933
Joined: Thu Dec 19, 2019 5:30 am
Answers: 30

Re: STM32 programming and debugging tools

Post by ag123 »

get this
https://www.adafruit.com/product/2548
or this
https://www.st.com/en/development-tools/st-link-v2.html

https://octopart.com/search?q=st-link+v ... SD&specs=0

as for boards, weact sports quite a few
https://weactstudio.aliexpress.com/store/910567080
adafruit has a Adafruit Feather STM32F405 Express
https://www.adafruit.com/product/4382
olimex sports quite a few
https://www.olimex.com/Products/ARM/ST/
micropython has quite a few
https://store.micropython.org/
and don't forget ST itself
https://www.st.com/en/evaluation-tools/ ... oards.html
among them discovery boards which includes the 'high end' chips with npu etc
https://www.st.com/en/evaluation-tools/ ... -kits.html

then in 'online flea markets' e.g. aliexpress, you would find many.
but that some of the boards especially stm32f103c8 could be 'clones' or even sometimes outright 'fakes', buyer beware

stm32duino ('official' stm core)
https://github.com/stm32duino/Arduino_Core_STM32
uses quite a bit of resources to run.
so choose mcus with more flash and sram, e.g. the stm32f401/f411 devices or 'higher', e.g. g4xx, h5xx etc
https://github.com/WeActStudio/WeActStu ... iSTM32F4x1

stm core would likely run in boards with small amount of sram and flash.
but that sometimes, one would quickly run up against the limits and needs to do 'mitigations' to work around 'too fat' apps.
Post Reply

Return to “STLink”