Skip to content

Commit

Permalink
fix reset for C6
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Dec 4, 2024
1 parent 3ba8902 commit 9185b1a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion esp_flasher/own_esptool.py
Original file line number Diff line number Diff line change
Expand Up @@ -2816,7 +2816,10 @@ def check_spi_connection(self, spi_connection):
def hard_reset(self):
# Bug in the USB-Serial/JTAG controller can cause the port to disappear
# if the chip is reset with RTC WDT, do a classic reset
ESPLoader.hard_reset(self)
print('Hard resetting via RTS pin...')
self._setRTS(True) # EN->LOW
time.sleep(0.1)
self._setRTS(False)


class ESP32H2ROM(ESP32C6ROM):
Expand Down

0 comments on commit 9185b1a

Please sign in to comment.