Replies: 2 comments
-
Good spot, there are some variables not reset to 0 on driver reset, please try: https://github.com/HiFiPhile/tinyusb/tree/uac_reset |
Beta Was this translation helpful? Give feedback.
0 replies
-
Amazing. It fixes the issue! Thank you very much. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have implemented tinyUSB in a custom STM32H563 board with Audio, CDC and DFU Runtime following the headset example.
The first USB connection works fine. If I disconnect the USB cable and re-attach it I always get in the debugger the following assert
TU_ASSERT(packet_sz_tx_max <= audio->ep_in_sz);
.audiod_calc_tx_packet_sz()
is called with the end-point equals to 0.The full trace can be found in the file debug.txt
Suggestions on how to trace the issue?
Thank you very much
Beta Was this translation helpful? Give feedback.
All reactions