martin-ger / esp_wifi_repeater

A full functional WiFi Repeater (correctly: a WiFi NAT Router)
MIT License
4.79k stars 905 forks source link

No AccessPoint after Flashing and rebooting on ESP-01. #531

Open l3ifk opened 8 months ago

l3ifk commented 8 months ago

Hey I wanted to try this project but I'm stuck... I have a ESP-01 with a usb programmer to program it. When flashing with esptool, I use this command esptool --port /dev/ttyUSB0 write_flash -fs 1MB -ff 80m -fm dio 0x00000 0x00000.bin 0x02000 0x02000.bin and I get this output:

Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting...
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: bc:ff:4d:fa:34:40
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00000fff...
Flash will be erased from 0x00002000 to 0x00060fff...
Flash params set to 0x022f
Compressed 1968 bytes to 1411...
Wrote 1968 bytes (1411 compressed) at 0x00000000 in 0.3 seconds (effective 58.0 kbit/s)...
Hash of data verified.
Compressed 386864 bytes to 264282...
Wrote 386864 bytes (264282 compressed) at 0x00002000 in 23.4 seconds (effective 132.3 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

But the problem is that after unplugging the ESP and powering it on again the blue LED just blinks once or twice and stays off. Additionally there is no Access Point I could connect to. I saw an issue where it was mentioned to erase the flash chip with sudo esptool --port /dev/ttyUSB0 erase_flash but that only got me this output:


Serial port /dev/ttyUSB0
Connecting.....

A serial exception error occurred: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html```