Ligne 1 : |
Ligne 1 : |
− | This page is currently under translation
| |
− |
| |
| == Pre-requisites == | | == Pre-requisites == |
| Note: [[FEATHER-CHARGER-MICROPYTHON-ESP8266|This page also exists in French]] | | Note: [[FEATHER-CHARGER-MICROPYTHON-ESP8266|This page also exists in French]] |
Ligne 156 : |
Ligne 154 : |
| | | |
| == After Flash operation == | | == After Flash operation == |
− | 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.
| + | Press tge RESET when available or power cycle the board. |
| + | |
| + | Voila, you just have you MicroPython firmware running on your ESP! |
| + | |
| + | You can now establish a [[FEATHER-CHARGER-MICROPYTHON-SERIAL-REPL|serial REPL]] with a software like [https://www.putty.org/ Putty] (Freeware, running on Linux, Windows, Mac). |
| + | |
| + | When started, just write mention the path to serial device attached to the ESP8266. |
| + | |
| + | |
| + | [[Fichier:FEATHER-CHARGER-MICROPYTHON-ESP8266-EN-10a.jpg]] |
| | | |
− | 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.
| + | [[Fichier:FEATHER-CHARGER-MICROPYTHON-ESP8266-EN-11.jpg]] |
| | | |
| == Ressources == | | == Ressources == |
| === Error message === | | === Error message === |
− | '''J'ai le message d'erreur "read failed: device reports readiness to read but returned no data (device disconnected or multiple access on port?" !''' | + | '''I do have the following error message "read failed: device reports readiness to read but returned no data (device disconnected or multiple access on port?" !''' |
| | | |
− | Nous avons rencontré ce problème lorsque le câble console était branché sur un HUB USB externe. Essayez de brancher le câble console directement sur l'ESP8266.
| + | We do meet that problem when the console cable (USB/Serial) where connected through an external USB HUB. Try to plug the console cable directly on the ESP8266. |
| | | |
| === EspTool Upgrade === | | === EspTool Upgrade === |
− | Les firmwares récents nécessitent une version récente d'EspTool pour être flasher l'ESP8266.
| + | Recent version of the MicroPython firmwares do requires a more recent version of the EspTool to be flashed on the ESP8266. |
| | | |
− | Pour notre grand malheur, nous avons essayé de flasher un firmware 1.8.x avec un EspTool 1.0.1. Inutile de dire que nous n'avons plus grand chose de fonctionnel sur notre ESP8266 !
| + | Since tghe release 1.8.x of MicroPython, the EspTool 1.0.1 doesn't make the job anymore. |
| | | |
− | Un upgrade d'EspTool à la version la plus récente (2.0.1 en l’occurrence, voir [https://pypi.python.org/pypi/esptool ici sur pypi.python.org]) à résolu notre problème grâce à l'option --flash_size=detect
| + | An upgrade to a more recent EspTool (version 2.0.1) will help to fix with --flash_size=detect . |
| | | |
− | Pour forcer la mise-à-jour d'EspTool à une version donnée, il faut saisir:
| + | The following command line can be used to force the upgrade to a given version of EspTool : |
| | | |
| sudo apt-get install esptool==2.0.1 | | sudo apt-get install esptool==2.0.1 |