Re: [Flashforth-devel] FlashForth on the ATmega2560
Brought to you by:
oh2aun
From: Mikael N. <mik...@fl...> - 2023-01-04 19:46:19
|
That is surprising. On my Arduino Mega2560 board everything works just fine. I am using exactly the same avrdude command except for stk500 instead of usbasp. Try executing 'empty' as first command. That may help. Altough the -e chip erase directive should have the same effect as executing 'empty' as the first command. BR Mikael On 2023-01-01 12:43, Helge Kruse wrote: > Happy New Year to all Forth enthusiasts! > > > Probably the website could be extended with commands for the board > other > than Arduino UNO. I managed to flash FF to my ATMEGA2560 board using > this command: > avrdude -v -patmega2560 -c usbasp -e -Ulock:w:0x3F:m -Uefuse:w:0xff:m > -Uhfuse:w:0xdf:m -Ulfuse:w:0xff:m -U flash:w:2560-16MHz-38400.hex > > Now I can play with the stack. But defining a new word causes a warm > boot: > > variable foo FlashForth 5 ATmega2560 19.11.2022 > : bar ; FlashForth 5 ATmega2560 19.11.2022 > create magic FlashForth 5 ATmega2560 19.11.2022 > > This was working on a Arduino UNO before. Is there anything other I > have > to prepare to run FlashForth on ATmega2560? > > Best regards, > Helge > |