Hello,
I am developing a board that uses an ATmega32U4. I have re-compiled the Catrina bootloader to change my VID and PID and change the operating frequency to 8Mhz. Everything works fine on a Mac and on a PC running Windows 10 but the bootloader hangs on a PC running Windows 7. I get the following message:
Arduino: 1.8.2 (Windows 7), Board: "Mobillyo"
Forcing reset using 1200bps open/close on port COM51
PORTS {COM51, } / {} => {}
PORTS {} / {COM51, } => {COM51, }
Found upload port: COM51
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega32u4 -cavr109 -PCOM51 -b19200 -D -Uflash:w:C:\Users\Seenov1\AppData\Local\Temp\arduino_build_137324/Master_I2C_send_Leonardo.ino.hex:i
avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM51
Using Programmer : avr109
Overriding Baud Rate : 19200
AVR Part : ATmega32U4
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 20 4 0 no 1024 4 0 9000 9000 0x00 0x00
flash 65 6 128 0 yes 32768 128 256 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : butterfly
Description : Atmel AppNote AVR109 Boot Loader
Connecting to programmer: .avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
The complete error message is attached as are the .inf and the boards.txt files.
I have tried to recompile the bootloader it did not help.
A leonardo works fine. So it is not the arduino code.
The port gets disabled during the loading sequence, I have to disable it and re enable it in the device manager. Once the code is loaded with the mac, it runs in the board connected to a win 7 PC, sending messages to the serial port monitor.
I have noticed a few things: Lufa is quite old, the curent version is 151115
Has anyone tried a current LUFA release?
In the Arduino.inf file there are 2 entries for the leonardo with 2 different PIDs, 0036 and 8036 but only on entry in the catrina bootloader 0036:
%leonardo.bootloader.name%=DriverInstall, USB\VID_2341&PID_0036
%leonardo.sketch.name%=DriverInstall, USB\VID_2341&PID_8036&MI_00
Is my problem the win 7 driver?, the inf? or the the boot loader?
Any help is greatly appreciated.