gnupic: Re: [gnupic] gpsim simulating bootloader


Previous by date: 1 Jan 2006 03:50:02 +0000 gpsim simulating bootloader, John De Villiers
Next by date: 1 Jan 2006 03:50:02 +0000 Re: [gnupic] gpsim simulating bootloader, John De Villiers
Previous in thread:
Next in thread: 1 Jan 2006 03:50:02 +0000 Re: [gnupic] gpsim simulating bootloader, John De Villiers

Subject: Re: [gnupic] gpsim simulating bootloader
From: "Scott Dattalo" ####@####.####
Date: 1 Jan 2006 03:50:02 +0000
Message-Id: <63268.71.139.30.105.1136079519.squirrel@71.139.30.105>

On Sun, 2006-01-01 at 01:05 +0200, John De Villiers wrote:
> Well the topic says it all. Does gpsim have the ability to simulate a
> bootloader, ie the modification of the program eeprom ( obviously only
> on those pics that support it )?

Hi John,

Unfortunately gpsim does not support self-modifying code. I've thought
about it before, but never bothered to implement it. All the
infrastructure is present in the simulation engine to support this. For
example, an opcode and an address are all that are needed to create a new
instruction in the program memory. There are only two parts that make this
challenging: 1) writing the peripheral code that recognizes when program
memory writes are occurring (if this similar to data eeprom writes then
the job will be easier 2) propagating program memory changes to the gui.

Scott


Previous by date: 1 Jan 2006 03:50:02 +0000 gpsim simulating bootloader, John De Villiers
Next by date: 1 Jan 2006 03:50:02 +0000 Re: [gnupic] gpsim simulating bootloader, John De Villiers
Previous in thread:
Next in thread: 1 Jan 2006 03:50:02 +0000 Re: [gnupic] gpsim simulating bootloader, John De Villiers


Powered by ezmlm-browse 0.20.