Browsing All posts tagged under »debug«

JTAGduino: JTAG connection using Arduino

August 10, 2014

6

One of my personal project ideas is JTAGduino: using Arduino as a JTAG adapter. I wrote a couple of posts about it, and today I managed to connect it to a real target. All the code that I used here is present on my JTAGduino GitHub repository. I have an Olimex STM32-P152 board, and I […]

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.

Bus Blaster v2 JTAG debugger

April 17, 2011

1

Dangerous Prototypes recently announced the availability of the open source Bus Blaster v2 in their shop (here the announcement). The Bus Blaster is an USB tool to debug microcontrollers and embedded cores in general, and its design is completely open source. I already did a post on the first version of the Bus Blaster, but […]

Bus Blaster JTAG debugger

February 27, 2011

7

The Bus Blaster v1 is a prototype board (from Dangerous Prototypes) that allows to access the JTAG connection of integrated circuits through USB, using the FTDI FT2232H chip for the conversion. The prototype is on sale at around 35$ as they say on their page, but keep in mind that it is still a prototype, […]

Security bug management done right: Tarsnap

January 20, 2011

0

Tarsnap (http://www.tarsnap.com/) is a backup solution with emphasis on security; it is conceived, developed and maintained by a single author (Colin Percival). To put it simply, the user downloads and runs an open-source client software that encrypts the data to be saved, and copies it on remote servers recurrently. No one except the user can […]

QEMU ARM semihosting

November 4, 2010

14

QEMU is able to emulate ARM architectures with many details. One thing that the qemu-system-arm program implements is the Angel interface, that enables semihosting. Semihosting involves two machines: a target (the embedded device), and a host (such as a PC) that is connected to the target through a debug interface. An embedded program running in […]

Trace and profile function calls with GCC

October 6, 2010

66

Software debugging is a complex task. There is always the need to collect all available information, in order to detect and understand the problem fast and to think of a proper solution. Sometimes it’s more convenient to debug step-by-step, sometimes it’s better to make the program run completely, and then trace the execution flow “offline”. […]

Debugging ARM programs inside QEMU

August 17, 2010

61

A tutorial that shows how to debug an ARM Linux program inside a platform emulated with QEMU. The tutorial uses gdbserver to connect the program executing in the guest system to the debugger running on the host system.

Hello world for bare metal ARM using QEMU

February 28, 2010

134

Create a simple "Hello world" program that prints on the serial port of an emulated ARM system, using the CodeSourcery gcc toolchain and the QEMU emulator of the Versatile board.

Simplest bare metal program for ARM

February 14, 2010

86

A simple example of bare metal programming for ARM926EJ-S core using the free open source Codesourcery toolchain based on GNU gcc.