October 6, 2026

My first experiences with STM32 CubeMX

I have tripped over CubeMX many times in the past several years, but have ignored it -- pushing on to do my own bare metal programming.

I finally decided to give it a try. There is both good new and bad news. It promises a lot, but drops the ball in many places. This is surprising, you would think that ST would know their products better than anyone and not make basic mistakes, but this is not true. It has taken me over a week to get a basic ethernet demo almost working, as you will learn in detail following along in this blog.

And the basic network demo is not yet working. It behaves in an erratic and unpredictable (unreliable) fashion. Apparently networking on the STM32h7 series using CubeMX is notoriously buggy. You can read on to learn as much as you want about this.


Have any comments? Questions? Drop me a line!

Tom's Software pages / tom@mmto.org