arduino pro micro problema upload

salve
non riesco a scriere sul mio arduino promicro riconosciuto come leonardo un file hex
con l ide e un tasto di reset riesco a caricarci uno degli esempi presenti , ma se da terminale uso avr
non cè modo di scriverci sopra.
ho proato con linux e con windows ma non va in nessuno dei due so.
il comando che do con win e questo ( suggerito da chi ha creato il file hex)
avrdude -p m32u4 -c avr109 -P comXX -U flash:w:xum1541-PROMICRO-v07.hex
oviamente combio le XX con il numero della porta
pero mi da errore non

Microsoft Windows XP [Versione 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

E:\Documents and Settings\Administrator>cd ..

E:\Documents and Settings>cd ..

E:\>cd avr

E:\avr>avrdude -p m32u4 -c avr109 -P com4 -U flash:w:xum1541-PROMICRO-v07.hex
avrdude: ser_open(): can't open device "\\.\com4": Impossibile trovare il file s
pecificato.


avrdude done.  Thank you.


E:\avr>avrdude -p m32u4 -c avr109 -P com5 -U flash:w:xum1541-PROMICRO-v07.hex

Connecting to programmer: .avrdude: butterfly_recv(): programmer is not respondi
ng

avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
Found programmer: Id = " wÇG¥w "; type = Ó
    Software Version = ". ; Hardware Version = ö.\
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: buffered memory access not supported. Maybe it isn't
a butterfly/AVR109 but a AVR910 device?
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: leave prog mode
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: exit bootloader

avrdude done.  Thank you.


E:\avr>avrdude -p m32u4 -c avr109 -P com5 -U flash:w:xum1541-PROMICRO-v07.hex

Connecting to programmer: .avrdude: butterfly_recv(): programmer is not respondi
ng

avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding

qualche consiglio ? ho seguito delle guide ed usato anche degli scipt ( per linux) ma il risultato e sempre lo stesso , arduino e riconosciuto fra le periferiche
grazie mille

Microsoft Windows XP [Versione 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

E:\Documents and Settings\Administrator>cd..

E:\Documents and Settings>cd..

E:\>cd avr

E:\avr>avrdude -p m32u4 -c avr109 -P com5 -U flash:w:xum1541-PROMICRO-v07.hex

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

avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
Found programmer: Id = " wÇG¥w "; type = Ó
    Software Version = ". ; Hardware Version = ö.\
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: buffered memory access not supported. Maybe it isn't
a butterfly/AVR109 but a AVR910 device?
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: leave prog mode
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: exit bootloader

avrdude done.  Thank you.


E:\avr>avrdude -p m32u4 -c avr109 -P com5 -U flash:w:xum1541-PROMICRO-v07.hex

Connecting to programmer: .avrdude: butterfly_recv(): programmer is not respondi
ng

avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
Found programmer: Id = " wÇG¥w "; type = Ó
    Software Version = ". ; Hardware Version = ö.\
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: buffered memory access not supported. Maybe it isn't
a butterfly/AVR109 but a AVR910 device?
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: leave prog mode
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: exit bootloader

avrdude done.  Thank you.


E:\avr>

adessomi ha dato questo errore

e on linux l errore e questo usando lo script

albe@albe-Aspire-5920:~/leonardoUploader-master$ sudo ./leonardoUploader /dev/ttyACM0 /home/albe/arduino-1.8.2/hardware/tools/avr/bin/xum1541-PROMICRO-v07.hex 
Open Serial....
Reset Arduino Leonardo....
avrdude cmd :avrdude -pm32u4 -cavr109 -D -P/dev/ttyACM0 -Uflash:w:/home/albe/arduino-1.8.2/hardware/tools/avr/bin/xum1541-PROMICRO-v07.hex

Connecting to programmer: .
avrdude: butterfly_recv(): programmer is not responding
albe@albe-Aspire-5920:~/leonardoUploader-master$

con i due , prima quello di destra e poi quello di sdinistra che lampeggiano

econ avr
questo

albe@albe-Aspire-5920:~/leonardoUploader-master$ sudo avrdude -v -p atmega32u4 -c arduino -P /dev/ttyACM0 -b 57600 -D -U flash:w:xum1541-PROMICRO-v07.hex

avrdude: Version 6.0.1, compiled on Oct 21 2013 at 15:55:32
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "/etc/avrdude.conf"
         User configuration file is "/home/albe/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/ttyACM0
         Using Programmer              : arduino
         Overriding Baud Rate          : 57600
ioctl("TIOCMSET"): Broken pipe
ioctl("TIOCMSET"): Broken pipe
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x0d
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x3f
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x3f
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x3f
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x3f
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x3f
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x3f
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x3f
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x3f
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x3f
ioctl("TIOCMSET"): Broken pipe

avrdude done.  Thank you.

leho provate tutte i codici dall ide li carica quindi presumo che le schede funzionino , pero da terminale ......no.
ci sono latri modi per caricare file hex?
grazie

Abilita l'output verboso durante il caricamento e guarda che comando lancia l'ide.

dallide riesco a caricare tranquillamewnte.
come faccio ad attiare l opsione che mi consigli?

albepancio:
dallide riesco a caricare tranquillamewnte.
come faccio ad attiare l opsione che mi consigli?

Menu impostazioni

sto riporvando a trasferire un file hex sul arduino promicro ,
con l ide provando a trasferire l esempio blink se premo il tasto rest al momento giusto mi trasferisce tutto regolarmente ma se provo a trasferire un file hex con avrdude ridulta impossibile ho cercato e ho trovato delle procedure e sia da wiun che da linux la cosa e impossibile se digito dal promot di win
avrdude -p m32u4 -c avr109 -P com7 -U flash:w:as.hex il risultato e questo
connicting to programmer : avrdude.exe butterfly_recv(): programmer is not responding

qualche consiglio?
p.s
prima di darmi quell errore mi scrive connetting to programmer e se ripremo il reset mi da l erroe che ho scritto sopra
grazie