Re: [Amforth] Newbie with a mega2560

2021-05-24 Thread Michael Picco
Hello Martin, Thank you for responding! In my work directory, which is aptly named 'amforth-6.9', I don't see a copy of the template.asm file with "amforth-low.asm" mentioned.  The amforth-low.asm file is referenced in the avr8 subdirectory.  Is there something I am missing? Kind regards,

[Amforth] marker failing? was: Newbie with a mega2560

2021-05-24 Thread Erich Wälde
I took the liberty to snip off the thread. Hello Michael, Michael Picco writes: > Hello! > > I seem to have stumbled across an issue. > > First code I wrote was to blink the LED onboard.  This worked just fine. > Then I went to add 'marker'.  Entered it line-by-line ... got the 'Ok' after >

Re: [Amforth] Newbie with a mega2560

2021-05-24 Thread Martin Nicholas via Amforth-devel
The crucial file to include for an ATmega is the confusingly named: "amforth-low.asm" which needs to be un-commented in template.asm. All the code is then in low flash memory apart from the flash burning routine which should be found at NRWW_START_ADDR (0x01f000). Often, with a new device, you

Re: [Amforth] Newbie with a mega2560

2021-05-24 Thread Robert Bradley via Amforth-devel
Hello, Several years ago (Nov 2012), I tried to get amforth running on an Arduine2560. After a LOT of pain I succeded. I wrote the following to the board, and it is probably somewhere in the archives. Anyway……I do not know if the issues that you are experiencing are the same, but it sure

Re: [Amforth] Newbie with a mega2560

2021-05-24 Thread Mark Roth
Hello. If your High fuse is set to 0xDC that is probably your problem. From what I see that gives you a 1k boot section and Amforth is probably trying to blast past that. I have some strange fails when I first flashed my 1284p chips. Checking with a fuse calculator it looks like that chip should

Re: [Amforth] Newbie with a mega2560

2021-05-24 Thread tristan
Hi Michael, AmForth uses a dictionary to store the words it knows about. When AmForth recognises it has received a word over the serial line it tries to lookup that word in its dictionary. If it finds the word, it executes that word. If it does not, then it reports an error. In the file