Linux Compatible PIC Programmers

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

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

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 »


Intro to Programming PIC Microcontrollers in Linux

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 »