esp8266 / source-code-examples

Examples of code for the ESP8266
276 stars 127 forks source link

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

Open Navis-Raven opened 7 years ago

Navis-Raven commented 7 years ago

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.

Navis-Raven commented 7 years ago

The makefile needs an update like in this version https://github.com/pfalcon/esp-open-sdk/blob/master/examples/blinky/blinky.c

see this topic : https://github.com/pfalcon/esp-open-sdk/issues/226