From: Peter M. <spa...@pm...> - 2019-07-17 16:20:09
|
>>> On 10 Jul 2019, at 21:12, devin davison <lyo...@gm...> wrote: >>> >>> I am interested in trying out AmForth on an Arduino Uno. >>> >>> I have many of them, from what I understand I can use >>> one Arduino Uno as the ISP programmer to program others. >>> I have not found a guide on how to get AmForth onto the >>> Arduino. Can anyone provide some advice or a link to >>> some relevant information to get me on track? >> ... > > On 17/07/2019 06:46, devin davison wrote: > > Thanks for the info. I am on a Windows machine, using avrdude. I am trying > to use the following command, taken from the link provided by Peter C. > (I replaced the COM port with my COM port, COM8) > > *avrdude -p m328p -c avrispmkII -P com8 -U efuse:w:0xFF:m -U hfuse:w:0xD9:m -U lfuse:w:0xFF:m -U flash:w:uno.hex:i -U eeprom:w:uno.eep.hex:i* > > It does not appear to be working properly. I just get a timeout message > repeating indefinitely. I can get the command to work and flash the hex > file if I leave out the fuse settings, but I'm unable to connect via a serial > terminal. I have the exact same setup. This worked for me (for the Arduino ISP programmer on COM3): avrdude -pm328p -P\\.\COM3 -carduino -b19200 -U flash:w:uno.hex -U eeprom:w:uno.eep.hex -U efuse:w:0xfd:m -U hfuse:w:0xd9:m -U lfuse:w:0xff:m -v Make sure you are actually using a more recent version of AVRDUDE (the version that comes with more recently versions of the Arduino IDE is OK). Some other installed software may have placed an outdated version of AVRDUDE that is started instead, due to the content of the "PATH" environment variable. I once positively found I had to use at least version 6.1 of AVRDUDE (both the older ones that came with a version of AVR-GCC and with Arduino IDE v. 1.0.5 (v. 5.11) were too old). Regards, Peter Mortensen |