EmbeddedRelated.com
Forums
Memfault Beyond the Launch

Programming Microchip PIC from command line

Started by Nickolai Leschov March 4, 2008
Is there a tool to program Microchip PIC's from command line?
On Tue, 04 Mar 2008 13:36:19 +0300, I said, "Pick a card, any card"
and Nickolai Leschov <nleschov@gmail.com> instead replied:

>Is there a tool to program Microchip PIC's from command line?
Which command line? -- Ray
Ray Haddad wrote:

  > Which command line?

My host OS is Windows.

I use MPLAB with HI-TECH C for programming PICs. My programmer/debugger 
is MPLAB ICD 2.

One day I decided that I had enough of MPLAB IDE and made a script to 
compile my project from command line. That works nice. Now if I could 
only have a command-line tool that will program (write binary code to) 
the target device, I will be really well set up.

Regards,
Nickolai Leschov
Nickolai Leschov wrote:
> Is there a tool to program Microchip PIC's from command line?
http://www.microengineeringlabs.com/ has PIC programmers that can run automated from the command line. Make sure that you get one that can program your particular processor. -- Thad
Thad Smith wrote:
> Nickolai Leschov wrote: >> Is there a tool to program Microchip PIC's from command line? > > http://www.microengineeringlabs.com/ has PIC programmers that can run > automated from the command line. Make sure that you get one that can > program your particular processor. >
Thank you. But it seems like those will not be useful for me. My processors are surface mounted and need to be in-curcuit programmed Nickolai
On Mar 4, 6:09 am, Nickolai Leschov <nlesc...@gmail.com> wrote:
> Thad Smith wrote: > > Nickolai Leschov wrote: > >> Is there a tool to program Microchip PIC's from command line? > > >http://www.microengineeringlabs.com/has PIC programmers that can run > > automated from the command line. Make sure that you get one that can > > program your particular processor. > > Thank you. But it seems like those will not be useful for me. My > processors are surface mounted and need to be in-curcuit programmed > > Nickolai
We have command batch compile/program for AVR/ARM, but no PIC yet. We are sick of point and click and IDE in general. Graphical interface looks good for beginners, but most will outgrow it. Unfortunately, manufacturers/tool makers are not listening.
On Tue, 04 Mar 2008 07:56:10 -0800, linnix wrote:

> On Mar 4, 6:09 am, Nickolai Leschov <nlesc...@gmail.com> wrote: >> Thad Smith wrote: >> > Nickolai Leschov wrote: >> >> Is there a tool to program Microchip PIC's from command line? >> >> >http://www.microengineeringlabs.com/has PIC programmers that can run >> > automated from the command line. Make sure that you get one that can >> > program your particular processor. >> >> Thank you. But it seems like those will not be useful for me. My >> processors are surface mounted and need to be in-curcuit programmed >> >> Nickolai > > We have command batch compile/program for AVR/ARM, but no PIC yet. We > are sick of point and click and IDE in general. Graphical interface > looks good for beginners, but most will outgrow it. Unfortunately, > manufacturers/tool makers are not listening.
The Xilinx tools are nice that way (or at least were as of version V or so). The tools themselves are a collection of command-line utilities, and the IDE is just a front-end. Moreover, it doesn't take too long using the IDE to stumble across the log file (handily presented in a window) that shows you all the commands that were invoked to build your firmware. That made it all _very_ easy to put the whole build process into a makefile, including downloading to the chip. I ended up just using the IDE for simulations, and for occasional editing when I was doing a mix of simulation and in-the-real testing. -- Tim Wescott Control systems and communications consulting http://www.wescottdesign.com Need to learn how to apply control theory in your embedded system? "Applied Control Theory for Embedded Systems" by Tim Wescott Elsevier/Newnes, http://www.wescottdesign.com/actfes/actfes.html
linnix wrote:
>
... snip ...
> > We have command batch compile/program for AVR/ARM, but no PIC yet. > We are sick of point and click and IDE in general. Graphical > interface looks good for beginners, but most will outgrow it. > Unfortunately, manufacturers/tool makers are not listening.
That sounds refreshingly sane. -- [mail]: Chuck F (cbfalconer at maineline dot net) [page]: <http://cbfalconer.home.att.net> Try the download section. -- Posted via a free Usenet account from http://www.teranews.com
As a PIC man for 30 years I would only use Microchip programmers.

These all run from MPLAB.

Nickolai Leschov wrote:
> Is there a tool to program Microchip PIC's from command line?
I use picp, http://home.pacbell.net/theposts/picmicro/, which can run a picstart plus from the command line. Works well. Paul Probert

Memfault Beyond the Launch