Modifications

Sauter à la navigation Sauter à la recherche
Ligne 9 : Ligne 9 :     
== Logique de démarrage ==
 
== Logique de démarrage ==
 +
La différence principale entre le Bootloader A-Star 32U4 et Caterina concerne la logique de démarrage. C'est la partie du bootloader qui est exécuté immédiatement après le reset de l'AVR et décide s'il doit exécuter le programme utilisateur ou le restant du Bootloader.
   −
he main difference between the A-Star 32U4 Bootloader and Caterina is in the startup logic. This is the part of the bootloader that runs immediately after the AVR is reset, and it decides whether to run the user program or run the rest of the bootloader. The startup logic of the Caterina bootloader is designed so that when the RST line goes low, the bootloader will run. This means that if you want to restart your program using the RST line, it will take 8 seconds before the bootloader times out waiting for an upload and the sketch starts.
+
Le bootloader Caterina des Arduino standard est conçu pour démarrer lorsque la broche RST est placée au niveau bas. Cela signifie que is vous désirez redémarrer votre plateforme en appuyant sur le bouton Reset alors le Bootloader attendra pendant 8 secondes après le transfert d'un nouveau programme via le port USB. Au terme de ce délai (ou transmission effective d'un nouveau programme), le programme utilisateur stocké en mémoire est exécuté.
   −
The A-Star 32U4 Bootloader has different startup logic that allows you to use the RST line to reset the board with a smaller delay. If the RST line goes low once, the user program will run after a 750 ms delay. If the RST line goes low twice within 750 ms, then the bootloader will run. (This behavior is the same as on boards like SparkFun’s Pro Micro.)
+
Le bootloader de A-Star 32U4 utilise une logique améliorée vous permettant d'utiliser la broche RST pour redémarrer la carte avec un faible attente. Si la broche RST passe '''une fois''' au niveau bas alors le programme utilisateur est démarré après 750 ms. Si la broche RST passe '''une deuxième fois''' au niveau bas durant cette période de 750 ms (donc Reset pressé deux fois) alors le bootloader est exécuté. Cette fonctionnalité est la même que pour la carte Micro Pro de Sparkfun.
   −
The start-up logic of the A-Star 32U4 Bootloader is shown in the flowchart below:
+
La logique de démarrage du bootloader A-Star 32U4 est visible dans le graphique ci-dessous:
    
[[Fichier:Pololu-Romi-32U4-A-Star-Bootloader-00.jpg]]
 
[[Fichier:Pololu-Romi-32U4-A-Star-Bootloader-00.jpg]]
29 910

modifications

Menu de navigation