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

2 comments on commit 9185b1a

@hallard
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love this one :-)

@Jason2866
Copy link
Owner Author

@Jason2866 Jason2866 commented on 9185b1a Jan 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hallard Well, only fixes what i have messed up earlier ;-)

The chip info part still needs fixes. Many Infos are not correct. Was to lazy or better said more interesting stuff to do. Since "only" Infos nowhere used...

Please sign in to comment.