I can send AT commands to it and get responses, so I think it's safe to assume that the device and USB board are OK. But if I slide the switch to "prog" and try to download a Blink program to it, I get the dreaded time out message:
Auto-detected: /dev/ttyUSB7
Uploading .pio/build/esp01_1m/firmware.bin
esptool.py v3.0
Serial port /dev/ttyUSB7
Connecting........_____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP8266: Timed out waiting for packet header
*** [upload] Error 2
My platformio.ini file has the following contents:
[env:esp01_1m]
platform = espressif8266
board = esp01_1m
framework = arduino
upload_protocol = esptool
monitor_speed = 115200
board_build.flash_mode = dout
Can someone that has done this tell me what I'm doing wrong?
Thanks.