gnupic@linuxhacker.org

gnupic@linuxhacker.org


Subject: Re: A bit of Catching Up
From: James Cameron
Date: Tue, 21 Oct 2003 19:59:45 +1000

G'day Martin,

I'm a PIC enthusiast in outback Australia.  I've been doing PICs using
Linux tools for some years now.

I think the proper source for the latest GNUPIC software these days is
http://www.gnupic.org/ (framed) although some projects seem to be big 
enough to justify their own project page, such as 
http://gputils.sourceforge.net/

I haven't found any better source.  I'd love to see a Wiki for it.  We
could use the Wiki at http://electronicschat.org/ ... we talk a lot
about PICs on that chat channel.  Consider yourself invited.

I've just tried gpsim for you in command line mode.  It seemed to work.

gpsim has a flag for command line mode, "--cli".

(If you start gpsim without the DISPLAY environment variable set, and 
without that command line mode flag, it sets your TTY to no echo and 
exits with messages.  That was version 0.20.14.  I was able to restore 
echo with "stty sane".  It also does it if you type quit on the prompt
while in windowing mode.  It doesn't do this in command line mode.)

(Another nit was that my file names could not have hyphens in them.
I had to rename them before the load command would work.)

Here is the test sequence I used ...

gpsim --cli
processor p16f877
load h tmp.hex
load c tmp.cod
step
step
step

And so on.

The help command gave a command summary.  Then typing help followed by a
command gave more details on that command.

I'm listed as a developer on gpsim, so I guess I should investigate my
own whinges now.  ;-)  (I couldn't find the cause of the no echo).

I do not know of a FAQ that answers these questions, but if one exists
I could easily have not found it either.

I haven't tried USB-based serial RS-232 ports yet.  I expect I will some
day.

-- 
James Cameron    mailto:quozl@us.netrek.org     http://quozl.netrek.org/

gnupic@linuxhacker.org