From: <ha...@hu...> - 2007-02-26 19:55:05
|
Hello Matthias, thanks for your quick reply. The problem has been the clock. At 8 Mhz, 9600 are not really attainable and I guess that the AVR just received garbage when I was trying to define a word. I installed a 3.6864 Mhz xtal and now things work on the ATMEGA8L-8PI just fine! Great! Thanks for this very cool piece of software. Is there any information available on how one would proceed to get an application running with amforth? I see that there are several files in the blocks/ subdirectory that appear to be Forth libraries, but how would I add those files to the Flash image? Is the svn repository available for public read access? Again, thanks for your support and this great piece of software! -Hans 2007/2/26, Matthias Trute <mt...@we...>: > Hello Hans, > > > I am now trying to run amforth-1.3 on an atmega8l-8pi. Compiling and > > flashing the software went fine, and I get the startup banner. > > Interactive commands work, but if I try to define a word, the system > > crashes and I seem to need to reprogram the eeprom to recover. Does > > anyone have a hint? > > > > amforth 1.3 > > > >> 1 2 3 + + . > > 6 ok > >> : foo 1 2 + . ; > > ?? FFF3 C > > On my Atmega8 (16PU) everything works fine. No problems. > Please check your fuses & lockbits and re-set them to > factory defaults (except oscillator settings). Basically the > fff3 is decimal -13 and that means that the word ending at > character 12 (the c says that) was not found and could be converted > to a number. For version 1.3 you could try to enter the > ; again, since the interpreter remains in compilation mode even > for such aborts. > > The upcoming version 1.4 (svn trunk) will reset the state to > interpreter mode. > > Bye > Matthias > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Amforth-devel mailing list > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel > |