mtp: ch32v407_r0 raw early_rejection intermittently receives 12 of 239 bytes

Aperta
#4,495 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c

Direzione di ricerca

Start by reproducing the intermittent early_rejection failure with repeated MTP runs on ch32v407_r0 (wch_hs2, USBHS1). Capture the failing USB exchange with usbmon or a sniffer, then determine whether the short data block comes from the DCD or the MTP class's early response path. The task is done when the cause is identified and the failure is reproducible or the captured evidence localizes it.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

follow-up Prio 📌

From #4483: the MTP raw test early_rejection failed once on ch32v407_r0 (wch_hs2, USBHS1).

Evidence

  • Dev PC bench, 2026-11-10, about 1 failure in 10 full runs: early_rejection: FAIL RawError: data block declares 239 bytes, received 12, after a successful flash.
  • Six MTP-only reruns passed. The other raw cases (cancel_mid_send_object, device_reset_mid_send_object, short_send_object_retry, object_info_replacement, device_reset_undrained_in) passed in the failing run.
  • Related: #4107 (nrf5340dk early_rejection intermittent, different symptom).

Uncertain

Not investigated: whether the short data block comes from the DCD (a short IN completion) or the MTP class's early-response path.

Remaining work

Reproduce with repeated MTP runs on ch32v407_r0, capture the failing exchange (usbmon or sniffer), and place it in the DCD or the class.

Lingua principale
C
Stelle
7.3k
Fork
1.6k
Merge medio
1g 19h
PR unite (30g)
67

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di hathach/tinyusb

Tutte le issue di hathach/tinyusb

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.