AntiGuide: ArduinoProMicro



PagePrincipale :: DerniersChangements :: ParametresUtilisateur :: Vous êtes 216.73.216.28 :: Signaler un abus :: le: 20250824 23:39:04
ArduiNo
atmega 32u4
20210427 lire ArduinoProMicroNonProgrammable
deux lignes de contacts, breadboard friendly
voir aussi ArduinoMicro
un témoignage: http://www.projetsdiy.fr/utiliser-clone-arduino-ebay/#.V0hkHM6o1_k
le processeur intègre un interface Usb géré par la librairie "Keyboard"
convenable pour construire PoTrollKeyNvda, PetitsDebrouillards
2x12 pins(nano V3 en a 2x15)
3.5€ http://fr.aliexpress.com/store/product/Free-Shipping-New-Pro-Micro-for-arduino-ATmega32U4-5V-16MHz-Module-with-2-row-pin-header/318950_1348800135.html
GAFFE: c'est incommensurablement plus cher qu'un ArduinoProMini, mais ça résoud le support de la communication Usb
commandé le ?????
20160525; reçu.
celui de droite sur la page: http://electronics.stackexchange.com/questions/71443/are-these-two-arduino-pro-micros-jumpered-correctly


chez ebay:
http://www.ebay.fr/itm/New-Pro-Micro-ATmega32U4-5V-16MHz-Replace-ATmega328-Arduino-Pro-Mini-/140972980117

avec bouton reset et 6xICSP: 7.5 e: http://fr.aliexpress.com/item/For-Arduino-Micro-ATmega32u4-5V-16MHZ-100-compatible-For-Arduino-Mirco-Replace-pro-mini/1893729784.html
dito; 6 €: http://fr.aliexpress.com/item/Micro-ATmega32u4-5V-16MHZ-100-compatible-For-Arduino-Mirco-Replace-pro-mini-leonardo-mini/32642350270.html

branché sur AcerM1641Vistaorigine, demande installer pilote leonardo
composite et Hid installé localement leonard recherche internet
chgt driverr selon: https://www.arduino.cc/en/Guide/ArduinoLeonardoMicro#toc10
ou: https://www.arduino.cc/en/Guide/DriverInstallation
diode pwr rouge+ une diode verte(traditionnelle pin 13) et une jaune
bizarre: pas de reset
premier essais: blink ne clignote que deux ou trois fois ????
ou pas possible éteindre led verte
délai Serial au démarrage

GAFFE: le port COM change à chaque démarrage/reset (de 17/23 pour l'instant), en fait
23 se nomme "boot loader leonardo"
17 arduino micro

chargement réussi un peu hier, rien ce matin... , pas d'explication.
20160526:
dans le vague, println ne donne plus rien

même si je force com23 dans "preferences.txt", apparait com17 non selectionne

appui sur shift lors du chargemet donne le VID/PID attendu, sinon réponse banale: avrdude: butterfly_recv(): programmer is not responding
2341/0036pour com17
pas réussi à voir le 23!

pour usbTinyIsp : (0x1781/0xc9f)

dns un source jelis: promicro.build.vid=0x1b4f

dialogue sur forum
problable que l'IDE croit la touche majuscule enfoncée, reboot, disparait

reste à lâcher le reset justeà la fin de la compile et on a:
Sketch uses 6,930 bytes (24%) of program storage space. Maximum is 28,672 bytes.
Global variables use 252 bytes (9%) of dynamic memory, leaving 2,308 bytes for local variables. Maximum is 2,560 bytes.
Forcing reset using 1200bps open/close on port COM17
PORTS {COM1, COM17, } / {COM1, COM17, } => {}
PORTS {COM1, COM17, } / {COM1, COM17, } => {}
PORTS {COM1, COM17, } / {COM1, COM17, } => {}
PORTS {COM1, COM17, } / {COM1, COM17, } => {}
PORTS {COM1, COM17, } / {COM1, COM17, } => {}
PORTS {COM1, COM17, } / {COM1, COM17, } => {}
PORTS {COM1, COM17, } / {COM1, COM17, } => {}
PORTS {COM1, COM17, } / {COM1, COM17, COM23, } => {COM23, }
Found upload port: COM23
C:\Users\adminpo\Desktop\ARDUINO\arduino-1.6.8\hardware\tools\avr/bin/avrdude -CC:\Users\adminpo\Desktop\ARDUINO\arduino-1.6.8\hardware\tools\avr/etc/avrdude.conf -v -patmega32u4 -cavr109 -PCOM23 -b57600 -D -Uflash:w:C:\Users\adminpo\AppData\Local\Temp\builda91d45d9bb79fd254c1169ec8eadcc87.tmp/po.ino.hex:i 

avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Users\adminpo\Desktop\ARDUINO\arduino-1.6.8\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM23
         Using Programmer              : avr109
         Overriding Baud Rate          : 57600
         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: .
Found programmer: Id = "CATERIN"; type = S
    Software Version = 1.0; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=128 bytes.

Programmer supports the following devices:
    Device code: 0x44

avrdude: devcode selected: 0x44
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9587
avrdude: reading input file "C:\Users\adminpo\AppData\Local\Temp\builda91d45d9bb79fd254c1169ec8eadcc87.tmp/po.ino.hex"
avrdude: writing flash (6930 bytes):

Writing | ################################################## | 100% 0.65s

avrdude: 6930 bytes of flash written
avrdude: verifying flash memory against C:\Users\adminpo\AppData\Local\Temp\builda91d45d9bb79fd254c1169ec8eadcc87.tmp/po.ino.hex:
avrdude: load data flash data from input file C:\Users\adminpo\AppData\Local\Temp\builda91d45d9bb79fd254c1169ec8eadcc87.tmp/po.ino.hex:
avrdude: input file C:\Users\adminpo\AppData\Local\Temp\builda91d45d9bb79fd254c1169ec8eadcc87.tmp/po.ino.hex contains 6930 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.12s

avrdude: verifying ...
avrdude: 6930 bytes of flash verified

avrdude done.  Thank you.


Sketch uses 6,930 bytes (24%) of program storage space. Maximum is 28,672 bytes.
Global variables use 252 bytes (9%) of dynamic memory, leaving 2,308 bytes for local variables. Maximum is 2,560 bytes.
Forcing reset using 1200bps open/close on port COM17
PORTS {COM1, COM17, } / {COM1, COM17, COM23, } => {COM23, }
Found upload port: COM23
C:\Users\adminpo\Desktop\ARDUINO\arduino-1.6.8\hardware\tools\avr/bin/avrdude -CC:\Users\adminpo\Desktop\ARDUINO\arduino-1.6.8\hardware\tools\avr/etc/avrdude.conf -v -patmega32u4 -cavr109 -PCOM23 -b57600 -D -Uflash:w:C:\Users\adminpo\AppData\Local\Temp\builda91d45d9bb79fd254c1169ec8eadcc87.tmp/po.ino.hex:i 

avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Users\adminpo\Desktop\ARDUINO\arduino-1.6.8\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM23
         Using Programmer              : avr109
         Overriding Baud Rate          : 57600
         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: .
Found programmer: Id = "CATERIN"; type = S
    Software Version = 1.0; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=128 bytes.

Programmer supports the following devices:
    Device code: 0x44

avrdude: devcode selected: 0x44
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9587
avrdude: reading input file "C:\Users\adminpo\AppData\Local\Temp\builda91d45d9bb79fd254c1169ec8eadcc87.tmp/po.ino.hex"
avrdude: writing flash (6930 bytes):

Writing | ################################################## | 100% 0.61s

avrdude: 6930 bytes of flash written
avrdude: verifying flash memory against C:\Users\adminpo\AppData\Local\Temp\builda91d45d9bb79fd254c1169ec8eadcc87.tmp/po.ino.hex:
avrdude: load data flash data from input file C:\Users\adminpo\AppData\Local\Temp\builda91d45d9bb79fd254c1169ec8eadcc87.tmp/po.ino.hex:
avrdude: input file C:\Users\adminpo\AppData\Local\Temp\builda91d45d9bb79fd254c1169ec8eadcc87.tmp/po.ino.hex contains 6930 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.11s

avrdude: verifying ...
avrdude: 6930 bytes of flash verified

avrdude done.  Thank you.


si chrono un peu différent on voir l'attente decom23!

raté:
Sketch uses 6,930 bytes (24%) of program storage space. Maximum is 28,672 bytes.
Global variables use 252 bytes (9%) of dynamic memory, leaving 2,308 bytes for local variables. Maximum is 2,560 bytes.
Forcing reset using 1200bps open/close on port COM17
PORTS {COM1, COM17, COM23, } / {COM1, COM17, COM23, } => {}
PORTS {COM1, COM17, COM23, } / {COM1, COM17, COM23, } => {}
PORTS {COM1, COM17, COM23, } / {COM1, COM17, } => {}
PORTS {COM1, COM17, } / {COM1, COM17, } => {}
PORTS {COM1, COM17, } / {COM1, COM17, } => {}
PORTS {COM1, COM17, } / {COM1, COM17, } => {}
PORTS {COM1, COM17, } / {COM1, COM17, } => {}
PORTS {COM1, COM17, } / {COM1, COM17, } => {}
PORTS {COM1, COM17, } / {COM1, COM17, } => {}
PORTS {COM1, COM17, } / {COM1, COM17, } => {}
PORTS {COM1, COM17, } / {COM1, COM17, } => {}
PORTS {COM1, COM17, } / {COM1, COM17, } => {}
PORTS {COM1, COM17, } / {COM1, COM17, } => {}
PORTS {COM1, COM17, } / {COM1, COM17, } => {}
PORTS {COM1, COM17, } / {COM1, COM17, } => {}
PORTS {COM1, COM17, } / {COM1, COM17, } => {}
PORTS {COM1, COM17, } / {COM1, COM17, } => {}
PORTS {COM1, COM17, } / {COM1, COM17, } => {}
PORTS {COM1, COM17, } / {COM1, COM17, } => {}
PORTS {COM1, COM17, } / {COM1, COM17, } => {}
Uploading using selected port: COM17
C:\Users\adminpo\Desktop\ARDUINO\arduino-1.6.8\hardware\tools\avr/bin/avrdude -CC:\Users\adminpo\Desktop\ARDUINO\arduino-1.6.8\hardware\tools\avr/etc/avrdude.conf -v -patmega32u4 -cavr109 -PCOM17 -b57600 -D -Uflash:w:C:\Users\adminpo\AppData\Local\Temp\builda91d45d9bb79fd254c1169ec8eadcc87.tmp/po.ino.hex:i 

avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Users\adminpo\Desktop\ARDUINO\arduino-1.6.8\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM17
         Using Programmer              : avr109
         Overriding Baud Rate          : 57600
         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: .