Problems flashing ESP8266

nilspalm
Posts: 1
Joined: Sun Nov 24, 2024 10:54 am

Problems flashing ESP8266

Postby nilspalm » Sun Nov 24, 2024 12:31 pm

Dear all,
I am new to the ESP8266 and try to find my way.
As I newbie I flashed my ESP-01S (1MB) through the Arduino IDE with some examples and and it worked fine.
Now I want to make use of the AT commands but had problems finding the right firmware.
All links on the Espressif website lead to ESP32 firmware. Did I overlook something ?

Finally I found :

https://github.com/sigmdel/other_releas ... esp01s.zip

and tried to flash it with

esptool.py -p /dev/ttyCH341USB0 -b 115200 write_flash -e -fm qio -ff 80m -fs 1MB 0 /../espat_221_esp01s.bin

but i always get the following response / error :

esptool.py v4.8.1
Serial port /dev/ttyCH341USB0
Connecting...
Failed to get PID of a device on /dev/ttyCH341USB0, using standard reset sequence.

Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 4c:11:ae:03:cc:2f
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Erasing flash (this may take a while)...
Chip erase completed successfully in 0.0s
Flash params set to 0x002f
Compressed 1048576 bytes to 565401...
Writing at 0x000f2a7f... (100 %)
A fatal error occurred: Serial data stream stopped: Possible serial noise or corruption.

What do I do wrong ?

The ESP-01S Module is ok, I flashed it again with the Arduino IDE ... :D

I am using the ESP8266 PROG : https://joy-it.net/de/products/SBC-ESP8266-PROG
which has a small switch to choose between UART & PROG.
I assume after the flashing of the AT Firmware was successful that I could
type in AT commands and get a response. Is my understanding correct ?
For now it does not work ... :(

Thanks a lot for your support !!!

Who is online

Users browsing this forum: No registered users and 19 guests