Modifications

Sauter à la navigation Sauter à la recherche
aucun résumé de modification
Ligne 29 : Ligne 29 :  
{{traduction}}
 
{{traduction}}
   −
Now you'll need to put the ESP8266 into its firmware flashing mode. Each ESP8266 board is slightly different:
+
Maintenant nous allons placer notre ESP8266 en mode "Flashage Firmware". C'est un peu différent pour chaque carte ESP8266:
−
* '''For a raw ESP8266 module''' you'll need to wire up buttons to ground for the GPIO0 and RESET pins. Hold the GPIO0 button down (or connect the line to ground) and while still holding GPIO0 to ground press and release the RESET button (or connect and release the line from ground), then release GPIO0.
+
* '''Pour le module ESP8266 brute''' vous aurez besoin de brancher un bouton pour ramener le GPIO0 à la masse et un deuxième bouton pour ramener la broche RESET à la masse. Maintenez le bouton GPIO0 enfoncé (ou connectez le à la masse) ET pressez pui relachez le bouton RESET pendant que vous maintenez GPIO0 à la masse. Relâcher finalement la broche GPIO0.
−
* For the {{pl|733|HUZZAH ESP8266 breakout}} buttons for GPIO0 and RESET are built in to the board. Hold GPIO0 down, then press and release RESET (while still holding GPIO0), and finally release GPIO0.
+
* Pour le {{pl|733|breakout HUZZAH ESP8266}} les boutons GPIO0 et RESET sont déjà inclus sur la carte. Maintenez le bouton GPIO0 enfoncé (ou connectez le à la masse) ET pressez pui relachez le bouton RESET pendant que vous maintenez GPIO0 à la masse. Relâcher finalement la broche GPIO0.
−
* For the {{pl|846|Feather HUZZAH ESP8266}} you don't need to do anything special to go into firmware flashing mode. This board is built to detect when the serial port is opened for flashing and automatically configure the ESP8266 module to receive firmware. '''Be sure to first [https://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx install the SiLabs CP210x driver] on Windows and Mac OSX to make the board's serial port visible'''!  On Windows you want the normal VCP driver, not the 'with Serial Enumeration' driver.
+
* Pour le {{pl|846|Feather HUZZAH ESP8266}} c'est encore plus simple. Vous n'avez pas besoin de faire quoi que ce soit pour activer le mode "flashage Firmware". Cette carte est conçue pour détecter lorsque le port série est ouvert en vue de flasher le module. Il passe donc automatiquement en mode flashage en configurant automatiquement le module ESP8266 pour recevoir le firmware.
 +
** '''Sur Windows, vous devez préalablement [https://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx installer le pilote CP210x de SiLabs] on Windows pour rendre visible le port série de la carte.<br />Sur Windows, il vaudra installer le pilote VCP standard (''normal VCP driver'') et non celui prenant en charge l'énumération des ports séries (''with Serial Enumeration'')
 +
** '''Sur MacOS X, vous devez préalablement [https://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx installer le pilote CP210x de SiLabs] on Windows pour rendre visible le port série de la carte.
   −
It's recommended to erase the entire flash memory of the ESP8266 board before uploading firmware. Run the following command in a terminal to perform this erase:
+
Il est recommander d'effacer entièrement le contenu de la mémoire Flash d'une carte ESP8266 avant de téléverser un nouveau FirmWare. Exécutez le code suivant dans un terminal pour effectuer cette opération:
   −
  <nowiki>esptool.py --port /path/to/ESP8266 erase_flash</nowiki>
+
  <nowiki>esptool.py --port /chemin/vers/ESP8266 erase_flash</nowiki>
   −
Where /path/to/ESP8266 is the path or name of the serial port that is connected to the ESP8266. The exact name of the device varies depending on the type of serial to USB converter chip so you might need to look at the serial ports with and without the device connected to find its name.
+
Où {{fname|/chemin/vers/ESP8266}} est le chemin ou nom du port série connecté sur l'ESP8266. Le nom exacte du périhérique varie en fonction du type de convertisseur USB-vers-série. Lister vis port série avant de connecter le module ESP826 puis répétez l'opération avec le port série connecté. Le port qui vient d'apparaître est celui correspondant à votre ESP8266.
    
{{ADFImage|FEATHER-CHARGER-MICROPYTHON-ESP8266-22.png}}
 
{{ADFImage|FEATHER-CHARGER-MICROPYTHON-ESP8266-22.png}}
   −
Now put the ESP8266 back into firmware flashing mode and run the following command to load the downloaded firmware file:
+
Remettez votre ESP8266 en "mode Flashage" et exécutez la commande suivante pour charger le nouveau firmware (celui que vous avez déjà téléchargé sur votre ordinateur):
   −
  <nowiki>esptool.py --port /path/to/ESP8266 --baud 460800 write_flash --flash_size=8m 0 firmware.bin</nowiki>
+
  <nowiki>esptool.py --port /chemin/vers/ESP8266 --baud 460800 write_flash --flash_size=8m 0 firmware.bin</nowiki>
   −
Again set '''/path/to/ESP8266''' to the path or name of the serial port that is connected to the ESP8266. In addition set '''firmware.bin''' to the name or path to the firmware file you would like to load.
+
Encore une fois, {{fname|/chemin/vers/ESP8266}} est le chemin ou nom du port série connecté sur l'ESP8266. Remplacez {{fname|firmware.bin}} avec le vrai nom (et chemin d'accès) du fichier firmware que vous voulez téléverser sur l'ESP8266.
    
{{ADFImage|FEATHER-CHARGER-MICROPYTHON-ESP8266-23.png}}
 
{{ADFImage|FEATHER-CHARGER-MICROPYTHON-ESP8266-23.png}}
   −
Once the tool finishes flashing the firmware (you'll usually see a blue light on the ESP8266 module flashing during this process) press the RESET button on the ESP8266 board or disconnect and reconnect it to your computer. You should be all set to start using the latest MicroPython firmware on the board!
+
Pressez le bouton RESET de votre carte une fois que l'outil à terminé le flashage du Firmware (la LED bleue clignote durant le flashage). Si vous ne possédez pas de bouton RESET, vous pouvez également déconnecter et reconnecter l'ESP8266 sur votre ordinateur.
   −
Jump to the [[FEATHER-CHARGER-MICROPYTHON-SERIAL-REPL|Serial REPL page]] in this guide to learn how to access MicroPython's 'command prompt' on the board.
+
Voila, vous venez de flasher votre ESP8266 avec la dernière version du firmware MicroPython!
 +
 
 +
Vous pouvez sauter sur la section [[FEATHER-CHARGER-MICROPYTHON-SERIAL-REPL|REPL série]] de ce guide pour apprendre comment obtenir l'invite de commande de votre carte MicroPython.
    
{{FEATHER-CHARGER-MICROPYTHON-TRAILER}}
 
{{FEATHER-CHARGER-MICROPYTHON-TRAILER}}
32 920

modifications

Menu de navigation