poorandunlucky wrote: ↑Fri Oct 18, 2019 8:52 pm
I flashed it in DIO and it worked....
What is DIO ? I am trying to flash ESP01 with AT WiFi firmware and I have exactly the same issue ( I am erasing and flashing the device using esptool.py successfully but it doesn't work, it doesn't respond AT commands as expected).
**BTW** , it also responds with "boot mode: (3,6)" message, does anybody know what is the 2nd digit's meaning.. what is 6 ? It sometimes become 7,.. The first digit is known but I couldn't find meaning of the 2nd digit.. ( It says something but we don't understand
)
Edit: I got it, it is flash mode flag and mine was already dio !
How I flash:
Code: Select all
C:\Users\murat>esptool.py -p COM4: --baud 74880 write_flash --flash_size=8m -fm dio 0 C:\Users\murat\Downloads\ESP01_AT_firmware\ATFirmware.bin
WARNING: Flash size arguments in megabits like '8m' are deprecated.
Please use the equivalent size '1MB'.
Megabit arguments may be removed in a future release.
esptool.py v2.8
Serial port COM4:
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 2c:f4:32:2d:ee:19
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash params set to 0x0220
Compressed 520192 bytes to 134837...
Wrote 520192 bytes (134837 compressed) at 0x00000000 in 18.3 seconds (effective 227.0 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
When I reset:
Code: Select all
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x40100000, len 25020, room 16
tail 12
chksum 0xef
ho 0 tail 12 room 4
load 0x00000000, len 0, room 12
tail 0
chksum 0xef
load 0x00000000, len 0, room 4
tail 0
chksum 0xef
csum 0xef
csum err
ets_main.c
With the firmware here :
https://github.com/espressif/ESP8266_AT, after flashing and reset I get:
Code: Select all
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x40100000, len 612, room 16
tail 4
chksum 0x12
load 0x3ffe8000, len 788, room 4
tail 0
chksum 0x50
load 0x3ffe8314, len 264, room 8
tail 0
chksum 0x4a
csum 0x4a
2nd boot version : 1.1
SPI Speed : 40MHz
SPI Mode : DIO
SPI Flash Size : 8Mbit
jump to run usererror user bin flag, flag = c
user code done
But no response to AT commands !
With another firmware I could get jump to run user1 but still no response to AT comnands.
Code: Select all
ets Jan 8 2013,rst cause:1, boot mode:(3,6)
load 0x40100000, len 816, room 16
tail 0
chksum 0x8d
load 0x3ffe8000, len 788, room 8
tail 12
chksum 0xcf
ho 0 tail 12 room 4
load 0x3ffe8314, len 288, room 12
tail 4
chksum 0xcf
csum 0xcf
2nd boot version : 1.2
SPI Speed : 40MHz
SPI Mode : DIO
SPI Flash Size : 8Mbit
jump to run user1
With MicroPython Firmware esp8266-20190529-v1.11.bin I get this, no REPL.
Code: Select all
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x40100000, len 31024, room 16
tail 0
chksum 0xb4
load 0x3ffe8000, len 1104, room 8
tail 8
chksum 0x74
load 0x3ffe8450, len 824, room 0
tail 8
chksum 0x45
csum 0x45
E D I T
Finally I could manage to communicate with the ESP01 chip!
Persons having the same difficulties should
read this document first ! entirely and carefully ! Everything is written here : https://github.com/espressif/esptool
Especially here : https://github.com/espressif/esptool#wr ... doesnt-run
Power quality is the main issue. This board doesn't work on a breadboard, with long wires, poor power supply and without any capacitor! I put a 100 uF capacitor just on the Vcc GND pins of the board, I made a small pcb with short wire connections and got the USB connection from a powered USB hub.