Skip to content

Dropped bytes between USB (Nanokontrol2) and UART #21

@doughadfield

Description

@doughadfield

Hi, I've got the device working with unchanged code, and it recognises my Korg NanoKONTROL2 device on the usb. However, when I request a scene dump from the korg device, I get the following on the serial monitor (UART0):

Pico MIDI Host to MIDI UART Adapter
Configured MIDI UART 1 for 31250 baud
MIDI Device Index = 0, MIDI device address = 1, 1 IN cables, OUT 1 cables
manufacturer: KORG INC.
product: nanoKONTROL2
Warning: Dropped 8 bytes sending to UART MIDI Out
Warning: Dropped 33 bytes sending to UART MIDI Out
Warning: Dropped 34 bytes sending to UART MIDI Out
Warning: Dropped 33 bytes sending to UART MIDI Out
Warning: Dropped 33 bytes sending to UART MIDI Out
Warning: Dropped 33 bytes sending to UART MIDI Out
Warning: Dropped 3 bytes sending to UART MIDI Out

Would this be a buffer overrun between the (much faster) USB input stream and the UART output stream? If so, am I able to increase the buffer sizes so as to accomodate large sysex messages like this one?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions