ESP8266 Developer Zone The Official ESP8266 Forum 2016-05-11T10:12:06+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=2109 2016-05-11T10:12:06+08:00 2016-05-11T10:12:06+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2109&p=6811#p6811 <![CDATA[Re: Cannot flash the firmware or read the boot message with screen]]>
You can refer to the esptool on github https://github.com/themadinventor/esptool.

Thanks for your interest in ESP8266 !

Statistics: Posted by ESP_Faye — Wed May 11, 2016 10:12 am


]]>
2016-04-28T18:05:21+08:00 2016-04-28T18:05:21+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2109&p=6658#p6658 <![CDATA[Cannot flash the firmware or read the boot message with screen]]> 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


]]>