Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By rant
#30819 Please, we really got tired of this chip , but we have already started something big and cant stop right now .

Is there a way to flash the latest sdk for AT commands, using ONE file (.bin) ? i have flashed the 0.9.5 using one file and it worked.

Their crapy website gives you a library with tones of bin files, and i dont even know where to start ??

thank you .
User avatar
By flagtrax
#30838 There are probably many who could answer that better than I, being I'm fairly new at the 8266 myself. That being said, I do understand your frustration. I can be very confusing because there are multiple ways to "get to" the 8266, from different support groups and directions. github has several. There are also IDE's now available, such as nodemcu, also available via github. So I guess the answer to your question depends on which way you want to approach it. Again, there are various versions of the AT command firmware to be had, and the flashing firmware can be different as well. Ditto for the IDE's. I have not yet used the Arduino IDE interface; for no particular reason other than finding nodemcu prior to the ESP8266 board add in the Arduino IDE. If you are familiar with lua, it might be easier in the long run. Hopefully at some point I'd like to become proficient at both. I'd google around and find one you like, and follow instructions that the site you find it on offers. Hope that sheds a bit of "direction". I know I'm still chasing my tail at times. :lol:
User avatar
By dkinzer
#30886
rant wrote:Is there a way to flash the latest sdk for AT commands, using ONE file (.bin) ?
While it is true that a combined download image can be built, a different one would be required for each of the different Flash sizes available. The standard ESP-01 has a 512K byte Flash chip but there are other ESP devices with 2MB, 4MB and even larger Flash chips. The reason that a different combined image is require is that the "system parameter area" (which contains configuration information) is always located 16K bytes from the end of the Flash chip.

There are several ESP Flash utilities available and some of them have the ability to create a combined image incorporating several image files. In most cases, the combined image has filler bytes (often 0xff) to represent the space between the constituent images. Depending on the size of the Flash chip and the offsets of the constituent images, the padded combined file can be quite large and can therefore take a long time to download to the device.

My esp_tool utility has the ability to construct sparse combined image files as well as padded combined image files. A sparse combined image file does not contain padding bytes and is therefore smaller and faster to download to the device. This is possible because the structure of a sparse combined image file represents the space between constituent images numerically rather than physically.
User avatar
By rant
#31216 Thanks a lot ,well you gave me too much data, and too little information on how practically proceed .

Using a mac, and esp07/12 , with esptool , HOW THE HELL DO YOU FLASH THE LATEST 1.4 AT FIRMWARE TO THIS CHIP ????


WHAT EXACT BIN FILE DO I USE , AND WHATS THE ADRESS ??

IS THERE A BIN FILE (WHERE EXACTLY YOU GET IT) THAT YOU CAN FLASH INSTEAD OF MULTIPLE FILES ??