I have bought some blank ESP-12F modules like this: https://www.aliexpress.com/item/1005001520382593.html
For these modules I have made my own adapter PCB to connect them, but now I don't get any connection with the esptool.py to these modules.
The connection is:
TX --------------- RX with an PL2303 USB adapter
RX --------------- TX with an PL2303 USB adapter
EN --------------- 3.3V
GPIO-0 ----------- GND over button
GPIO-15 ---------- GND over 4K7 resistor
RESET ------------ GND over button
GND -------------- GND
VCC -------------- 3.3V from AMS1117-3.3 blocked with Elko 220µF
With a serial terminal I can cleary see with 74880 baud the response for standard boot on TXD (GPIO1):
ets Jan 8 2013,rst cause:2, boot mode:(7,7)
waiting for host
and on TXD1 (GPIO2)
ets Jan 8 2013,rst cause:2, boot mode:(7,6)
waiting for host
For flash mode with RESET and GPIO-0 on TXD (GPIO1):
ets Jan 8 2013,rst cause:2, boot mode:(5,7)
waiting for host
and on TXD1 (GPIO2)
ets Jan 8 2013,rst cause:2, boot mode:(5,6)
waiting for host
I tried to connect with:
python3 esptool.py --port /dev/ttyUSB0 flash_id
or
python3 esptool.py --chip esp8266 --port /dev/ttyUSB0 flash_id
or
python3 esptool.py --no-stub --port /dev/ttyUSB0 flash_id
but no connection can be established.
"A fatal error occurred: Failed to connect to Espressif device: No serial data received."
With the trace option I get:
TRACE +0.000 Write 46 bytes:
c000082400000000 0007071220555555 | ...$........ UUU
5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
5555555555555555 5555555555c0 | UUUUUUUUUUUUU.
TRACE +0.082 Read 1 bytes: 72
TRACE +0.000 Read invalid data: 72
TRACE +0.000 Remaining data in serial buffer: 6c00
I tried the connection with this two versions:
esptool.py v3.3-dev
esptool.py v2.0-beta2
I assume this is simply bad hardware.
Is there anybody who has mastered this problem?