Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Sep 4, 2024

Conversation

hathach
Copy link
Member

@hathach hathach commented Aug 30, 2024

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 merged commit 819a49b into master Sep 4, 2024
258 checks passed
@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