Opens in a new tab

uCLinux and STM32F429

If you want to try linux on STM32 microcontrollers (ucLinux a STM32F429-Discovery), check this tutorial.

First step, download openocd from sourceforge website or install it from application and software center by linux distribution.

Follow steps from README for installing.

Download ARM toolchain
arm-2010q1-189-arm-uclinuxeabi-i686-pc-linux-gnu.tar.bz2 by Mentor Graphics.

tar jxvf arm-2010q1-189-arm-uclinuxeabi-i686-pc-linux-gnu.tar.bz2

export PATH=`pwd`/arm-2010q1/bin:$PATH

and install genromfs
sudo apt-get install genromfs

Download uCLinux project for STM32F429 from github a compile it
https://github.com/jserv/stm32f429-linux-builder
make and make install

It takes a lot of time, but don’t be afraid 🙂

Connect STM32F429-Discovery through UART
pin PC10 (TXD) -> RXD of second device

pin PC11 (RXD) -> TXD of second device

and it’s done

Baud speed is 115200Bd, 1 stop bit, 8 data bit, without parity bit



Share the article:
Show your
Maker soul!
Buy a T-Shirt
Coffee for Chiptron
Give a boost to the next article

Related Articles

We wrote a news about STM32F746 discovery and IDE by openstm32.org on the google+. https://time4ee.com/ got development board STM32F7 discovery by ST. We want to show MULTIPLATFORM (Linux – Ubuntu, Windows) development tools by http://openstm32.org Other tutorials with STM32F7: Tutorial:…

The development board with STM32F030 microcontroller costs a few bucks. Do you know how to program that? If not, check this article. You will discover how to program the STM32F030F4P6 minimum system development board. The external programmer/debugger for this development…

Maybe you saw this news about the new Discovery board which is used for IoT applications with LoRa network. Discovery board includes modul with STM32L072 and SX1276 LoRa by Semtech. If yes, skip this talking about it and let see…

Trends