EmbeddedRelated.com
Forums

Linux alternatives to MPLAB

Started by Jason Hsu August 15, 2008
I have a PICSTART Plus programmer with a serial port.

So far, I have used MPLAB in Windows to program microcontrollers in
Assembly language.

What are my options for programming microcontrollers in Assembly
language with Damn Small Linux as the OS?

What are my options for programming microcontrollers in C with Damn
Small Linux as the OS?
Hi Jason,
--- On Fri, 8/15/08, Jason Hsu wrote:
> I have a PICSTART Plus programmer with a serial port.

For Picstart under linux check:
http://www.warpedlogic.co.uk/?q=node/9

For software tools for programming PICs under Linux check:
http://www.gnupic.org/

I've successfully used for assembly programming under Ubuntu:
gnu pic utils: http://gputils.sourceforge.net/
gpsim: http://www.dattalo.com/gnupic/gpsim.html
pikdev ide: http://pikdev.free.fr/

> What are my options for programming microcontrollers in C with Damn
> Small Linux as the OS?

I've never used any C compiler for PIC :(
Check the compiler page on http://www.gnupic.org/

Cheers, Jovan

----- Original Message -----
From: "Jason Hsu"
To:
Sent: Friday, August 15, 2008 11:52 AM
Subject: [piclist] Linux alternatives to MPLAB
> What are my options for programming microcontrollers in C with Damn
> Small Linux as the OS?

The gputils suite works quite well. I presume it is installable in DSL, it
is part of recent Fedora distros. It isn't a nice IDE, just the basics.
But on the other hand, in some ways it is a lot nicer than MPLAB.

72/73 de WB8RCR http://www.qsl.net/wb8rcr
didileydadidah QRP-L #1446 Code Warriors #35
Why the obsession with Linux ?
MPLAB under Windows is a great package.
Considering its for free its fantastic.
You can pick up Win XP for peanuts on ebay.

Send instant messages to your online friends http://uk.messenger.yahoo.com
Flame war alert....
Hot to install mplab in linux whith wine

First, install and configure wine. (apt-get,aptitude, compile, etc)

if you wine is ok get this mplab 7.40 package: http://kof.asbyte.com.br/mplab-7.40_ie6-wine.tar.bz2

This file contains 60Mb.

Copy in your home directory:

cd ~
wget http://kof.asbyte.com.br/mplab-7.40_ie6-wine.tar.bz2
tar xjvf mplab-7.40_ie6-wine.tar.bz2

cd mplab

./mplab.sh # run mplab an have a nice day

The secret is the Internet Explorer libs. The mplab not run (install) without IE6.

In this package the IE6 is included.

The directory ~/mplab contains 2 scripts.
mplab.sh - run mplab
ie6.sh - run Internet Explorer in linux.

You may upgrade mplab:
copy the setup.exe in ~/mplab/programs/drive_c/
run in the the shell command:

WINEPREFIX="$(echo ~)/mplab/programs" wine "C:\setup.exe"
Tested and run in Slackware v10, v11,v12, Debian 4 and in my FreeBSD 7.0.

Excuse-me, my english is poor.

Novos enderes, o Yahoo! que vocconhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com.
http://br.new.mail.yahoo.com/addresses
Hi ovan,
 
Myself I always use assembly because this way we can control everything. I have used PIC12508 in an automatic I2C copier and a plenty of program memory was left.
 
Amar

--- En date de : Dim 17.8.08, Jovan Kostovski a écrit :

De: Jovan Kostovski
Objet: Re: [piclist] Linux alternatives to MPLAB
À: p...
Date: Dimanche 17 Août 2008, 4h44

Hi Jason,

--- On Fri, 8/15/08, Jason Hsu wrote:
> I have a PICSTART Plus programmer with a serial port.

For Picstart under linux check:
http://www.warpedlo gic.co.uk/ ?q=node/9

For software tools for programming PICs under Linux check:
http://www.gnupic. org/

I've successfully used for assembly programming under Ubuntu:
gnu pic utils: http://gputils. sourceforge. net/
gpsim: http://www.dattalo. com/gnupic/ gpsim.html
pikdev ide: http://pikdev. free.fr/

> What are my options for programming microcontrollers in C with Damn
> Small Linux as the OS?

I've never used any C compiler for PIC :(
Check the compiler page on http://www.gnupic. org/

Cheers, Jovan

_____________________________________________________________________________
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
Why ?
The linux contains source codes for learning.
The linux is open source.
The linux is fast. Look beckmarks in google.
The linux is funny for programmers.
The linux is sexy for girls. (All girs in the college love the linux)
The linux contains open source programs for eletrinics.
The linux is beautifull.
The linux is easy.

The linux is free

And ... linux run whesnoth game. :-P ( www.wesnoth.org )
--- Em dom, 17/8/08, np np escreveu:
De: np np
Assunto: Re: [piclist] Linux alternatives to MPLAB
Para: p...
Data: Domingo, 17 de Agosto de 2008, 18:23

Why the obsession with Linux ?

MPLAB under Windows is a great package.

Considering its for free its fantastic.

You can pick up Win XP for peanuts on ebay.

Send instant messages to your online friends http://uk.messenger .yahoo.com

Novos enderes, o Yahoo! que vocconhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com.
http://br.new.mail.yahoo.com/addresses
Well, I run Parallels on my Mac if just such an emergency comes up. I'm determined as
much as practical to do all my work on OS-X, and thus far, I've been moderately
successful.

Many of the development tools are command line based, but that doesn't make them any
less capable. I use Smultron to edit asm code, and Hi-Tide for PIC C. Asm is compiled
with gputils at the command line. Hi-Tide works in conjunction with Hi-Tech C. I have
heard it is possible to port gputils to eclipse for a full graphical asm development
interface, but I've not been successful trying this. I'm also learning JAL, and JALv2 has
been ported to and works perfectly under OS-X. It has also been installed under Eclipse,
though I haven't tried this.

For programming PICs under OS-X, the PicKit2 and PK2CMD works perfectly. The
Wisp648 programmer also works perfectly under OS-X. (Keyspan is the way to go for a
USB to serial interface)

The tools are available, but they don't have the pretty interface. No less effective, however.
I'm not anti-Windows, but I'll admit to buying a Mac after Vista was released. It has been
a learning exercise to get all the tools working under OS-X, but it is certainly possible,
and they are no less powerful than the Windows counterparts.

Joe

--- In p..., "Carlos Marcano" wrote:
>
> Flame war alert....
>

> I have
> heard it is possible to port gputils to eclipse for a full graphical asm
> development
> interface, but I've not been successful trying this.
What do you think of Eclipse? I've used it a little for NIOS development
on Altera FPGAs. I find Microchip's IDE a whole lot easier to use, but it
might be because I've used it for so long.

Harold

--
FCC Rules Updated Daily at http://www.hallikainen.com - Advertising
opportunities available!