Sming - Open Source framework for high efficiency native ESP8266 development

User avatar
By j0hncc
#19252 Hi Nitrokart,

When you copy/paste to command line do you copy/paste exactly this? (Mainly the /opt/esp-open-sdk/esptool/esptool.py part)
Code: Select all/opt/esp-open-sdk/esptool/esptool.py -p /dev/tty.usbserial-A6008j9X -b 115200 write_flash 0x00000 out/firmware/eagle.flash.bin 0x9000 out/firmware/eagle.irom0text.bin 0x3C000 out/firmware/spiff_rom.bin

And it works?

Try these commands and reply what they say
Code: Select allwhich python

Code: Select allhead -1 /opt/esp-open-sdk/esptool/esptool.py
User avatar
By nitrokart
#19258
j0hncc wrote:Hi Nitrokart,

When you copy/paste to command line do you copy/paste exactly this? (Mainly the /opt/esp-open-sdk/esptool/esptool.py part)
Code: Select all/opt/esp-open-sdk/esptool/esptool.py -p /dev/tty.usbserial-A6008j9X -b 115200 write_flash 0x00000 out/firmware/eagle.flash.bin 0x9000 out/firmware/eagle.irom0text.bin 0x3C000 out/firmware/spiff_rom.bin

And it works?

Try these commands and reply what they say
Code: Select allwhich python

Code: Select allhead -1 /opt/esp-open-sdk/esptool/esptool.py


Yes when I run the esptool.py from the terminal it all works fine...

I runned the commands you told on terminal and on eclipse...

Terminal:
python -V
Python 2.7.10
which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
head -1 /opt/esp-open-sdk/esptool/esptool.py
#!/usr/bin/env python


Eclipse:
python -V
Python 2.7.6
which python
/usr/bin/python
head -1 /opt/esp-open-sdk/esptool/esptool.py
#!/usr/bin/env python


Thanks