This command is used for flashing the binary firmware.bin into ESP8266 for Arduino.
esptool.exe -cd nodemcu -cb 115200 -cp COM3 -ca 0x00000 -cf firmware.bin
This command is used for flashing the binary firmware.nin into ESPP8266 using the SMING framework.
esptool.exe -p COM3 -b 115200 write_flash -ff 40m -fm dio -fs 4m 0x00000 0x00000.bin 0x09000 0x09000.bin 0x44000 spiff_rom.bin
There are some puzzling aspects in the command used for Arduino flash download.
- Why isn't there a separate bin file for SPIFFS for Arduino? I noticed the tool "mkspiffs.exe" in esp8266\tools\mkspiffs folder is not used during compilation of the bin file. Why is it not used?
- How does Arduino esptool know which address to use for allocating to SPIFFS file system address?
I would like to understand the process of programming binary file as I encountered strange behavior with SPIFFS. See related thread viewtopic.php?f=32&t=11949
Can someone help? Thank you very much.