platformio / platform-espressif8266

Espressif 8266: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/espressif8266
Apache License 2.0
336 stars 219 forks source link

Change to default reset method of ESP07 causes upload using ESP-PROG to time out #254

Open Alduino opened 3 years ago

Alduino commented 3 years ago

The PR #204 changed the default upload_resetmethod of the ESP07 board to be ck, which sets --before no_reset on esptool.py, causing an upload through an ESP-PROG to fail as the ESP doesn't get put into program mode.

The old value, nodemcu, works properly, resetting the ESP into program mode.

Is there a reason this was changed? From what I can see, it only affects whether or not this flag is set, and at least with the ESP-PROG board, using --before default_reset is required for it to connect successfully without manually pressing the RESET and BOOT buttons.

This may relate to #223 - according to the documentation ck should be correct, however in practice at least in this case it isn't.

valeros commented 3 years ago

Hi @fim13 Is there any chance you could comment on your PR that changed the reset method for ESP07?