Modifications

Sauter à la navigation Sauter à la recherche
aucun résumé de modification
Ligne 1 : Ligne 1 :  
{{Pololu-Romi-32U4-NAV}}
 
{{Pololu-Romi-32U4-NAV}}
   −
{{traduction}}
+
Cette section explique une méthode spéciale permettant de réssuciter un A-Star (et autres cartes de la famille 32U4) en utilisant un utilitaire en ligne de commande [http://www.nongnu.org/avrdude/ AVRDUDE] dans le cas où la méthode de programmation habituelle échoue. AVRDUDE est un accronyme signifiant "AVR Downloader/UploaDEr" (Téléchargement / Téléversement pour AVR) et il est compatible avec le bootloader de l'A-Star.
   −
This section explains a special method for reviving an A-Star (or another of our 32U4 family of boards) using the command-line utility [http://www.nongnu.org/avrdude/ AVRDUDE] in case your usual method of programming is not working. AVRDUDE stands for “AVR Downloader/UploaDEr”, and it is compatible with the A-Star bootloader.
+
Si vous disposez d'un A-Star 32U4 Micro, vous devriez connecter un bouton poussoir entre les broches RST et GND pour facilier les manipulations nécessaires (il servira de bouton Reset). Les autres carte de la famille 32U4 produite pas Pololu dispose d'un bouton Reset sur la carte.
   −
If you have an A-Star 32U4 Micro, you should connect a momentary pushbutton between the GND and RST pins to serve as a reset button. Other boards in our 32U4 family have a reset button you can use. Alternatively, you can use a wire to temporarily connect GND and RST together instead of using a reset button.
+
# Connectez le périphérique sur votre ordinateur via la connexion USB.
 
+
# Préparer l'ordinateur pour afficher la liste des périphériques et leur port COM virtuel. Si vous utilisez Windows alors il faut ouvrir le gestionnaire de périphérique. Si vous êtes sur Linus ou Mac OS X alors ouvrez un terminal et saisissez la commande {{fname|ls /dev/tty*}} mais ne pressez pas encore la touche de retour clavier (voir point suivant).
# Connect the device to your computer via USB.
+
# Pressez le bouton Reset deux fois (endéans les 750 ms) pour mettre l'AVR en mode bootloader. Vous devriez vois la LED jaune de la carte pulser indiquant que la carte est en mode Bootloader. Alors que la carte est en mode Bootloader, cherchez rapidement après le nouveau port série apparu dans la le gestionnaire de périphérique (ou presser le retour clavier dans le terminal pour lister les périphériques). Cela permettra d'identifier la carte le port série associé au bootloader de la carte.
# Prepare the computer to show you a list of its virtual serial ports. If you are using Windows, this means you should open the Device Manager. If you are on Linux or Mac OS X, this means you should open a Terminal and type the command {{fname|ls /dev/tty*}} but do not press enter until the board is in bootloader mode in the next step.
+
# Dans la commande suivante saisie dans votre terminal, remplacez le COM4 avec le port série du Bootloader que vous avez identifié grâce aux points précédents... mais ne pressez pas encore la retour clavier. Cette commande effacera le programme non fonctionnel de la mémoire flash du périphérique tout en préservant le bootloader.<br />{{fname|avrdude -c avr109 -p atmega32U4 -P COM4 -e}}
# Press the reset button twice within 750 ms to make the AVR go into bootloader mode. You should see the yellow LED fading in and out when the AVR is in bootloader mode. While it is in bootloader mode, quickly look at the list of serial ports provided by your operating system in order to determine what port the bootloader is assigned to.
+
# Pressez le bouton Reset deux fois (endéans les 750 ms) pour placer l'AVR en mode Bootloader.
# Type the following command in your terminal and replace COM4 with the name of the bootloader’s serial port, but do not press enter yet. This command will erase the malfunctioning program on the device but preserve the bootloader.<br />{{fname|avrdude -c avr109 -p atmega32U4 -P COM4 -e}}
+
# Exécutez la commande saisie précédemment. La commande à besoin d'être exécutée endéans les 8 secondes d'exécution du Bootloader (ou sinon, le microcontrôleur essayera à nouveau d'exécuter le croquis défaillant présent dans la flash du MicroContrôleur).
 
  −
# Press the reset button twice within 750 ms to make the AVR go into bootloader mode.
  −
# Quickly run the command you typed previously. The command needs to be run within 8 seconds of starting the bootloader, or else the bootloader will exit and try to run the malfunctioning program again.
  −
 
  −
By following the instructions above, the malfunctioning program on the device will be erased and the device will stay in bootloader mode indefinitely. You can now load another program onto it using the Arduino IDE or AVRDUDE.
      +
En suivant les instructions ci-dessus, le croquis défaillant présent sur le périphérique sera effacé et seul le bootloader restera présent dans dans la mémoire flash. Le périphérique reste continuellement en mode Bootloader. Maintenant, vous pourrez programmer la carte via Arduino IDE ou AVRDUDE dans aucun problème.
    
{{Pololu-Romi-32U4-TRAILER}}
 
{{Pololu-Romi-32U4-TRAILER}}
29 836

modifications

Menu de navigation