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}}
      
== Introduction ==
 
== Introduction ==
Ligne 28 : Ligne 26 :  
Le but de la méthode "bootloader-before-uploading" (bootloader avant téléversement) consiste à sélectionner le port virtuel du bootloader dans Arduino IDE et de s'assurer que la carte est en mode bootloader au moment où Arduino IDE débute sa phase de téléversement.
 
Le but de la méthode "bootloader-before-uploading" (bootloader avant téléversement) consiste à sélectionner le port virtuel du bootloader dans Arduino IDE et de s'assurer que la carte est en mode bootloader au moment où Arduino IDE débute sa phase de téléversement.
   −
{{traduction}}
+
# Connectez le périphérique sur votre ordinateur via USB.
 
+
# Dans le menu "Outils", ouvrez le sous-menu "Cartes" et vérifier si l'entrée "Pololu A-Star 32U4 (bootloader port)" est disponible. Si cette entrée est visible, vous pouvez sauter directement à l'étape 6.
# Connect the device to your computer via USB.
+
# Si vous utilisez la version 1.0.x d'Arduino IDE, ouvrez le fichier '''[emplacement des croquis]/hardware/pololu/boards.txt''' en utilisant un éditeur de texte. Si vous utilisez la version 1.5.x d'Arduino IDE, ouvrez le fichier '''[emplacement des croquis]/hardware/pololu/avr/boards.txt''' en utilisant un éditeur de texte. Vous pouvez identifier l'emplacement des croquis depuis la boîte de dialogue des préférences d'Arduino IDE. Le fichier que vous recherchez est le greffons dédié aux cartes A-Star.
# In the “Tools” menu, open the “Board” sub-menu and check to see if the “Pololu A-Star 32U4 (bootloader port)” entry is visible. If this entry is visible, you can skip to step 6.
+
# Dans le fichier boards.txt que vous avez ouvert, cherchez les lignes en bas des fichier commençant par {{fname|#a-star32U4bp}}. Décommentez chacune de ces lignes en effacant le caractère “#” cen début de ligne puis sauvez le fichier.
# If you are using a 1.0.x version of the Arduino IDE, open the file '''[sketchbook location]/hardware/pololu/boards.txt''' using a text editor. If you are using a 1.5.x version of the Arduino IDE, open the file '''[sketchbook location]/hardware/pololu/avr/boards.txt''' using a text editor. You can see the sketchbook location in the Arduino IDE preferences dialog. The file you are looking for is part of the A-Star add-on.
+
# Fermez Arduino IDE puis redémarrez le.
# In the boards.txt file that you opened, find the lines at the bottom of the file that start with {{fname|#a-star32U4bp}}. Uncomment each of those lines by deleting the “#” character, and then save the file.
+
# Dans le menu "Outils", ouvrez le sous-menu "Cartes" et sélectionnez "Pololu A-Star 32U4 (bootloader port)". Cette entrée étant configurée de sorte qu'Arduino IDE enverra les commande de programmation directement sur le port série sélectionné (plutôt que d'essayer d'envoyer des commandes USB spécifiques pour passer le port en mode Bootloader et attendre qu'un nouveau port USB apparaisse sur le système). En sélectionnant cette entrée, le flux des opérations pour la programmation devient plus facile... surtout sous Windows.
# Close the Arduino IDE and restart it.
+
# Préparez votre ordinateur pour afficher la liste des ports séries virtuels. Si vous utilisez Windows, cela signifie que vous devez ouvrir le gestionnaire de périphériques. Si vous utilisez Linux ou Mac OS X alors il faudra ouvrir un terminal et saisir la commande {{fname|ls /dev/tty*}} mais pressez la touche Return/Retour clavier qu'une fois la carte en mode Bootloader (voir les étapes suivantes).
# In the “Tools” menu, open the “Board” sub-menu and select “Pololu A-Star 32U4 (bootloader port). This entry is configured so that the Arduino IDE will send programming commands directly to selected serial port, instead of trying to send a special USB command to the port to get it into bootloader mode and then waiting for the new port to appear. By selecting this entry, the timing of the programming process below becomes easier, especially on Windows.
+
# Pressez deux fois la bouton Reset de la carte pour la passer en mode Bootloader. Alors que la carte est en mode Bootloader (pendant 8 secondes), regardez rapidement la liste des port série disponibles sur votre système d'exploitation afin de savoir à quel port le bootloader est associé.
# 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.
+
# Pressez le bouton Reset deux fois (un nouvelle fois) pour remettre la carte en mode Bootloader (encore). Tandis que la carte est en mode Bootloader, sélectionnez rapidement le port série correspondant dans Arduino IDE. Le port peut être sélectionné dans le sous-menu "Port" du menu "Outils".
# Reset the board twice to get the board into 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.
+
# Dans Arduino IDE, pressez sur le bouton "Verify" pour compilez votre croquis. Cela vous aidera à anticiper le temps nécessaire à la compilation de votre croquis pour l'étape suivant.
# Reset the board twice to get the board into bootloader mode again. While the board is in bootloader mode, quickly select the serial port of the bootloader in the Arduino IDE. The port can be selected in the “Port” sub-menu under “Tools”.
+
# Pressez ke bouton Reset deux fois pour placer la carte en mode bootloader (encore une fois). Et aussi tôt que la LED jaune pulse sur la carte, pressez sur le bouton Téléversez/Upload.
# In the Arduino IDE, click the “Verify” button to compile your sketch. This could make the timing easier during the next step.
  −
# Press the reset button twice to get the board into bootloader mode again. As soon as you see the yellow LED fading in and out, press the Upload button.
     −
The Arduino IDE will compile your sketch and then upload it to the selected serial port.
+
Arduino IDE compilera le croquis et le téléversea sur le port série sélectionné.
   −
If the compilation of the sketch takes longer than 8 seconds, then this procedure will fail because the bootloader will time out and start trying to run the malfunctioning sketch again. If that happens, try the procedure again using a simpler sketch such as the Blink example that can be found under '''File > Examples > 01.Basics > Blink''' .
+
Si la compilation du croquis prends plus de 8 secondes alors la procédure échouera parce que la carte aura quitté le mode Bootloader au moment du Téléversement (et la carte essayera alors de démarrer le croquis défaillant déjà présent en mémoire. Si cela arrive, alors essayez cette procédure avec un croquis beaucoup plus simple et plus rapide à compiler comme l'exemple "Blink" que vous pourrez charger via le menu '''Fichier > Exemple > 01.Basics > Blink''' .
   −
After reviving your device, be sure to change the Board setting back to “Pololu A-Star 32U4” and select the right Port.
+
Après la résurrection de votre périphérique, assurez-vous que la configuration de la carte soit bien repositionner sur "Pololu A-Star 32U4" et sélectionnez le bon Port.
    
{{Pololu-Romi-32U4-TRAILER}}
 
{{Pololu-Romi-32U4-TRAILER}}
29 836

modifications

Menu de navigation