-
Notifications
You must be signed in to change notification settings - Fork 787
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot receive large Sysex from NUX MG-30 #725
Comments
Thanks for the response.I will check it. |
I 've loaded this example sketch : ` // Satisfy the IDE, which needs to see the include statment in the ino too. #define _MIDI_SERIAL_PORT Serial uint8_t reqpatch_NUMBER[] { uint8_t reqpatch_DATA[] { USB Usb; void setup()
} void loop() // Poll USB MIDI Controler
}` and I get this in serial monitor: Request: reqpatch_NUMBER Request: reqpatch_DATA When its sending reqpatch_DATA sysex I get nothing but for example with zoom ms50g it works flawlessly (with another sketch of course). |
sorry I closed this case by mistake.Anyway I 've loaded the above example sketch and I got this in serial monitor: Request: reqpatch_NUMBER Request: reqpatch_DATA the response in reqpatch_DATA should be something like this : F0 43 58 70 0A 02 00 01 02 41 01 0A 02 00 06 01 00 04 |
Run with debugging enabled. My concern is that the endpoint size is larger than 64 bytes.
|
I run it with with debugging enabled and this is what a get MIDI Init STEP1: MIDI Start Interface descriptor: Interface descriptor: Interface descriptor: Interface descriptor: Interface descriptor:
Request: reqpatch_NUMBER Request: reqpatch_DATA |
Sorry, please enable EXTRADEBUG . USB_Host_Shield_2.0/usbh_midi.cpp Line 29 in 39ab2a6
|
I enabled EXTRADEBUG and this the result: STEP1: MIDI Start Interface descriptor: Interface descriptor: Interface descriptor: Interface descriptor: Interface descriptor:
Request: reqpatch_NUMBER Request: reqpatch_DATA |
Page 36 of the Programming Guide We suspect that the MG-30 is transmitting more than 64 bytes of data at a time. |
I see!Thank you very much for your help.I will try a Teensy 3.6/4.1 when I have time. |
Hello from Greece.I am trying to build a MIDI contoller for NUX MG-30 (guitar multieffect unit). I send this sysex message
F0 43 58 70 0A 00 F7 in order the NUX MG-30 to respond with a 218 bytes long sysex that contains the data of the current patch . The NUX MG-30 is recognised by the usb host , I can send PC or CC messages to the NUX MG-30 or other sysex messages and the device responds normally but does not when I send the above sysex.This is what I get when I run MIDI_USB_desc sketch :
Start
01
String Descriptors:
Manufacturer: NUX
Product: NUX MG-30
Serial: 220526115751
Device descriptor:
Descriptor Length: 12
Descriptor type: 01
USB version: 0200
Device class: 00
Device Subclass: 00
Device Protocol: 00
Max.packet size: 40
Vendor ID: 1FC9
Product ID: 8260
Revision ID: 0101
Mfg.string index: 01
Prod.string index: 02
Serial number index: 03
Number of conf.: 01
Configuration descriptor:
Total length: 0158
Num.intf: 04
Conf.value: 01
Conf.string: 00
Attr.: C0
Max.pwr: 00
Unknown descriptor:
Length: 08
Type: 0B
Contents: 000301002000
Interface descriptor:
Intf.number: 00
Alt.: 00
Endpoints: 00
Intf. Class: 01
Intf. Subclass: 01
Intf. Protocol: 20
Intf.string: 00
<<<AUDIO_CONTROL>>>
Unknown descriptor:
Length: 09
Type: 24
Contents: 010002047F0000
Unknown descriptor:
Length: 08
Type: 24
Contents: 0A1001070000
Unknown descriptor:
Length: 11
Type: 24
Contents: 020101020010040000000000000000
Unknown descriptor:
Length: 1A
Type: 24
Contents: 0602010F0000000F0000000F0000000F0000000F00000000
Unknown descriptor:
Length: 0C
Type: 24
Contents: 03030101000210000000
Unknown descriptor:
Length: 11
Type: 24
Contents: 020401010010040000000000000000
Unknown descriptor:
Length: 1A
Type: 24
Contents: 0605040F0000000F0000000F0000000F0000000F00000000
Unknown descriptor:
Length: 0C
Type: 24
Contents: 03060103000510000000
Interface descriptor:
Intf.number: 01
Alt.: 00
Endpoints: 00
Intf. Class: 01
Intf. Subclass: 02
Intf. Protocol: 20
Intf.string: 00
<<<AUDIO_STREAMING>>>
Interface descriptor:
Intf.number: 01
Alt.: 01
Endpoints: 01
Intf. Class: 01
Intf. Subclass: 02
Intf. Protocol: 20
Intf.string: 00
<<<AUDIO_STREAMING>>>
Unknown descriptor:
Length: 10
Type: 24
Contents: 0103000101000000040000000000
Unknown descriptor:
Length: 06
Type: 24
Contents: 02010418
Endpoint descriptor:
Endpoint address: 83
Attr.: 0D(Isochronous)
Max.pkt size: 0300
Polling interval: 04
Unknown descriptor:
Length: 08
Type: 25
Contents: 010000000000
Interface descriptor:
Intf.number: 02
Alt.: 00
Endpoints: 00
Intf. Class: 01
Intf. Subclass: 02
Intf. Protocol: 20
Intf.string: 00
<<<AUDIO_STREAMING>>>
Interface descriptor:
Intf.number: 02
Alt.: 01
Endpoints: 02
Intf. Class: 01
Intf. Subclass: 02
Intf. Protocol: 20
Intf.string: 00
<<<AUDIO_STREAMING>>>
Unknown descriptor:
Length: 10
Type: 24
Contents: 0104000101000000040000000000
Unknown descriptor:
Length: 06
Type: 24
Contents: 02010418
Endpoint descriptor:
Endpoint address: 01
Attr.: 05(Isochronous)
Max.pkt size: 0310
Polling interval: 04
Unknown descriptor:
Length: 08
Type: 25
Contents: 010000000000
Endpoint descriptor:
Endpoint address: 81
Attr.: 11(Isochronous)
Max.pkt size: 0003
Polling interval: 04
Interface descriptor:
Intf.number: 04
Alt.: 00
Endpoints: 02
Intf. Class: 01
Intf. Subclass: 03
Intf. Protocol: 00
Intf.string: 00
<<>>
MS Interface descriptor
07240100014100
DescriptorSubtype: 01
USB_DESCRIPTOR_CS_INTERFACE : MS_HEADER
MIDIStreaming SubClass Specification Release number: 0100
wTotalLength: 0041
MS Interface descriptor
062402010100
DescriptorSubtype: 02
USB_DESCRIPTOR_CS_INTERFACE : MIDI_IN_JACK(Embedded)
JackType: 01
JackID: 01
MS Interface descriptor
062402020200
DescriptorSubtype: 02
USB_DESCRIPTOR_CS_INTERFACE : MIDI_IN_JACK(External)
JackType: 02
JackID: 02
MS Interface descriptor
092403010301020100
DescriptorSubtype: 03
USB_DESCRIPTOR_CS_INTERFACE : MIDI_OUT_JACK(Embedded)
JackType: 01
JackID: 03
NrInputPins: 01
020100
MS Interface descriptor
092403020401010100
DescriptorSubtype: 03
USB_DESCRIPTOR_CS_INTERFACE : MIDI_OUT_JACK(External)
JackType: 02
JackID: 04
NrInputPins: 01
010100
Endpoint descriptor:
Endpoint address: 02
Attr.: 02(Bulk)
Max.pkt size: 0200
Polling interval: 00
MS Endpoint descriptor
0525010101
USB_DESCRIPTOR_CS_ENDPOINT : MS_GENERAL
bNumEmbMIDIJack: 01
01
Endpoint descriptor:
Endpoint address: 82
Attr.: 02(Bulk)
Max.pkt size: 0200
Polling interval: 00
MS Endpoint descriptor
0525010103
USB_DESCRIPTOR_CS_ENDPOINT : MS_GENERAL
bNumEmbMIDIJack: 01
03
Addr:1(0.0.1)
Thank you for your time!
The text was updated successfully, but these errors were encountered: