Browsing All posts tagged under »debugging«

ST Nucleo F103RB works with OpenOCD 0.8.0

November 11, 2014

7

Full disclosure: I work at ST Microelectronics, but what I write here is purely my opinion and my work, conceived and conducted in my spare time. The ST Nucleo boards are development platforms mounting an STM32 microcontroller, made for the same enthusiasts that are attracted to Arduino and the like. They have between 64KiB and 512KiB of […]

Sticky Bits » Vulnerabilities in C : When integers go bad!

October 25, 2014

0

Sticky Bits posted a lesson on C integers that explains the common pitfalls (and some uncommon ones) of arithmetic operations. It contains information that any C developer should know but that is often overlooked, and that might be the cause of many bugs that can result in misbehaviour or security issues. I think it’s written in […]

Debian jessie XFCE hang on login [solved]

September 7, 2014

1

Today I had a nasty surprise when turning on my computer: when I tried to login, it hanged while closing the login screen, and my desktop didn’t appear. So I started troubleshooting. Using Ctrl-Alt-F1 I tried to login from text console, and it worked. From there, I was able to run a desktop session with […]

STM32-P152 development with Eclipse on Linux

February 23, 2014

0

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.

Free Eclipse ARM GCC OpenOCD Toolchain for Windows | Ångstroms And Algorithms

February 13, 2014

0

This new blog called Ångstroms And Algorithms has a complete tutorial on developing and debugging for ARM microcontrollers on Windows. In particular he’s using a STM32-E407 board, an ARM-USB-TINY-H JTAG adapter, ARM GCC toolchain and Eclipse. The tutorial is divided in 4 parts: Free Eclipse ARM GCC OpenOCD Toolchain for Windows Introduction ARM GCC Eclipse IDE GDB / OpenOCD Debugger Personally I am not […]

Debugging the STM32-P152 board with GDB

September 15, 2013

6

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.

Debugging the iMX233-OLinuXino via SJTAG with OpenOCD — Christian’s Blog

August 28, 2013

0

A great and detailed post about setting up Linux kernel debugging on OLinuXino board: Debugging the iMX233-OLinuXino via SJTAG with OpenOCD — Christian’s Blog.

Flashing the STM32-P152 board with OpenOCD

August 14, 2013

4

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.

A bug that always gets me

October 21, 2012

3

This week I made an error that I already repeated at least twice in my career; it doesn’t seem to stick in my brain. I’m going to write about it here, so that maybe I will stop doing it, and maybe it will prevent the same kind of error for my readers. Let’s see if you can spot […]

Ongoing project: Arduino as a JTAG adapter

January 7, 2012

11

I started a project to try to use Arduino as a JTAG interface to perform debugging, programming and scans. The objective is to have a setup like the following diagram: The complete project should include: Arduino sketch OpenOCD integration Python API Arduino shield with common connectors etc. In particular the shield should have: Level shifters between […]