Skip to content

prevent S3 enumerated as USB JTAG while waiting for 2nd reset#406

Merged
hathach merged 3 commits into
masterfrom
prevent-s3-jtag-enumerate
Sep 4, 2024
Merged

prevent S3 enumerated as USB JTAG while waiting for 2nd reset#406
hathach merged 3 commits into
masterfrom
prevent-s3-jtag-enumerate

Conversation

@hathach

@hathach hathach commented Aug 30, 2024

Copy link
Copy Markdown
Member

This partly fixes an issue adafruit/Adafruit_TinyUSB_Arduino#436, when S3 is enumerated as USB JTAG while waiting for 2nd reset

  • only attempt to wait for 2nd reset if reset by by by power on (En/nRST pin)
  • temporarily change USB phy to OTG while waiting for 2nd reset to prevent S3 is enumerated with USB JTAG.
  • also bump up idf to v5.1.4 to match latest arduino-esp32 idf version
  • some tweak to ci build

…T pin)

temporarily change USB phy to OTG while waiting for 2nd reset, otherwise S3 can be enumerated with USB JTAG.
@hathach hathach changed the title only attempt to wait for 2nd reset if reset by by by power on (En/nRS… prevent S3 enumerated as USB JTAG while waiting for 2nd reset Aug 30, 2024
@hathach hathach force-pushed the prevent-s3-jtag-enumerate branch from 511ab59 to 775c77a Compare September 4, 2024 11:46
@hathach hathach force-pushed the prevent-s3-jtag-enumerate branch from 775c77a to eae8cde Compare September 4, 2024 11:48
@hathach hathach force-pushed the prevent-s3-jtag-enumerate branch from 2b94735 to 7899657 Compare September 4, 2024 13:44
@hathach hathach merged commit 819a49b into master Sep 4, 2024
@hathach hathach deleted the prevent-s3-jtag-enumerate branch September 4, 2024 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant