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

The development boards are very popular. I decided to share this list. These boards are interesting, popular and cheap (to 30? – by farnell.com). If you click on the picture, you will be redirected in eshop, where you can buy…

And here it is! If you heard about Nucleo-144, then it’s true! STMicroelectronics released new development board called STM32 Nucleo-144 (STM32 in LQFP144 package). Extension of “Nucleo development board family” is totally logical step to possibility of using another peripherals…

The STMicroelectronics company released info regarding shield with gas sensor of CO (carbon monoxide). The pack is called P-NUCLEO-IKA02A1, the pack also contains Nucleo 64 board with STM32L058R8 microcontroller. The shield contains gas sensor for CO and footprints for another…

I wrote a news about SiPy (SiPy – Sigfox, WiFi, BLE), pycom.io released a new development board called WiPy 2.0. Development board with ESP32 od Espressif (we can expect a lot of new developmnet boards with ESP32 in a few…

The STM32duino library which supports a few microcontrollers from STM32 family for Arduino IDE and programming by Wiring was updated. Based on this update were also updated USART example codes. The tutorial about STM32duino and USART you can find on…