gnupic: 'gpsim' 16f877 newbee questions


Previous by date: 15 Oct 2002 08:41:40 -0000 Re: Compiling gpsim-0.20.14 under Mandrake 9.0, Mark J. Dulcey
Next by date: 15 Oct 2002 08:41:40 -0000 Re: 'gpsim' 16f877 newbee questions, Declan Moriarty
Previous in thread: 15 Oct 2002 08:41:40 -0000 'gpsim' 16f877 newbee questions, Tom Alldread, VA7TA
Next in thread: 15 Oct 2002 08:41:40 -0000 Re: 'gpsim' 16f877 newbee questions, Declan Moriarty

Subject: Re: 'gpsim' 16f877 newbee questions
From: Declan Moriarty ####@####.####
Date: 15 Oct 2002 08:41:40 -0000
Message-Id: <02101509394901.00816@genius.chateau.dec>

>        1) The PIC16F877 'gpsim' simulation is flagged as not fully >
> implemented. I  wonder if there is a list of the peripherals that should
> and/or may/will not work?

No. Find out and tell us. The 16f877 is pretty good - it's the 18 series 
which are flaky

> 	2) I need to be pointed in the right direction for changing the clock
> frequency in 'gpsim' from the 4MHz default to the 16MHz rate that my
> hardware will run at. I looked at the options but didn't immediately see
> how this change is made.

I suffered here too and gave these people hell for a bit. Use the gpsim 
terminal and type

help frequency 
or
help
than 
help <command>
That's the best help docs you'll get. You have discovered the 

	__CONFIG
directives as described only in MPASM's docs for setting the configuration 
word? (That's underscore underscore CONFIG)


>
> 	3) I find I get a 'parse and/or bit expected error' when I try to load the
> COD file using the either the gpsim LOAD command or by invoking gpsim with
> the 'gpsim -ppic16f877 -cfilename.cod' Linux shell command line. However I
> find I can load the file just fine with the GUI 'File' menu command. It
> would streamline my re-assembly cycle a bit if I could get the 'gpsim
> -ppic16f877 -cfilename.cod' shell command line to work. I have tried
> including the full path for the filename.cod file which didn't seem to
> help.

Yeah, it's crap. Look at the version number - it's ALPHA. The rule is

"Fix it or forget it."

We await your patch ;-).

> 	4) I wrote the source ASM code with the MPLAB editor and I find MPLAB does
> a fine job of printing the list file to my specifications. I wonder what
> the favorite Linux platform editors may be for writing ASM code? So far I
> have found that my MPLAB source code looks pretty ragged on the Linux
> platform editors that I have tried.

I've used kedit, Abiword, and vi. Anything that gives you line numbers, and 
copy & paste. My personal favourite today is kedit, but I'll not be putting 
KDE on the system I'm building.
>
> 	Any pointers would be appreciated!
>
> 	Many thanks in advance!

Right. Don't_Mention_mpasm_on_here. It ain't popular ;-).   Above all, if you 
think it's great, keep it to yourself.


-- 
	Regards,

	Declan Moriarty

Applied Researches - Ireland's Foremost Electronic Hardware Genius

	A Slightly Serious(TM) Company

Without the optimist, the pessimist wouldn't know how happy he isn't



Previous by date: 15 Oct 2002 08:41:40 -0000 Re: Compiling gpsim-0.20.14 under Mandrake 9.0, Mark J. Dulcey
Next by date: 15 Oct 2002 08:41:40 -0000 Re: 'gpsim' 16f877 newbee questions, Declan Moriarty
Previous in thread: 15 Oct 2002 08:41:40 -0000 'gpsim' 16f877 newbee questions, Tom Alldread, VA7TA
Next in thread: 15 Oct 2002 08:41:40 -0000 Re: 'gpsim' 16f877 newbee questions, Declan Moriarty


Powered by ezmlm-browse 0.20.