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

usb_serial_jtag example freezes when pressing a key #1811

Closed
bjoernQ opened this issue Jul 16, 2024 · 5 comments
Closed

usb_serial_jtag example freezes when pressing a key #1811

bjoernQ opened this issue Jul 16, 2024 · 5 comments
Assignees
Labels
bug Something isn't working peripheral:usb USB peripheral
Milestone

Comments

@bjoernQ
Copy link
Contributor

bjoernQ commented Jul 16, 2024

While embassy_usb_serial_jtag works - usb_serial_jtag doesn't work for me. Tested on ESP32-S3, ESP32-C3, ESP32-C6 ... all the same.

@bjoernQ bjoernQ added the bug Something isn't working label Jul 16, 2024
@tom-borcin tom-borcin added this to the 0.20.0 milestone Jul 17, 2024
@JurajSadel JurajSadel self-assigned this Jul 17, 2024
@JurajSadel
Copy link
Contributor

I tried to run the usb_serial_jtag and embassy_usb_serial_jtag examples and both are working for me. I will try to run them on Windows later today as well

@bjoernQ
Copy link
Contributor Author

bjoernQ commented Jul 18, 2024

On Windows using espflash (3.1.0) this is 100% reproducible. However using putty it doesn't freeze for me.

Still the embassy example works so there is something strange here

@JurajSadel
Copy link
Contributor

I've tried to run it on Windows, but it doesn't recognize any USB-SERIAL-JTAG port ... I followed steps from IDF and it still doesn't work.

@jessebraham jessebraham added the peripheral:usb USB peripheral label Jul 19, 2024
@bjoernQ
Copy link
Contributor Author

bjoernQ commented Jul 22, 2024

This is most probably more of a problem in espflash than with HAL code. While the problem is seen when flashing and monitoring the problem isn't present when just flashing and the running espflash monitor separately

@bjoernQ
Copy link
Contributor Author

bjoernQ commented Jul 22, 2024

Recreating the serialport instance before monitoring might help - in any case this is definitely not a HAL issue but an espflash issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working peripheral:usb USB peripheral
Projects
Archived in project
Development

No branches or pull requests

4 participants