tinyusb icon indicating copy to clipboard operation
tinyusb copied to clipboard

MAX3421 as host: consecutive polling for CDC RX causes hang of tinyusb

Open Szewcson opened this issue 1 year ago • 1 comments

Operating System

Others

Board

custom

Firmware

v0.17.0

What happened ?

When consecutively poll for CDC RX data tinyUSB hangs after some time.

How to reproduce ?

Use some echo device. Write around 100-200 bytes every few seconds. Read echoed answer by polling for 1byte after every write. During 0.5-1h of testing tinyUSB should hang.

Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)

I have no logs.

Screenshots

No response

I have checked existing issues, dicussion and documentation

  • [X] I confirm I have checked existing issues, dicussion and documentation.

Szewcson avatar Nov 20 '24 13:11 Szewcson

please provide detail setup with

  • board + mcu
  • stock example with minimal changes
  • exact usb device model for testing
  • script/exact steps to reproduce the issue.

hathach avatar Nov 27 '24 05:11 hathach