Building C8051FXXXX applications on Linux

As part of my Masters we are doing a Mixed Signal Processing module where we are using the C8051F120 microcontroller to process basic mixed signal functions. In the labs we have been given the C8051F120DK development kit from Silicon Labs which includes the Silicon Labs IDE. Developing with this on Linux was a real pain since I had to run the IDE through a Windows XP VirtualBox install, and that wouldn't do!


TQ6410 Pics

Just some photos of my TQ6410 embedded ARM board, touchscreen LCD and custom alu case. 

This is the same board that was used in my Final year BEng project, more infomation can be found here.

System specification

Samsung S3C6410 feat. ARM 11 core, up to 667MHz

128MB Mobile DDR SDRAM, 266MHz

256MB NAND Flash

2MB NOR Flash

Operating system:
Linux custom built system based on uClibc and Busybox


Linux AVR tools, AVRDUDE, avr-gcc etc..

I do so little AVR development these days that when I start again, it takes me a short while to get back into the swing of things. So rather than digging out old notes, I've reproduced the main elements here.


To compile AVR C programs on linux you need the avr-gcc toolchain, along with a few other utilities. On Fedora one installs all of the packages required with:


Linux Apache2 VirtualHosts configuration with NamedVirtualHosts

Okay, so I have been "playing" with Linux servers for a number of years, and I've setup quite a few single-site apache configurations, but I never had much luck with multisite setup... until now. So before I forget what I did I thought I'd put it here in hope that someone else gains some insight from my configuration - perhaps saving a few headaches.


Linux Logic Analyser - sigrok

I recently acquired an XZL_studio AX logic analyser from a friend, this is a clone of the USBee-AX device with a much lower price, ~£50. I had previously used this device with the USBee software but always found it to be buggy, infact, it was almost unusable. I tried to get this running on a virtual machine without joy, in the end, I had to install Windows XP on an old machine I had lying around, and even then, I found the software was constantly crashing.


Raspbian - Connecting a bluetooth GPS using the command line

Following on from my earlier article - Connecting a bluetooth keyboard using the command line - I will now look at what is needed to connect a GPS device to my Raspberry Pi via bluetooth.

I covered installing both bluetooth and bluez - the Linux bluetooth stack - in the earlier article, so this is a good place to start if these have not been installed.


Raspbian - Connecting a bluetooth keyboard using the command line


So... I initially had some issues attaching my bluetooth keyboard to my Pi, many articles out there suggested carrying this out using a graphical bluetooth manager, however, I didn't have a spare USB keyboard or mouse that I could "bootstrap" the process with. I finally managed to get it attached using ssh to connect to the command line with the following.


Firstly, we need to install bluetooth and bluez-utils as follows:


Subscribe to RSS - Linux