Tuesday , 12 December 2017
iten
Home » Electronics » STM32

STM32

How to restore ST-LINK interface after a bad update (2.26.15 firmware)

Several people are reporting me issues with the latest 2.26.16 firmware update for the ST-LINK interface of their Nucleo. After flashing the ST-LINK 2.1 interface with this firmware release, the debugging interface no longer works. The symptoms  are that it's no longer possible to use the interface, nor flash it again. The STLinkUpgrade 3.0.7 shows this error: Reading this post …

Read More »

Getting started with the STM32 Nucleo-F746ZG

Finally the totally new Nucleo-F746 is in my hands! This is the first development kit of the Nucleo-144 line from ST, and I've to say that probably, at that street price (~23$), is the best development kit a maker can find on the market, if you consider that a genuine Arduino DUE costs more than 40$ and its MCU is just …

Read More »

STM32CubeMX 4.12 reveals new Nucleo boards with 144-pin MCU

ST has recently released the new STM32CubeMX 4.12.0. It faces some minor changes to the user interfaces but, more important, it now seems to work perfectly also on MacOS X and Linux. In fact, it's now possible to change the I/O settings like it happens on the Windows platform:Another interesting thing is that it indirectly announces that ST is going …

Read More »

How to quickly import a STM32CubeMX project inside an Eclipse project

I've implemented a faster way to automatically import CubeMX project into an Eclipse tool-chain based on the GNU ARM Plugin, as described either on this blog and in my book. I've implemented a bare-bone python script that simply "translates" a CubeMX project for the SW4STM32 (aka AC6) tool-chain in a project generated with the GNU ARM plugin. The script can be downloaded from …

Read More »

Running STM32CubeMX on Mac OS. Finally!

Being a STM32 programmer on Mac OSX, I was frustrated every time I had to launch a virtual machine running Windows only to use the STM32CubeMX tool from ST. For those of you new to this program, it's a really useful graphical tool that allows to automatically generate setup files for a STM32 MCU according the configuration we need. For example, …

Read More »

How to precisely measure microseconds with STM32

I received this apparently simply question from a reader of this blog: how can I delay a fistful of microseconds in STM32? That is, how to measure microseconds precisely in STM32? The answer is: there are several ways to do this, but some methods are more accurate and other ones are more versatile among different MCUs and clock configuration. Let's consider …

Read More »

Adding ethernet connectivity to a STM32-Nucleo

One drawback of the Nucleo ecosystem is the lack of a version with ethernet connectivity or a dedicated shield officially supported by ST. There are 90 different STM32 MCUs available that provide an Ethernet MAC interface (this means that only an external ethernet transceiver - also called phyter - and few other things are required to bring your MCU to the …

Read More »