Using LInux as a developing platform
Im interested in using Linux as a platform for developing.
Can anyone suggest software (if there are any) for compiling, programming (pref so i can use my ICD2 clone) PIC uCs ??
Downloads - VirtualBox
Will let you run Windows on your Linux box so you can run the PC tools for PIC's.
Linux PIC development - Google Search
A simple google provides plenty of results for native linux development for a PIC.
It's really a bad idea, there's very little Linux software out there, and none from the chip manufacturers - Windows still rules the world I'm afraid.
Originally Posted by Kryten
I've used the following with great success
sdcc - Compiler SDCC - Small Device C Compiler
gpsim - PIC MCU Simulator SourceForge.net: gpsim - The gnupic Simulator
picasm - PICASM Assembler - For the Microchip PIC
piklab - Full IDE Supports ICD2 Piklab Homepage - Home
picprog - Jaakko Hyvtti Picprog 1.9.0 documentation
simulpic - Couldn't find the homepage but it's in the repos of Debian and Ubuntu
gputils - GPUTILS - GNU PIC Utilities
odyssey - VASCO website
pikdev - PiKdev, An IDE for the development of PIC based applications under KDE
HTSOFT PICC Lite - Has a Linux version HI-TECH C PRO for the PIC10/12/16 MCU Family compiler and embedded software tools for the Microchip PICMicro
And finally as a last resort you could try running your favorite Win32 EXE under Linux using WINE - WineHQ - Run Windows applications on Linux, BSD and Mac OS X
You have a lot of options, personally though I stick to piklab, sdcc and gpsim. Those three packages give me all the functionality I need.
I've just installed Windows 7 RC 1 (it's free to try for a year)
I've yet to find out if it's MPLAB & PK2 compatible.
forget about win7 ... it is incompatible with almost everything ....
as for the linux .. I use linux in every day life, on job, for job .. it is my primary OS .. I had to make one windoze box for the elco stuff ... in general you "can" use linux but it is pain in the ....
if your uC of choice is PIC
the mplab 7.1 works under wine 1.0, I think 8.x works too but I never tried.
piklab (native linux app) have support for pickit 2 both with firmware 1.x and 2.x as long as for many other programmers. you have pic asm as native linux and piklab will help you install all the compilers under wine ...
so you can use boostbasic, boostc, boostc++, c18, ccs c, c30, picc lite, jal ... and programm directly from linux if you have pickit2 or compatible device ...
you have geda/gspice/pcbdesigner/eagle for the hw design .. it is not as nice a some windoze tools but it is free.
that's about it ..
I heard AVR is much better support but I never tried..
If you want TI MSP430, it works perfectly under linux (eclipse + mspgcc)
I personally found doing elco dev on linux to be pain so I moved that to windoze ..
If it works on Vista it'll should work on Windows 7. I saw a blurb the other day on a news site that if you have a processor that supports the hardware virtualization instruction set windows 7 will actually let you go into an XP emulation mode for older applications. Not sure if it's in RC1 or not.
Again it's really not an issue, if you need to run windows for a particular app all you have to do is download Sun's free virtualization software.
Originally Posted by Sceadwian
should being to operative word ...
most of low level net apps do not work (and they do work on vista)
most of tunneling apps do not work (and they do work on vista)
many hw dependant apps do not work (and they do work on vista)
etc etc etc ....
virtual box works like a charm so ... if you do not have a spare box, that's perfect solution
6th May 2009 01:14 PM
MPLAB currently supports Vista. Vista sucks, can't stand it myself. Win7 seems snappy (on a Phenom quad core anyway).
I'll install mplab 8.3 pk2 2.6 & pk2cnd.exe tonight and report my findings.
Electronic Circuits |
Page Time: 0.12160 seconds Memory: 7,732 KB Queries: 16 Templates: 0