using an UART to USB converter based on CH340 I successfully flashed the firmware onto esp-01. However, when I try to use it in normal mode I cannot connect to it and after plugging in it gets hot. Thus I assume it gets stuck at some process. The same happens on two identical esp-01 boards. How could I fix it?
More details:
For flashing I use esptool. First I erase the flash. Afterwards I use the following command (I tried some modifications, but it ends up with the same sitation)
Code: Select all
esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash --flash_size=detect --verify -fm dio 0 ~/Documents/esp/bin/esp8266-1m-20220117-v1.18.bin
https://micropython.org/download/esp8266-1m/
The output from flashing is
Code: Select all
esptool.py v3.2
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: 44:17:93:15:9e:87
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 1MB
Flash will be erased from 0x00000000 to 0x00090fff...
Flash params set to 0x0220
Compressed 591524 bytes to 391472...
Wrote 591524 bytes (391472 compressed) at 0x00000000 in 37.6 seconds (effective 126.0 kbit/s)...
Hash of data verified.
Leaving...
Verifying just-written flash...
(This option is deprecated, flash contents are now always read back after flashing.)
Flash params set to 0x0220
Verifying 0x906a4 (591524) bytes @ 0x00000000 in flash against /home/milord/Documents/esp/bin/esp8266-1m-20220117-v1.18.bin...
-- verify OK (digest matched)
Hard resetting via RTS pin...
Code: Select all
rshell -p /dev/ttyUSB0
Code: Select all
Using buffer-size of 32
Connecting to /dev/ttyUSB0 (buffer-size 32)...
Trying to connect to REPL
Code: Select all
ampy -p /dev/ttyUSB0 mkdir test
I also tried to use thonny IDE and if I set up the interpreter to micropython on my device, I obtain an error that device is busy or not responding.
I have managed to access repl on other esp boards with 4Mb flash via similar commands.
I would be grateful for any suggestions what goes wrong here.
Best regards.