Erase flash memory like Magic 🪄🎩 | ESP8266 | ESP32

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in this video i will let you know how to erase the flash memory of esp8266 and esp32 chip using your windows or mac systems let's get started so in my last video when i tried to control my home appliances with the help of apple home kit and siri i showed you that you need to erase the flash memory of the esp base board whenever you want to upload a new code in it okay until unless you don't erase the flash memory you won't be able to pair that board again okay so that's one scenario now that's not the only scenario you need to erase the flash memory of the esp baseboard whenever you want to change the firmware from the arduino to the python so before changing the format you first need to erase the flash memory so there are several scenarios where it is in the flash memory becomes mandatory so in this video i'll be guiding you like step by step on how to erase the flash memory of both the esp baseball babies esp8266 or esp32 so let's just quickly jump on to the mac laptop and let's first see what are the steps involved in the mac systems okay so before starting this video let's just thank the sponsor of this video which is the ltm okay so ltf is a pcb designer based software company and if i tell you one very interesting very unique and very very useful feature of this software then this software allows you to make any angle routing now what does that mean and how it will be useful so in some electronic components which have uneven and closely packed pin spacing it's not possible to make a 45 degree path angle of the route all the time so ltm allows you to make any angle routing paths and between the pins and in the end just make them smooth to look like one single route isn't that the most useful and interesting and handy feature provided by the software i think it is and well you can also try this and many other features of the ltm pcb designer software by just clicking on the link in the description yes by clicking that link you will be able to access the free trial version of the software and if you find it interesting and useful well you can make the purchase of the software later on so go ahead and try the free trial version of the ltmpc designer software so mac systems already have the python in it so there are less steps involved in the mac system in the windows you first need to install the python but let's stick to mac right now so as the python is already installed you just need to uh install one tool called as esp tool in it and for installing that the command is pip install esp tool so in some case this command will work in some case it won't work so try using pip2 install esp tool if this doesn't work try the next command which is pip3 install esp tool okay in my case the last command worked and as it is already installed on my system it shows that already satisfied okay so with this command you'll be able to install the esp tool that's required uh we can say tool for editing the flash memory so that's the only thing we require onto our system now by using one single command we will be able to erase the flash memory of the esp32 board completely but before writing that command let us check if esp tool is successfully installed or not for that just type the command esp tool dot pi and yeah if you get these many data uh it means that esp tool is successfully installed on your computer okay now we are ready to erase the flash memory for that just type the command esp tool dot pi [Music] hyphen hyphen the chip name in my case it is esp32 so if you want to erase the flash memory of esp32 just write esp32 here and if you want to erase the flash memory of nodemc board which is based on esp8266 you have to write esp8266 here okay that's the only difference for now i'll stick to esp32 after that we have to define the port number for that type hyphen hyphen port and here you have to define on which port your uh esp board is connected with to confirm on which port it is connected uh let's open up the arduino go to tools and here is the port uh on which my esp32 board is connected with okay so i'll type this address and into that terminal okay so it is forward slash this is the port number after that you have to write one single command which says erase underscore flash okay by entering this command you will be able to erase the flash memory let's just press the enter button okay it is showing that connecting to the device so let us press and hold the boot button and yes it has started the process of erasing the flash memory and okay so the flash memory is successfully raised so if i open up the serial monitor it will show me this command which reveals that the flash memory is completely erased okay so these were the steps to be followed for mac systems now for the windows systems what you to do is first of all you need to install python on your computer okay so you can install python by going on to the official website of it or in some case you have to download python from the built-in microsoft store after installing python now you to install the esp tool for that just type this command now this will install the esp tool on your system [Music] now to check if the especially is installed just type this command okay so as you can see i'm getting the same data which i got in my mac system that which reveals that the esp tool is successfully installed now here for erasing the flash memory we will type this command again here the chip name will be esp32 and here we have to define the port number so let's go to the arduino to confirm the port number so after writing the port number just type erase flash that's it just press enter now i'll press and hold the boot button on the esp32 board and it started using the flash memory after some time as you can see it successfully installed the complete flash memory of the esp32 board and if i again open the serial monitor on my arduino ide as you can see i'm getting the same command which reveals that the flash memory is completely erased okay those were the simple steps to be followed to completely erase the flash memory of your esp8266 board or the esp32 board okay so you people ask us to do it and hence we made a video for it and similarly to let us know what more topics you want us to make video about i will definitely try to make that video for you people now if you learned something new from it if you get some value out of this video consider liking this video share the video with all your friends who are stuck uh with this particular point of erasing the flash memory of the esp baseball that being said just ending this video here and now just wait for an external explorer and share with me techy sms [Music] [Music]
Info
Channel: techiesms
Views: 89,959
Rating: undefined out of 5
Keywords: esptool, erasing flash memory, erasing flash memory esp32, erasing flash memory esp8266, esptool for windows, esptool for mac
Id: zfvA8ZVVQYY
Channel Id: undefined
Length: 6min 44sec (404 seconds)
Published: Sat Apr 17 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.