Closed ccarmatic closed 1 year ago
@ccarmatic's post about the problem on Arduino Forum:
https://forum.arduino.cc/t/arduino-zero-midiusb-problem/1157189
Related:
if you are on Windows, it may happen that the drivers for the new composite device are not getting loaded correctly. Try uninstalling all the drivers currently loaded with the board (from Device Manager) and if you are on windows 10 it should reinstall the correct ones. For further explanation, please read this thread that almost completely applies (https://github.com/webusb/arduino/issues/44)
Hello, I have tried the uninstall and reinstall drivers method without success - until I closed the Arduino IDE and did it again - the IDE was preventing Windows from deleting the necessary drivers
I am using Windows 11 and an Arduino Zero
this is my code, the version of MIDIUSB is 1.0.5
I flash the code to the Zero using its debug USB port and I can verify that it is working because the builtin LED flashes correctly and the transmit LED lights up when I turn the trimpot connected to A0
But when I connect the Zero with the native port (which MIDIUSB uses), I see this in Windows Device Manager:
an entry with the Arduino Zero name at COM7 which 'does not exist' to Windows, and a 'USB Serial Device' at COM6
The Arduino Zero is not being detected as a MIDI device , but Arduino IDE can access COM6 to upload sketches and open the serial monitor on the native USB port
If I upload any other sketch , which does not contain MIDIUSB, everything is normal in Windows, in Arduino IDE, and on the Arduino Zero. This leads me to believe that the fault lies in MIDIUSB