{"id":7570,"date":"2021-04-05T16:17:38","date_gmt":"2021-04-05T14:17:38","guid":{"rendered":"https:\/\/michlstechblog.info\/blog\/?p=7570"},"modified":"2021-04-05T18:34:30","modified_gmt":"2021-04-05T16:34:30","slug":"espeasy-flashing-a-esp8266-with-espeasy","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/espeasy-flashing-a-esp8266-with-espeasy\/","title":{"rendered":"ESPEasy: Flashing a ESP8266 with espeasy"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_7570 social_share_privacy clearfix 1.6.4 locale-en_US sprite-en_US\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_7570')){$('.twoclick_social_bookmarks_post_7570').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"ESPEasy%3A%20Flashing%20a%20ESP8266%20with%20espeasy\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0ADownload%20the%20latest%20release%20release%20file%0D%0A%20%28more%26hellip%3B%29\",\"txt_info\":\"2 clicks for more data protection:\\r\\n\\r\\nOnly when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. \",\"perma_option\":\"off\"}},\"txt_help\":\"When you activate these fields by clicking, information to Flattr may be transferred abroad, and probably may also stored there.\",\"settings_perma\":\"Enable permanently and accept data transmission. \",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/michlstechblog.info\\\/blog\\\/espeasy-flashing-a-esp8266-with-espeasy\\\/\",\"post_id\":7570,\"post_title_referrer_track\":\"ESPEasy%3A+Flashing+a+ESP8266+with+espeasy\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>Download the latest release <a href=\"https:\/\/github.com\/letscontrolit\/ESPEasy\/releases\" rel=\"noopener\" target=\"_blank\">release file<\/a><br \/>\n<!--more--><\/p>\n<p>In this example ESPEasy_ESP82xx_mega-20210223.zip<br \/>\nExtract it<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nmichael@debdev ~\/Downloads # unzip ESPEasy_ESP82xx_mega-20210223.zip\r\n<\/pre>\n<p>Create a python virtual env<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nmichael@debdev ~ # sudo apt install python3-pip python3-venv\r\nmichael@debdev ~ # python3 -m venv ~\/esptool\r\nmichael@debdev ~ # source ~\/esptool\/bin\/activate\r\n&#x5B;esptool] michael@debdev ~ # python3 -m pip install setuptools wheel esptool\r\n<\/pre>\n<p>And flash<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n&#x5B;esptool] michael@debdev ~ #  esptool.py  --baud 115200 write_flash -fs 1MB -fm dout 0x0 ~\/Downloads\/bin\/ESP_Easy_mega_20210223normal_ESP8266_1M.bin\r\n<\/pre>\n<p>Connect to Accesspoint. Password: configesp<\/p>\n<p><a href=\"https:\/\/www.letscontrolit.com\/wiki\/index.php\/Basics:_The_I%C2%B2C_Bus\" rel=\"noopener\" target=\"_blank\">i2c <\/a>-> GPIO-4 (D2) = SDA, GPIO-5 (D1) = SCL<br \/>\n<!--\n[shell]\niptables -t nat -A POSTROUTING -s 172.16.1.6\/32 -d 172.16.4.129\/32 -o eth0 -j MASQUERADE\n[\/shell]\n--><br \/>\nMichael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, Download the latest release release file<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1548],"tags":[1571,1572,1573,1039],"class_list":["post-7570","post","type-post","status-publish","format-standard","hentry","category-esp8266","tag-esp8266","tag-espeasy","tag-flashing","tag-setup"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/7570","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/comments?post=7570"}],"version-history":[{"count":8,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/7570\/revisions"}],"predecessor-version":[{"id":7579,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/7570\/revisions\/7579"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=7570"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=7570"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=7570"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}