{"id":459,"date":"2022-11-01T11:32:31","date_gmt":"2022-11-01T11:32:31","guid":{"rendered":"https:\/\/hb9iiu.com\/?p=450"},"modified":"2022-11-01T11:32:31","modified_gmt":"2022-11-01T11:32:31","slug":"esp-8266-cheat-sheet","status":"publish","type":"post","link":"https:\/\/hb9iiu.synology.me\/wordpress\/index.php\/2022\/11\/01\/esp-8266-cheat-sheet\/","title":{"rendered":"ESP 8266 Cheat Sheet (Firmware Flashing)"},"content":{"rendered":"\n<p><strong>Find Port on MAC<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ls \/dev\/tty.*<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"117\" src=\"https:\/\/hb9iiu.synology.me\/wordpress\/wp-content\/uploads\/2022\/11\/lstty-1024x117.jpg\" alt=\"\" class=\"wp-image-453\" srcset=\"https:\/\/hb9iiu.synology.me\/wordpress\/wp-content\/uploads\/2022\/11\/lstty-1024x117.jpg 1024w, https:\/\/hb9iiu.synology.me\/wordpress\/wp-content\/uploads\/2022\/11\/lstty-300x34.jpg 300w, https:\/\/hb9iiu.synology.me\/wordpress\/wp-content\/uploads\/2022\/11\/lstty-768x88.jpg 768w, https:\/\/hb9iiu.synology.me\/wordpress\/wp-content\/uploads\/2022\/11\/lstty-1536x176.jpg 1536w, https:\/\/hb9iiu.synology.me\/wordpress\/wp-content\/uploads\/2022\/11\/lstty.jpg 1814w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Install Firmware<\/strong><\/p>\n\n\n\n<p>The first thing to do is download the most recent MicroPython firmware .bin file to load onto your ESP8266 device. You can download it from the&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/micropython.org\/download\/esp8266\/\" target=\"_blank\">MicroPython downloads page<\/a>.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/micropython.org\/download\/esp8266\/\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/hb9iiu.synology.me\/wordpress\/wp-content\/uploads\/2022\/11\/firmware.jpg\" alt=\"\" class=\"wp-image-454\" width=\"413\" height=\"499\" srcset=\"https:\/\/hb9iiu.synology.me\/wordpress\/wp-content\/uploads\/2022\/11\/firmware.jpg 826w, https:\/\/hb9iiu.synology.me\/wordpress\/wp-content\/uploads\/2022\/11\/firmware-248x300.jpg 248w, https:\/\/hb9iiu.synology.me\/wordpress\/wp-content\/uploads\/2022\/11\/firmware-768x928.jpg 768w\" sizes=\"auto, (max-width: 413px) 100vw, 413px\" \/><\/a><\/figure>\n\n\n\n<p><strong>Erase Flash<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>esptool.py --port \/dev\/tty.usbserial-14220 erase_flash<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"452\" src=\"https:\/\/hb9iiu.synology.me\/wordpress\/wp-content\/uploads\/2022\/11\/flashing-1024x452.jpg\" alt=\"\" class=\"wp-image-458\" srcset=\"https:\/\/hb9iiu.synology.me\/wordpress\/wp-content\/uploads\/2022\/11\/flashing-1024x452.jpg 1024w, https:\/\/hb9iiu.synology.me\/wordpress\/wp-content\/uploads\/2022\/11\/flashing-300x132.jpg 300w, https:\/\/hb9iiu.synology.me\/wordpress\/wp-content\/uploads\/2022\/11\/flashing-768x339.jpg 768w, https:\/\/hb9iiu.synology.me\/wordpress\/wp-content\/uploads\/2022\/11\/flashing-1536x678.jpg 1536w, https:\/\/hb9iiu.synology.me\/wordpress\/wp-content\/uploads\/2022\/11\/flashing-2048x904.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Flash Firmware<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>esptool.py --port \/dev\/tty.usbserial-14220 --baud 460800 write_flash --flash_size=detect -fm dout 0 esp8266-20220618-v1.19.1.bin<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/hb9iiu.synology.me\/wordpress\/wp-content\/uploads\/2022\/11\/proesp-1024x683.jpg\" alt=\"\" class=\"wp-image-455\" srcset=\"https:\/\/hb9iiu.synology.me\/wordpress\/wp-content\/uploads\/2022\/11\/proesp-1024x683.jpg 1024w, https:\/\/hb9iiu.synology.me\/wordpress\/wp-content\/uploads\/2022\/11\/proesp-300x200.jpg 300w, https:\/\/hb9iiu.synology.me\/wordpress\/wp-content\/uploads\/2022\/11\/proesp-768x512.jpg 768w, https:\/\/hb9iiu.synology.me\/wordpress\/wp-content\/uploads\/2022\/11\/proesp-1536x1024.jpg 1536w, https:\/\/hb9iiu.synology.me\/wordpress\/wp-content\/uploads\/2022\/11\/proesp-2048x1365.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Find Port on MAC Install Firmware The first thing to do is download the most recent MicroPython firmware .bin file to load onto your ESP8266 device. You can download it from the&nbsp;MicroPython downloads page.&nbsp; Erase Flash Flash Firmware<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-459","post","type-post","status-publish","format-standard","hentry","category-uncategorized","content-layout-excerpt-thumb"],"_links":{"self":[{"href":"https:\/\/hb9iiu.synology.me\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/459","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hb9iiu.synology.me\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hb9iiu.synology.me\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hb9iiu.synology.me\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hb9iiu.synology.me\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=459"}],"version-history":[{"count":0,"href":"https:\/\/hb9iiu.synology.me\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/459\/revisions"}],"wp:attachment":[{"href":"https:\/\/hb9iiu.synology.me\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=459"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hb9iiu.synology.me\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=459"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hb9iiu.synology.me\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=459"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}