Searching \ for '[PIC]: Has anyone used gpsim on large 18F programs' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=18F
Search entire site for: 'Has anyone used gpsim on large 18F programs'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: Has anyone used gpsim on large 18F programs'
2003\02\24@193740 by Ned Konz

flavicon
face
I just compiled the CVS version of gpsim, and got lots of complaints
when I loaded a program I have for the 18F452 that uses more than 16K
bytes of code.

Is it supposed to handle the whole 32K space?

Thanks,
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email spam_OUTlistservTakeThisOuTspammitvma.mit.edu with SET PICList DIGEST in the body

2003\02\24@202359 by Scott Dattalo

face
flavicon
face
On Mon, 24 Feb 2003, Ned Konz wrote:

> I just compiled the CVS version of gpsim, and got lots of complaints
> when I loaded a program I have for the 18F452 that uses more than 16K
> bytes of code.
>
> Is it supposed to handle the whole 32K space?

I use gpsim on the 18f all of the time, but my current program is only
about 2k or 3k. Chances are there's a bone headed bug in the 18f452
declaration. Look in the include file src/p18x.h for the 18f452's member
function:

virtual unsigned int program_memory_size(void) const { return xxxx;}

Change the 'xxxx' to 32768 and recompile the code.

I don't have the latest code currently in front of me, but I think that's
all you'll need to do.

Scott

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email .....listservKILLspamspam@spam@mitvma.mit.edu with SET PICList DIGEST in the body

More... (looser matching)
- Last day of these posts
- In 2003 , 2004 only
- Today
- New search...