pd-externals / pduino

[arduino] abstraction and tests (improved version)
http://at.or.at/hans/pd/objects.html
GNU General Public License v2.0
35 stars 2 forks source link

Pduino in Windows 10 doesn't work #1

Open gartek opened 5 years ago

gartek commented 5 years ago

I've installed comport and pduino. And tested with Arduino Leonardo. But I can communicate PD with the arduino. The port looks like opened but no message is received. Also, with the gui-help the patch says that the firmware doesn't found. I used Arduino IDE 1.8.9 (Firmata > v2).

reduzent commented 3 years ago

Sorry for late reply.

Does [comport] work with other stuff on Windows? I don't have a Windows machine at hand for testing. I will try to reproduce with a Windows 10 if that is feasible (I don't know yet).

reduzent commented 3 years ago

I tried it in a KVM virtual machine running Windows 10 and passed the USB-Device through. I'm not sure if that setup is supposed to work, but I got mixed results. I see the RX LED flashing when sending messages to the board, although I don't get a response from it when doing a 'firmware' or 'version' request. However, other stuff works, like 'digital 13 1' turns the onboard LED on. I also tried sending raw byte messages directly to [comport] to rule out any issue with the [arduino] abstraction. To me it looks like not all messages come through correctly. I will further investigate this.

BTW: Loading sketches from Arduino IDE (1.8.13) to my Arduino Leonardo doesn't work from the Windows 10 virtual machine either. During upload the respective COM port (COM 3 here) suddenly disappears.

sesselastronaut commented 3 years ago

Finally I got my hands on a Windows 10 machina and I can't confirm the bug, using an Arduino Uno though. But here with Pd version 0.51.3 and latest pduino version everything seems to work fine.