Skip to content

Potential issues with MIDI Host #3544

@203Null

Description

@203Null

Operating System

Windows 11

Commit SHA

7ddf631

Board

Custom CH32L103

Firmware

https://github.com/203Null/tinyusb/tree/l103 but without the 203Null@49e8cf1

What happened ?

I try to bring up CH32L103 support with USB MIDI host. During set up https://github.com/203Null/tinyusb/blob/7ddf63151d840d804ea16f6f27ad18619df3ec66/src/class/midi/midi_host.c#L329 is bring faulted.

I let AI to investigate and it produced 203Null@49e8cf1

I don't know the rest of the system well so I'm just raising it as a potential issue

How to reproduce ?

I honestly not sure if this can be produced on other platforms

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

[MIDIH] open: addr=1 itf=1 idx=0 itf_count=2
[MIDIH] set_config: addr=1 itf=0 idx=0
[Application Log] MIDI mounted: idx=0 addr=1 rx_cables=2 tx_cables=2
[MIDIH] set_config: addr=1 itf=2 idx=255
[Custom log that replaces the assert] MIDI set_config without open: addr=1 itf=2

Screenshots

No response

I have checked existing issues, discussion and documentation

  • I confirm I have checked existing issues, discussion and documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions