esputil icon indicating copy to clipboard operation
esputil copied to clipboard

Improved strategy for reset to bootloader, fixing nodemcu reset issue

Open abhra0897 opened this issue 3 years ago • 0 comments

Improved strategy for resetting to the bootloader. Without this, the boot button of NodeMCU-ESP32 DevKITV1 has to be pressed manually in order to enter the bootloader. But with this fix, it automatically enters the bootloader.

The reset strategy and sequence have been taken from the official esptool code.

Also added hard_reset() calls at the end of the read and write functions.

abhra0897 avatar Apr 22 '23 10:04 abhra0897