Archive for the 'Linux' Category

Tutorial: Simple Gnome Application Using libglade and C/GTK+

Thursday, March 2nd, 2006

Gnome Application 3

This tutorial is intended for those people interested in getting started developing Gnome applications using GTK+. Specifically, it uses the Glade Interface Designer to build a the user interface and C/GTK+ to write the code for a Gnome application. The application will simply be a window with a typical toolbar and status bar. This application will be used in later tutorials to demonstrate various other aspects of Gnome programming. The complete project can be downloaded here: gnome3-0.1.tar.gz

Read the rest of this entry »

Setting up the AvrUsb500 and avrdude

Friday, February 24th, 2006

I just purchased my AvrUsb500 from tuxgraphics.org. The AvrUsb500 is an open-source (hardware and software) USB programmer for the Atmel AVR microcontrollers. This is just a quick run-down on how to get setup using the AvrUsb500 on a Linux system. In this case, I'm using Fedora Core 4. It is assumed that you have setup your Linux distribution with the GNU tools for AVRs (avr-gcc). If you haven't, you should first read Installing the GNU tools for AVRs.

Read the rest of this entry »

Install Notes: WPC54G (ndiswrapper) on Fedora Core 4/5 (FC4/FC5)

Tuesday, November 29th, 2005

Linksys WPC54G WiFi PCMCIA Card in Linux

The first thing you'll need to do, is download the CORRECT Windows driver for your card from linksys.com. There are various versions for the card which will be displayed on the back of the card. If you aren't sure, then you'll want to use the drivers from the CD-ROM that came with the card. In my case, the card I am using is v3 and the driver I downloaded was v3.100.64.0a. The file was: WPC54G_driver_utility_v3%5B1%5D.1.zip. If you have downloaded the drivers, you'll need to extract the files to some temporary directory (I just did it from my desktop). If you're using the CD-ROM, you can just do it straight from the CD.

Read the rest of this entry »

Linux Compatible PIC Programmers

Sunday, May 1st, 2005

Below is a list of programmers known to work with Linux along with the software that is said to work with the particular programmer. You will need to check the websites of the particular programmer and/or software to ensure it will work for your needs. I have not verified all this information, I merely collected it. Enjoy!

Read the rest of this entry »

Testing C Interrupts using Breakpoints in GPSIM

Tuesday, April 26th, 2005

Well, well, well, here we are again. I will be continuing with my new found appreciation of Small Device C Compiler (SDCC) and showing you how to handle interrupts using C-- specifically, the TMR0 interrupt. I will also show you how to simulate this using gpsim, thus learning how to set breakpoints in your code and use the stopwatch feature in gpsim. What's really great, is if you are new to PIC programming and are having a difficulty understanding the concept of the Timer module, interrupts, and prescaler values and what they mean, using GPSIM gives you a realistic visual understanding without having to build a circuit. Pretty handy dandy.
Read the rest of this entry »

Programming PIC’s in Linux using C with SDCC

Monday, April 25th, 2005

In my last article, Programming PIC Microcontrollers in Linux, I talked about using using gputils and gpsim to assemble and simulate a basic PIC program. After writing this article, I recieved an email from Martyn Welch regarding the article he recently wrote: Installing and using SDCC on Linux. SDCCs a free C compiler for several small devices, including the PIC microcontroller.
Read the rest of this entry »

Gnome Programming: Using LibGlade with Anjuta/Glade

Friday, April 22nd, 2005

Note: This tutorial is no longer current. A new, more up-to-date and in-depth tutorial has been written: Tutorial: Simple Gnome Application Using libglade and C/GTK+

Read the rest of this entry »

Gnome Programming: Getting Started with Anjuta/Glade

Wednesday, April 20th, 2005

Note: This tutorial is no longer current. A new, more up-to-date and in-depth tutorial has been written: Tutorial: Simple Gnome Application Using libglade and C/GTK+


Read the rest of this entry »

Intro to Programming PIC Microcontrollers in Linux

Tuesday, April 19th, 2005

PIC Programming on Linux

I first tried switching to Linux back in 1996-- however, grew frustrated after 2 agonizing weeks of trying to configure ppp to connect to the internet on my speedy 28.8 modem. I continued using, and developting software for, Windows. I grew more and more frustrated with Windows until I reached the breaking point with the new spyware/virus epidemic. I once again attempted the switch to Linux, and to my delight, found it quite painless. I found the install to be VERYeasy and all the drivers and applications I would need were free and readily available-- if not already built into my Linux distribution (at the time that was Fedora Core 1, and is now Fedora Core 3).

Read the rest of this entry »