Replies: 3 comments
-
Do you have any simplest code and "exact" steps to reproduce the issue. |
Beta Was this translation helpful? Give feedback.
-
Nop, it happens occasionally in the ESP-IDF implementation and when it happens is a backtrace impossible due to muktitasking. It must be that tinyUSB keeps thinking that the transmit buffer is not sent and sends it again. I was hoping that here somebody knows tinyUSB to point me to the source where (as CDC device) the data buffer is handled. I think that a byte buffer goes out of bound and overwrites e.g. the flag marking the buffer as sent. |
Beta Was this translation helpful? Give feedback.
-
I will move this to discussion, since there is no way to fix a bug without an way to reproduce it reliably. Also IDF also add its own integration/management code on top of tinyusb, you may need to also look at those as well. cdc_device.c is available at src/class/cdc you could check that out. |
Beta Was this translation helpful? Give feedback.
-
Operating System
Others
Board
ESP32-S2
Firmware
ESP-IDF 4.4.2
What happened ?
occasionally messages sent are repeated infinitive . sending a new message stops this or get repeated infinitive as well.
How to reproduce ?
required a bigger application making use of stack and heap more exessive
Debug Log as txt file
No response
Screenshots
No response
I have checked existing issues, dicussion and documentation
Beta Was this translation helpful? Give feedback.
All reactions