I can't speak for all of the amforth'ers, but I can tell you what I do.

I have a set of words (in assembler) that support the Microchip  
25LC512 serial EEPROM.  These words allow me to save and restore a  
full system image on my ATmega328P.  By "full system image" I mean  
flash from 0 to dp and EEPROM from 0 to edp.

I have modified my amforth file to detect a low state on a given I/O  
pin at reset.  If the pin is low, the amforth startup code refreshes  
flash and EEPROM from the serial EEPROM, then performs a normal startup.

It takes about three seconds to do a system save and about 0.5  
seconds to do a restore on reset.  Makes life a lot easier during  
development.

However, this does not answer one of your implied questions.  I still  
have to download my programs under development using the serial  
port.  There is enough leftover serial EEPROM to hold at least 32  
Forth screens, but I have not been able to hook the serial EEPROM  
contents into the Forth interpreter.  Key words, such as LOAD and BLK  
are missing, which means the interpreter cannot switch between  
interpreting from TIB and interpreting from a buffer.

If these changes are made, I would be able to develop on the target.   
Until then, it's the old-fashioned way.  I'm looking into how best to  
make the needed changes, but guidance from the amforth community  
would be most welcome.

Karl


On Oct 21, 2010, at 7:54 AM, Christian Kellermann wrote:

> Dear amforth'ers,
>
> During my playtime with amforth I always wonder how to develop
> longer dictionaries with the device.
>
> What I am doing now is:
>
> - try out wording at the amforth prompt.
> - transfer changes to a dictionary file.
> - flash the device with the standard image.
> - use a little program to insert my project's dictionary.
>
> I am wondering whether there is a more clever way to do it, especially
> the reflashing step annoys me (controller needs to be in place etc).
>
> How do you do it?
>
> Kind regards,
>
> Christian
>
> ---------------------------------------------------------------------- 
> --------
> Nokia and AT&T present the 2010 Calling All Innovators-North  
> America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and  
> Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in  
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi  
> Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Amforth-devel mailing list
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Amforth-devel mailing list
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to