Hi
OK, back in action. I had to completely reinstall to bring the esp of last night back to life.
Looking around it seems things have changed a bit since i last played with these and I'm unsure as to why the latest SDK shows 3.0.5 but I can only see 3.0.4 on the website. I doubt if it matters too much though.
I downloaded Flash Tool v2.3 from here
https://bbs.espressif.com/download/file ... 4b8b60bcc9
Before we move on I forgot to mention that generally speaking you get two types of esp8266, built on blue and black PCBs. There is a difference as the blue indicates it has 512KB of memory whilst the black has 1MB of memory which is important when we flash. Note I use capitals. KB and MB to indicate Bytes which as we all know are 8-bits in length. The tool asks for flash size so you need to tell it the correct value. 512KB = 4Mb in the tool whilst 1MB = 8Mb in the tool (b = bit).
The flash tool looks like this. The important things to note and ensure are circled. Correct Com Port for
your PC and Baud rate (115200). Also ensure no check boxes have been ticked.
![Flash-1.JPG](./download/file.php?id=34554)
- Flash-1.JPG (81.97 KiB) Viewed 1144 times
With your esp8266 connected, press and hold the reset button, then press and hold the flash button (GPIO-0). Release reset, wait a second or two then release flash.
Press the Start button on the flash tool and after a few seconds you should get info in the detected info box. Important things to note are size (in this case) of 8Mb and crystal of 26MHz. I did have to do this reset esp and press flash etc a couple of time which I'm putting down to being on breadboard.
![Flash-2.JPG](./download/file.php?id=34555)
- Flash-2.JPG (84.28 KiB) Viewed 1144 times
As my flash tool was already setup for 8Mb and 26MHz I don't need to change anything but you will need to check / change yours to suit. Also ensure QIO is checked and also SpiAutoSet.
When you open the SDK folder you will find many files. The ones of interest are in the bin folder (first five) and at (at > 512+512) folder. We are going to point the flash tool to the required files and also set the Hex address of where it needs to go. As the picture won't show you the full path including file name they are here in order:-
File / Hex Address
blank / 0xfb000
esp_init_data_default_v08 / 0xfc000
blank / 0x7e000
blank / 0xfe000
boot_v1.7 / 0x00000
user1.1024.new.2 / 0x01000
As you select the files by clicking on the three dots beside box and selecting the files, the boxes will turn green. Double Check Everything......! Now click on the check boxes to the left of the files you have selected and the Hex boxes will turn green
![Flash-3.JPG](./download/file.php?id=34556)
- Flash-3.JPG (94.25 KiB) Viewed 1144 times
On the esp8266 module, press and hold the reset button, then press and hold the flash button (GPIO-0). Release reset, wait a second or two then release flash.
Now press Start in the Flash tool
A blue bar should start to crawl across the tool indicating the download has started. After a minute or so it will finish.
![Flash-4.JPG](./download/file.php?id=34557)
- Flash-4.JPG (96.54 KiB) Viewed 1144 times
Now press reset on the esp8266 and release after a few seconds. Next power down the esp8266. You can either exit the flash tool or set the com port to the wrong location as we will need the port for our Terminal program.
Open your terminal program set at 115200 8/1/N, choose the correct port and connect. Power up the esp8266 and you should see a string of nonsense then "Ready". Sending "AT" should return "OK". Sending "AT+GMR" will return the details of the firmware.
![Flash-5.JPG](./download/file.php?id=34558)
- Flash-5.JPG (112.34 KiB) Viewed 1144 times
Hope the above helps.
Regards