Re: [Amforth] Flashing AmForth to Arduino Leonardo

2019-03-10 Thread Tristan Williams
Hello Jan, Erich, I came across my Leonardo and remembered this thread. I think Eric is correct. There is no FTDI USB to serial chip. The USB connection is provided by the ATmega32U4 itself. The Leonardo bootloader enumerates to the host as a CDC Class device (virtual serial port). However, once

Re: [Amforth] Flashing AmForth to Arduino Leonardo

2018-12-13 Thread Peter C. Hauser
Jan, Have a look at this: https://github.com/arduino/Arduino/pull/5182 At some stage AVRDude changed the way it reads back the unused fuse bits and thus the e-fuse parameter in the command line had to be adjusted. I had this problem with the A

Re: [Amforth] Flashing AmForth to Arduino Leonardo

2018-12-13 Thread Fred Zelders
Connect the Arduino Leoardo via a USB Hub to your Macbook. Most of the times that solves the USART logic voltage level problem. This way I solved a problem I had with a Chinese Arduino clone. (Used a USB 2.0 Hub then). Fred > Op 13 dec. 2018, om 12:39 heeft Erich Wälde het > volgende geschre

Re: [Amforth] Flashing AmForth to Arduino Leonardo

2018-12-13 Thread Erich Wälde
Hello Jan, Jan Kromhout writes: > Hi, > > Flashing the Arduino Uno is giving no problems. > > Try to flash the Leonardo. > I’m using the Pololu AVR programmer v2.1 > This is my command. > > MacBook-Pro-van-Jan-10:avrdude jankromhout$ avrdude -p m32u4 -c avrispv2 -P > /dev/tty.usbmodem00230362 -U

Re: [Amforth] Flashing AmForth to Arduino Leonardo

2018-12-13 Thread Jan Kromhout
Tristan, This is what I get Perhaps the fuse values are incorrect! MacBook-Pro-van-Jan-10:avrdude jankromhout$ avrdude -p m32u4 -c avrispv2 -P /dev/tty.usbmodem00230362 -U efuse:w:0xFF:m -U hfuse:w:0xD9:m -U lfuse:w:0xFF:m -U flash:w:leonardo.hex:i -U eeprom:w:leonardo.eep.hex:i avrdude: AVR

Re: [Amforth] Flashing AmForth to Arduino Leonardo

2018-12-13 Thread Tristan Williams
Jan, What error is avrdude reporting? Kind regards, Tristan On 13Dec18 10:09, Jan Kromhout wrote: > Hi, > > Flashing the Arduino Uno is giving no problems. > > Try to flash the Leonardo. > I’m using the Pololu AVR programmer v2.1 > This is my command. > > MacBook-Pro-van-Jan-10:avrdude jankr

[Amforth] Flashing AmForth to Arduino Leonardo

2018-12-13 Thread Jan Kromhout
Hi, Flashing the Arduino Uno is giving no problems. Try to flash the Leonardo. I’m using the Pololu AVR programmer v2.1 This is my command. MacBook-Pro-van-Jan-10:avrdude jankromhout$ avrdude -p m32u4 -c avrispv2 -P /dev/tty.usbmodem00230362 -U efuse:w:0xFF:m -U hfuse:w:0xD9:m -U lfuse:w:0xFF:m