LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 02-25-2007, 10:11 PM   #1
bob3dan
Member
 
Registered: Aug 2006
Posts: 41

Rep: Reputation: 15
PIC programminging in linux


What is a good pic programmer in Linux?
 
Old 02-26-2007, 04:40 AM   #2
nmh+linuxquestions.o
Member
 
Registered: Feb 2007
Posts: 135

Rep: Reputation: 15
reference

Quote:
Originally Posted by bob3dan
What is a good pic programmer in Linux?
see http://www.linuxquestions.org/questi...d.php?t=532172
 
Old 02-27-2007, 10:48 PM   #3
MicahCarrick
Member
 
Registered: Jul 2004
Distribution: Fedora
Posts: 241

Rep: Reputation: 31
I work with AVRs now, however, here are some of my PIC resources:

Linux Compatible PIC Programmers

Intro to Programming PIC Microcontrollers in Linux

Programming PIC's in Linux using C with SDCC

And of course, there's the gnupic mailing list and website: http://www.gnupic.org/

Good luck.
 
Old 02-27-2007, 11:02 PM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Micah,

Perhaps you could explain how an AVR differs from a PIC? I've done some reading on the matter, but just can't put my finger on it.
 
Old 02-27-2007, 11:18 PM   #5
MicahCarrick
Member
 
Registered: Jul 2004
Distribution: Fedora
Posts: 241

Rep: Reputation: 31
They're both 8-bit microncontrollers. They both have comparable feature sets in terms of peripherals and configurations-- timers, ADCs, serial interfaces, PWM outputs, etc. The PICs have been around longer and have a larger selection of chips. The difference, as it applies to why I chose AVRs after working with PICs for a couple years, is the architecture and instruction sets.

The PICs are "simple" in that there are only 30-some ASM instructions to learn, which has often been a selling point. However, AVRs were specifically designed for higher level languages (such as C) and thus a branch of GNU Utilities was built for them. This is great for us Linux nerds. You can program your microcontrollers using your favorite Linux IDE (I use Gedit) and compile/program the chip with a simple makefile based on GCC and the other GNU tools. You can even do some debugging with gdb.

I am very, very glad I switched. Although I had to get setup with a new programmer and learn new register names and the like-- it was worth it. And they're similar enough that it's not a huge effort to learn the other.

I use microcontrollers for robotics projects, and in one particular robot was able to switch from a PIC16F877 to an AVR ATMega8 without having to change much of the circuit. And it was much easier coding in C and using gcc-- a compiler for which I have grown accustomed to it's error messages and general usage.
 
  


Reply

Tags
avr, linux, picmicro


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
linux on amd's 50x15 PIC smarthur Linux - General 2 11-04-2005 02:32 PM
Linux assembler for PIC blackman890 Linux - Software 2 08-03-2005 07:56 AM
Newbie to linux - KP at start (pic) zband Mandriva 2 04-04-2005 09:41 AM


All times are GMT -5. The time now is 03:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration