esp8266/source-code-examples

[Errno 2] No such file or directory: 'firmware/0x40000.bin'

Navis-Raven opened this issue · 1 comments

I had some issues with the "make flash" command:
FIRST ONE:
After the make command it creates two files in a new driectory named firmware, thes two files are named '0x00000.bin' and '0x10000.bin', and nothing else !
However, while doing "make flash" command it says :

esptool.py --port /dev/ttyUSB0 /firmware/0x00000.bin 0x00000.bin /firmware/0x40000.bin 0x40000.bin
(...)
esp_tool write_flas : error: argument

: [Errno 2] No such file or directory: 'firmware/0x40000.bin'

I don't really know why it asks for a 0x40000.bin, this is a real bug.

I palliated this bug by typing manually the command :
esptool.py --port /dev/ttyUSB0 /firmware/0x00000.bin 0x00000.bin /firmware/0x10000.bin 0x10000.bin

and then the flashing worked with correctly an ESP-12E. But I think this solution is not perfect.