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.
The Emdebian project works to bring Debian on embedded platforms, with repositories of custom distributions and toolchains to cross-compile software. I wanted to try their ARM toolchains, and coincidentally the Linux kernel 3.0 has been released in these days, so I tried to cross-compile it and emulate it on QEMU. These tests have been done […]
In embedded software programming there’s often the need to use assembly-level instructions to reach all the functionalities of the processing core. But when the developing is done almost exclusively in C, it is sometimes a burden, often an added complexity and possibly a nuisance to code separate assembly files containing the needed functions. Other than […]
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 […]
Last October the Embedded Linux Conference Europe (ELCE) 2010 was held in Cambridge (UK). Today the videos of that conference are available on Free Electrons site. My Top-5 of the most interesting videos is as follows: Panda board demonstration, Rekha Kumar and Nipuna Gunasekera (Texas Instruments): Video Software Considerations When Using High-Performance Memory Systems, Leif […]
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, […]
Implementing a minimal standard C library for embedded ARM target using Newlib and the CodeSourcery toolchain, and emulating the execution with QEMU.
Ubuntu 10.10 Maverick Meerkat includes an ARM cross-compiler to compile programs for Linux. The compiler can also be used for bare-metal programming with a few arrangements.
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 […]
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 […]
September 3, 2011
39