Browsing All posts tagged under »cortex-m3«

STM32-P152 development with Eclipse on Linux

February 23, 2014


In this post I show how to use Eclipse to create a simple "blink" program, flash it on a STM32-P152 board and attach to it with a debugger. This has been executed with the help of Eclipse plugins, GCC ARM Embedded toolchain, OpenOCD, C232HM FTDI JTAG cable. This approach can be adapted to many Cortex-M targets and many JTAG adapters.

Debugging the STM32-P152 board with GDB

September 15, 2013


This post shows how to debug a program running on the Olimex STM32-P152. The setup consists of free software such as GCC, GDB and OpenOCD, and FTDI USB cables.

Flashing the STM32-P152 board with OpenOCD

August 14, 2013


This post shows how to write the embedded flash of the Olimex STM32-P152 board with a custom program, using free software and FTDI USB cables.

QEMU 1.5.0 released, a backward compatibility warning

May 21, 2013


In my personal projects I used QEMU extensively to emulate ARM devices, these are some of my posts on the subject: Hello world for bare metal ARM using QEMU U-boot for ARM on QEMU Busybox for ARM on QEMU Booting Linux with U-Boot on QEMU ARM Linux NFS Root under QEMU ARM emulator Debugging ARM programs inside QEMU QEMU ARM semihosting Emulating […]

Sticky Bits » Developing a Generic Hard Fault handler for ARM Cortex-M3/Cortex-M4

February 1, 2013


Sticky Bits » Blog Archive » Developing a Generic Hard Fault handler for ARM Cortex-M3/Cortex-M4. This is a very informative post on Cortex-M fault handling. It covers basic handling up to examination of the context that produced the fault.

Using CodeSourcery bare metal toolchain for Cortex-M3

September 3, 2011


Using the CodeSourcery arm-none-eabi toolchain to compile a minimal "Hello World" example for Stellaris lm3s6965 microcontroller. The microcontroller is emulated through QEMU and the output is written to a serial port.

ARM Cortex-M3 boards with STM32 chip

September 21, 2010


The ARM Cortex-M3 is the baseline of ARM 32-bits microcontrollers. Many products spawn from its design: the Cortex-M0 (a stripped-down version for small systems), the Cortex-M1 (specifically designed to be implemented in FPGA) and the Cortex-M4 (with Digital Signal Processing extensions). One chip family that contains the Cortex-M3 is the STM32. STMicroelectronics recently introduced the […]