<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>flash | Junglebiscuit</title>
	<atom:link href="https://junglebiscuit.com/tag/flash/feed/" rel="self" type="application/rss+xml" />
	<link>https://junglebiscuit.com</link>
	<description>This website contains lots of things that are good, if you disagree, you have terrible taste in things.</description>
	<lastBuildDate>Mon, 13 Jul 2020 21:24:06 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://junglebiscuit.com/wp-content/uploads/2016/06/cropped-secondiconattemptv3-32x32.png</url>
	<title>flash | Junglebiscuit</title>
	<link>https://junglebiscuit.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">112940726</site>	<item>
		<title>Step by Step Guide on How to flash the ESP-01</title>
		<link>https://junglebiscuit.com/step-by-step-guide-on-how-to-flash-the-esp-01/</link>
					<comments>https://junglebiscuit.com/step-by-step-guide-on-how-to-flash-the-esp-01/#respond</comments>
		
		<dc:creator><![CDATA[Jungle]]></dc:creator>
		<pubDate>Wed, 08 Apr 2020 08:38:54 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[esp-01]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[technology]]></category>
		<guid isPermaLink="false">http://junglebiscuit.com/?p=1813</guid>

					<description><![CDATA[<p>Step by Step Guide on How to flash the ESP-01 So, you have bought your ESP-01 and are not sure if its pre-flashed or you need to do something with it, you may just want to make sure you have the latest firmware anyway.&#160; The best bet is to open your favourite programming software and &#8230; <a href="https://junglebiscuit.com/step-by-step-guide-on-how-to-flash-the-esp-01/" class="more-link">Continue reading<span class="screen-reader-text"> "Step by Step Guide on How to flash the ESP-01"</span></a></p>
The post <a href="https://junglebiscuit.com/step-by-step-guide-on-how-to-flash-the-esp-01/">Step by Step Guide on How to flash the ESP-01</a> first appeared on <a href="https://junglebiscuit.com">Junglebiscuit</a>.]]></description>
										<content:encoded><![CDATA[<h1><strong>Step by Step Guide on How to flash the ESP-01</strong></h1>
<figure id="attachment_1815" aria-describedby="caption-attachment-1815" style="width: 256px" class="wp-caption aligncenter"><img decoding="async" class="wp-image-1815 " src="http://junglebiscuit.com/wp-content/uploads/2020/02/20200222_154203-1024x576.jpg" alt="ESP-01" width="256" height="144" srcset="https://junglebiscuit.com/wp-content/uploads/2020/02/20200222_154203-1024x576.jpg 1024w, https://junglebiscuit.com/wp-content/uploads/2020/02/20200222_154203-300x169.jpg 300w, https://junglebiscuit.com/wp-content/uploads/2020/02/20200222_154203-768x432.jpg 768w, https://junglebiscuit.com/wp-content/uploads/2020/02/20200222_154203-1200x675.jpg 1200w" sizes="(max-width: 256px) 85vw, 256px" /><figcaption id="caption-attachment-1815" class="wp-caption-text">ESP-01</figcaption></figure>
<p>So, you have bought your ESP-01 and are not sure if its pre-flashed or you need to do something with it, you may just want to make sure you have the latest firmware anyway.&nbsp; The best bet is to open your favourite programming software and try the module.&nbsp; If it’s not working at all or behaving weirdly then the chances are that you need to flash a new version of the firmware onto it.&nbsp; This is something that’s relatively easy but only when you know how and if you type it in a search engine there are lots of websites out there trying to get you to use weird versions of the ESP firmware so you need to be careful.&nbsp; I’ll go through what hardware to use to flash it, where to get the firmware and where to get the tool to upload the firmware to the chip.</p>
<p>The good news is that the tools and firmware are all free on the Espressif website but even then it’s not completely clear what to get and even the documentation provided isn’t too clear on what to do for beginners so I will go through it all here.</p>
<h2><strong>What hardware do I need?</strong></h2>
<p>I put together a flashing circuit specially for this purpose and keep it set up on my breadboard so that it’s there when I need it.&nbsp; The two main odd looking items you will need are a USB-to-TTL converter so that you can plug in your USB port on your PC to upload the firmware and the ESP-01 has a weird pinout so I find its best to use an ESP-01 breakout board/adapter.&nbsp; Other than that, it’s just a couple of buttons and resistors.&nbsp; Here is the USB to TTL (sometimes called FTDI) converter I use, it’s a couple of pounds on your favourite electronics or auction site and has a 3.3v option which is ideal for the ESP-01 though there are plenty of other options out there:</p>
<figure id="attachment_1818" aria-describedby="caption-attachment-1818" style="width: 417px" class="wp-caption aligncenter"><img fetchpriority="high" decoding="async" class=" wp-image-1818" src="http://junglebiscuit.com/wp-content/uploads/2020/02/USB-to-TTL2-1024x576.jpg" alt="USB to TTL Converter" width="417" height="235"><figcaption id="caption-attachment-1818" class="wp-caption-text">USB to TTL Converter</figcaption></figure>
<figure id="attachment_1817" aria-describedby="caption-attachment-1817" style="width: 410px" class="wp-caption aligncenter"><img decoding="async" class=" wp-image-1817" src="http://junglebiscuit.com/wp-content/uploads/2020/02/usb-to-ttl.png" alt="USB to TTL Converter" width="410" height="342" srcset="https://junglebiscuit.com/wp-content/uploads/2020/02/usb-to-ttl.png 621w, https://junglebiscuit.com/wp-content/uploads/2020/02/usb-to-ttl-300x251.png 300w" sizes="(max-width: 410px) 85vw, 410px" /><figcaption id="caption-attachment-1817" class="wp-caption-text">USB to TTL Converter</figcaption></figure>
<figure id="attachment_1821" aria-describedby="caption-attachment-1821" style="width: 840px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-large wp-image-1821" src="http://junglebiscuit.com/wp-content/uploads/2020/02/20200218_1518482-1024x576.jpg" alt="ESP-01 Breakout Adapter" width="840" height="473" srcset="https://junglebiscuit.com/wp-content/uploads/2020/02/20200218_1518482-1024x576.jpg 1024w, https://junglebiscuit.com/wp-content/uploads/2020/02/20200218_1518482-300x169.jpg 300w, https://junglebiscuit.com/wp-content/uploads/2020/02/20200218_1518482-768x432.jpg 768w, https://junglebiscuit.com/wp-content/uploads/2020/02/20200218_1518482-1200x675.jpg 1200w, https://junglebiscuit.com/wp-content/uploads/2020/02/20200218_1518482.jpg 1944w" sizes="auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /><figcaption id="caption-attachment-1821" class="wp-caption-text">ESP-01 Breakout Adapter</figcaption></figure>
<figure id="attachment_1822" aria-describedby="caption-attachment-1822" style="width: 352px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-full wp-image-1822" src="http://junglebiscuit.com/wp-content/uploads/2020/02/ESP-01-breakout-adapter1.png" alt="ESP-01 Breakout Adapter" width="352" height="175" srcset="https://junglebiscuit.com/wp-content/uploads/2020/02/ESP-01-breakout-adapter1.png 352w, https://junglebiscuit.com/wp-content/uploads/2020/02/ESP-01-breakout-adapter1-300x149.png 300w" sizes="auto, (max-width: 352px) 85vw, 352px" /><figcaption id="caption-attachment-1822" class="wp-caption-text">ESP-01 Breakout Adapter</figcaption></figure>
<p>Here is the schematic:</p>
<figure id="attachment_1825" aria-describedby="caption-attachment-1825" style="width: 851px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-full wp-image-1825" src="http://junglebiscuit.com/wp-content/uploads/2020/03/schematic.png" alt="ESP-01 Flashing Schematic" width="851" height="441" srcset="https://junglebiscuit.com/wp-content/uploads/2020/03/schematic.png 851w, https://junglebiscuit.com/wp-content/uploads/2020/03/schematic-300x155.png 300w, https://junglebiscuit.com/wp-content/uploads/2020/03/schematic-768x398.png 768w" sizes="auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /><figcaption id="caption-attachment-1825" class="wp-caption-text">ESP-01 Flashing Schematic</figcaption></figure>
<p>And finally, here is a picture of it all setup on the breadboard:</p>
<figure id="attachment_1826" aria-describedby="caption-attachment-1826" style="width: 840px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-large wp-image-1826" src="http://junglebiscuit.com/wp-content/uploads/2020/03/ESP-01-Flashing-Circuit-on-Breadboard-1024x576.jpg" alt="ESP-01 Flashing Circuit on Breadboard" width="840" height="473" srcset="https://junglebiscuit.com/wp-content/uploads/2020/03/ESP-01-Flashing-Circuit-on-Breadboard-1024x576.jpg 1024w, https://junglebiscuit.com/wp-content/uploads/2020/03/ESP-01-Flashing-Circuit-on-Breadboard-300x169.jpg 300w, https://junglebiscuit.com/wp-content/uploads/2020/03/ESP-01-Flashing-Circuit-on-Breadboard-768x432.jpg 768w, https://junglebiscuit.com/wp-content/uploads/2020/03/ESP-01-Flashing-Circuit-on-Breadboard-1200x675.jpg 1200w" sizes="auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /><figcaption id="caption-attachment-1826" class="wp-caption-text">ESP-01 Flashing Circuit on Breadboard</figcaption></figure>
<p><strong>DON’T PLUG IT IN WITHOUT READING THE INSTRUCTIONS BELOW FIRST</strong></p>
<h2><strong>What tool do I need to download to flash the ESP?</strong></h2>
<p>To flash the ESP-01 you need the Espressif Flash Download Tool which you can download for free from their website in the support -&gt; download -&gt; tools section.&nbsp; Link here:</p>
<p><a href="https://www.espressif.com/en/support/download/other-tools">https://www.espressif.com/en/support/download/other-tools</a></p>
<figure id="attachment_1827" aria-describedby="caption-attachment-1827" style="width: 840px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-large wp-image-1827" src="http://junglebiscuit.com/wp-content/uploads/2020/03/Downloading-the-Espressif-Flash-Download-Tool-From-the-Website-1024x150.png" alt="Downloading the Espressif Flash Download Tool From the Website" width="840" height="123" srcset="https://junglebiscuit.com/wp-content/uploads/2020/03/Downloading-the-Espressif-Flash-Download-Tool-From-the-Website-1024x150.png 1024w, https://junglebiscuit.com/wp-content/uploads/2020/03/Downloading-the-Espressif-Flash-Download-Tool-From-the-Website-300x44.png 300w, https://junglebiscuit.com/wp-content/uploads/2020/03/Downloading-the-Espressif-Flash-Download-Tool-From-the-Website-768x112.png 768w, https://junglebiscuit.com/wp-content/uploads/2020/03/Downloading-the-Espressif-Flash-Download-Tool-From-the-Website.png 1176w" sizes="auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /><figcaption id="caption-attachment-1827" class="wp-caption-text">Downloading the Espressif Flash Download Tool From the Website</figcaption></figure>
<p>It’s not just for ESP-01, works for others too as you can see.&nbsp; Download that to a folder of your choice and unzip that file.&nbsp; Next you need to download the firmware files you are going to flash.</p>
<h2><strong>What firmware do I need and where do I get it?</strong></h2>
<p>There are lots of different firmware versions out there and they all have different functionality, some fix bugs and some improve performance.&nbsp; Obviously, some may induce bugs and decrease performance too, so I try to go for a stable version rather than the absolute latest issue.&nbsp; The firmware files can be downloaded individually or as part of a software development kit, I normally go for the software development kit as it has all the files that work together.&nbsp; You can download these again from the Espressif website in the support -&gt; download -&gt; SDK &amp; Demos section.&nbsp; Link here:</p>
<p><a href="https://www.espressif.com/en/support/download/sdks-demos">https://www.espressif.com/en/support/download/sdks-demos</a></p>
<figure id="attachment_1828" aria-describedby="caption-attachment-1828" style="width: 840px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-large wp-image-1828" src="http://junglebiscuit.com/wp-content/uploads/2020/03/Downloading-the-ESP-01-Firmware-From-the-Espressif-Website-1024x485.png" alt="Downloading the ESP-01 Firmware From the Espressif Website" width="840" height="398" srcset="https://junglebiscuit.com/wp-content/uploads/2020/03/Downloading-the-ESP-01-Firmware-From-the-Espressif-Website-1024x485.png 1024w, https://junglebiscuit.com/wp-content/uploads/2020/03/Downloading-the-ESP-01-Firmware-From-the-Espressif-Website-300x142.png 300w, https://junglebiscuit.com/wp-content/uploads/2020/03/Downloading-the-ESP-01-Firmware-From-the-Espressif-Website-768x364.png 768w, https://junglebiscuit.com/wp-content/uploads/2020/03/Downloading-the-ESP-01-Firmware-From-the-Espressif-Website-1200x569.png 1200w" sizes="auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /><figcaption id="caption-attachment-1828" class="wp-caption-text">Downloading the ESP-01 Firmware From the Espressif Website</figcaption></figure>
<p>All of the stable versions should be shown, you can see the latest at the time of writing is ESP8266 NONOS SDK V3.0.0.&nbsp; Simply hit download and save it to a location on your computer, if it redirects to a github page then scroll down to the bottom and download the source code .zip file from there.&nbsp; Unzip the file and now you have all the things you need to flash the chip.&nbsp; All of the binary files you need to flash are in there, you may need to navigate around the files to locate all the ones you need but you should be able to find the following:</p>
<ul>
<li>blank.bin
<ul>
<li>Location:&nbsp; ESP8266_NONOS_SDK-3.0.0\bin\blank.bin</li>
<li>Flash Address:&nbsp; 0xFB000</li>
</ul>
</li>
<li>esp_init_data_default.bin
<ul>
<li>Location:&nbsp; ESP8266_NONOS_SDK-3.0.0\bin\esp_init_data_defaultv08.bin</li>
<li>Flash Address:&nbsp; 0xFC000</li>
</ul>
</li>
<li>blank.bin
<ul>
<li>Location:&nbsp; ESP8266_NONOS_SDK-3.0.0\bin\blank.bin</li>
<li>Flash Address:&nbsp; 0x7E000</li>
</ul>
</li>
<li>blank.bin
<ul>
<li>Location:&nbsp; ESP8266_NONOS_SDK-3.0.0\bin\blank.bin</li>
<li>Flash Address:&nbsp; 0xFE000</li>
</ul>
</li>
<li>boot_v1.6.bin
<ul>
<li>Location:&nbsp; ESP8266_NONOS_SDK-3.0.0\bin\boot_v1.6.bin</li>
<li>Flash Address:&nbsp; 0x00000</li>
</ul>
</li>
<li>user1.1024.new.2.bin
<ul>
<li>Location:&nbsp;&nbsp;ESP8266_NONOS_SDK-3.0.0\bin\at\512+512\user1.1024.new.2.bin</li>
<li>Flash Address:&nbsp; 0x01000</li>
</ul>
</li>
</ul>
<h2><strong>Flash the ESP-01!</strong></h2>
<p>Now you have done all the groundwork to flash this thing its time to put it all together and do the job, exciting times!&nbsp; Open up the Espressif Flash Download Tool, you should be able to open the file straight from the folder you downloaded without having to install anything and it will open something like this:</p>
<figure id="attachment_1836" aria-describedby="caption-attachment-1836" style="width: 840px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-large wp-image-1836" src="http://junglebiscuit.com/wp-content/uploads/2020/04/flash1-1024x567.png" alt="Opening up the Espressif ESP flash download tool" width="840" height="465" srcset="https://junglebiscuit.com/wp-content/uploads/2020/04/flash1-1024x567.png 1024w, https://junglebiscuit.com/wp-content/uploads/2020/04/flash1-300x166.png 300w, https://junglebiscuit.com/wp-content/uploads/2020/04/flash1-768x425.png 768w, https://junglebiscuit.com/wp-content/uploads/2020/04/flash1-1200x664.png 1200w, https://junglebiscuit.com/wp-content/uploads/2020/04/flash1.png 1836w" sizes="auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /><figcaption id="caption-attachment-1836" class="wp-caption-text">Opening up the Espressif ESP flash download tool</figcaption></figure>
<p>Click the top one for the ESP8266 Download Tool and it should open up this page:</p>
<figure id="attachment_1837" aria-describedby="caption-attachment-1837" style="width: 840px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-large wp-image-1837" src="http://junglebiscuit.com/wp-content/uploads/2020/04/flash2-957x1024.png" alt="ESP8266 Download Tool Window" width="840" height="899" srcset="https://junglebiscuit.com/wp-content/uploads/2020/04/flash2-957x1024.png 957w, https://junglebiscuit.com/wp-content/uploads/2020/04/flash2-280x300.png 280w, https://junglebiscuit.com/wp-content/uploads/2020/04/flash2-768x822.png 768w, https://junglebiscuit.com/wp-content/uploads/2020/04/flash2-1200x1284.png 1200w, https://junglebiscuit.com/wp-content/uploads/2020/04/flash2.png 1295w" sizes="auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /><figcaption id="caption-attachment-1837" class="wp-caption-text">ESP8266 Download Tool Window</figcaption></figure>
<p>Some of those may be blank and you may have different boxes ticked, don’t worry, I’ll run through what to tick.</p>
<ul>
<li>Assign the binary files to the flash address as above.</li>
<li>Pick CrystalFreq as 26M from the dropdown</li>
<li>Click the SPI SPEED button 40MHz</li>
<li>Click the SPI MODE button QIO.</li>
<li>Click the FLASH SIZE radio button for 8Mbit.</li>
</ul>
<p>So now it should look like this:</p>
<figure id="attachment_1842" aria-describedby="caption-attachment-1842" style="width: 840px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-large wp-image-1842" src="http://junglebiscuit.com/wp-content/uploads/2020/04/flash3-1-1024x635.png" alt="ESP8266 Download Tool Window Adding Binary Files" width="840" height="521" srcset="https://junglebiscuit.com/wp-content/uploads/2020/04/flash3-1-1024x635.png 1024w, https://junglebiscuit.com/wp-content/uploads/2020/04/flash3-1-300x186.png 300w, https://junglebiscuit.com/wp-content/uploads/2020/04/flash3-1-768x476.png 768w, https://junglebiscuit.com/wp-content/uploads/2020/04/flash3-1.png 1076w" sizes="auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /><figcaption id="caption-attachment-1842" class="wp-caption-text">ESP8266 Download Tool Window Adding Binary Files</figcaption></figure>
<p>Ok now you are ready to plug in, when you plug the USB in you need to do the following to put the ESP into programming mode:</p>
<ul>
<li>Hold down the reset switch (SWI 1)</li>
<li>Hold down the flash switch (SW 2)</li>
<li>Release the reset switch (SWI 1)</li>
<li>Release the flash switch (SWI 2)</li>
</ul>
<p>Make sure you select the COM port you are using from the drop down and set the baud rate to 115200:</p>
<figure id="attachment_1839" aria-describedby="caption-attachment-1839" style="width: 300px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-full wp-image-1839" src="http://junglebiscuit.com/wp-content/uploads/2020/04/flash4.png" alt="ESP8266 Download Tool Select COM port and baud rate" width="300" height="132"><figcaption id="caption-attachment-1839" class="wp-caption-text">ESP8266 Download Tool Select COM port and baud rate</figcaption></figure>
<p>Now just press start and it will sync then download then finish the flash!</p>
<figure id="attachment_1843" aria-describedby="caption-attachment-1843" style="width: 840px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-large wp-image-1843" src="http://junglebiscuit.com/wp-content/uploads/2020/04/flash5-1-1024x753.png" alt="ESP8266 Download Tool Synchronizing" width="840" height="618" srcset="https://junglebiscuit.com/wp-content/uploads/2020/04/flash5-1-1024x753.png 1024w, https://junglebiscuit.com/wp-content/uploads/2020/04/flash5-1-300x220.png 300w, https://junglebiscuit.com/wp-content/uploads/2020/04/flash5-1-768x564.png 768w, https://junglebiscuit.com/wp-content/uploads/2020/04/flash5-1.png 1083w" sizes="auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /><figcaption id="caption-attachment-1843" class="wp-caption-text">ESP8266 Download Tool Synchronizing</figcaption></figure>
<figure id="attachment_1844" aria-describedby="caption-attachment-1844" style="width: 840px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-large wp-image-1844" src="http://junglebiscuit.com/wp-content/uploads/2020/04/flash6-1-1024x635.png" alt="ESP8266 Download Tool Finished Flashing" width="840" height="521" srcset="https://junglebiscuit.com/wp-content/uploads/2020/04/flash6-1-1024x635.png 1024w, https://junglebiscuit.com/wp-content/uploads/2020/04/flash6-1-300x186.png 300w, https://junglebiscuit.com/wp-content/uploads/2020/04/flash6-1-768x476.png 768w, https://junglebiscuit.com/wp-content/uploads/2020/04/flash6-1.png 1081w" sizes="auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /><figcaption id="caption-attachment-1844" class="wp-caption-text">ESP8266 Download Tool Finished Flashing</figcaption></figure>The post <a href="https://junglebiscuit.com/step-by-step-guide-on-how-to-flash-the-esp-01/">Step by Step Guide on How to flash the ESP-01</a> first appeared on <a href="https://junglebiscuit.com">Junglebiscuit</a>.]]></content:encoded>
					
					<wfw:commentRss>https://junglebiscuit.com/step-by-step-guide-on-how-to-flash-the-esp-01/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1813</post-id>	</item>
	</channel>
</rss>
