I'm trying to start using the ESP8266 with the Espressif RTOS SDK but I'm unable to properly flash the firmware using esptool or the Espressif flash tool.
I did some research and I believe it's due to my linux environment.
If I try to read the boot message in linux using screen or minicom I get only gibberish.
If I do the same using putty from a windows environment everything goes ok.
I'm running screen like this: sudo screen /dev/ttyUSB0 76800
And putty with similar settings.
If I boot the esp8266 in uart download mode and using esptool query the MAC everything is ok. If on the other hand, I query the flash_id the connection breaks.
Code:
gustavo@mahoney:~/esp8266_dev/esptool$ sudo ./esptool.py read_mac
esptool.py v1.0.1
Connecting...
MAC: 18:fe:34:d2:f8:77
gustavo@mahoney:~/esp8266_dev/esptool$ sudo ./esptool.py read_mac
esptool.py v1.0.1
Connecting...
MAC: 18:fe:34:d2:f8:77
gustavo@mahoney:~/esp8266_dev/esptool$ sudo ./esptool.py flash_id
esptool.py v1.0.1
Connecting...
Manufacturer: e0
Device: 4016
gustavo@mahoney:~/esp8266_dev/esptool$ sudo ./esptool.py flash_id
esptool.py v1.0.1
Connecting...
A fatal error occurred: Failed to connect to ESP8266
I have already flashed a firmware from windows using the Arduino IDE and it worked ok.
I'm using a ESP8266-12E and connection with a Sparkfun FTDI Basic adapter.
Anyone had this problem before or has any idea on how to fix it?Statistics: Posted by gustavo — Thu Apr 28, 2016 6:05 pm
]]>