Cannot flash the firmware or read the boot message with screen

gustavo
Posts: 24
Joined: Thu Apr 28, 2016 6:01 pm

Cannot flash the firmware or read the boot message with screen

Postby gustavo » Thu Apr 28, 2016 6:05 pm

Hi,
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: Select all

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?

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: Cannot flash the firmware or read the boot message with screen

Postby ESP_Faye » Wed May 11, 2016 10:12 am

Hi,

You can refer to the esptool on github https://github.com/themadinventor/esptool.

Thanks for your interest in ESP8266 !

Who is online

Users browsing this forum: No registered users and 13 guests