Browsing All posts tagged under »serial port«

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 […]

Capturing an analog signal with Arduino and python

March 26, 2011

1

Last week I salvaged a magnetic sensor from a stationary bike and connected it to my Arduino Uno in order to analyze the sensor’s behavior with the ADC converters.   I wanted to capture a good enough signal, so I searched about the Arduino capabilities: From analogRead() reference description: It takes about 100 microseconds (0.0001 […]

Emulating ARM PL011 serial ports

November 30, 2010

3

QEMU is able to emulate ARM systems with multiple serial ports, for example the Versatile PB. It has the ability to direct them to many types of host resources such as standard I/O, a pseudo-terminal or a telnet port. I started from my hello world example for bare-metal ARM programs to control three different serial […]

Emulating 8051 serial port communication on Linux

June 13, 2010

3

Setting up a system on Linux to emulate serial port communication with 8051, using SDCC, uCsim and socat.

U-boot for ARM on QEMU

March 10, 2010

85

Instructions to compile and run the U-Boot bootloader inside a QEMU emulation of an ARM platform.

Hello world for bare metal ARM using QEMU

February 28, 2010

103

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.

Follow

Get every new post delivered to your Inbox.

Join 394 other followers