I made a little serial monitor application in Qt. It works perfectly normally. but I have another windows laptop and it only works on that laptop if I have the Arduino ide installed. I would imagine there is some kind of driver issue that installing the IDE fixes. Anyone got any ideas. Ive tried it on multiple windows machines now in order to find the issue. 99% of the time it works normally. But on a few it 'doesn't unless the ide is installed. Is that some kind of plug and play issue perhaps. does anyone know if there is a driver set i can add to my application that would solve this ? any help would be much appreciated. just to clarify its an Arduino Micro that i built myself and has been flashed with the adafruits bootloader.
Drivers that haven't been installed, I don't know how to get all the drivers installed without installing the Arduino IDE, but they should still remain after uninstalling the IDE.
Removing the ide causes the issue to re appear.
What does Windows device manager think of your devices after installing the IDE and after uninstalling it?
You can install the drivers by copying the driver installation files from a working system to another system and installing them. But I do not think that that is the problem.
My suspicion is that your sketch uses while(!Serial); if so, for your program to get past that, you have to open a communication channel with the 32U4. Opening Serial Monitor in the IDE does that, opening the port in a 3rd party terminal program, also does that.
If you want the program to run stand-alone, remove while(!Serial) (and all Serial.print/Serial.println() statements (although that is optional)).
When the ide is not installed it simply says usb serial device and when installed it says Arduino Micro. If i Understand your second point correctly this shouldnt be an issue as my programme is a serial monitor and opens a port to the arduino.
Just to confirm, it falls back to "usb serial device" in device manager after uninstalling?
How do you program your "Micro"? Just using the board "Arduino Micro"? Or using some specific Adafruit board?
For "Arduino Micro", you can find the standard Arduino drivers in C:\Users\yourUsername\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\drivers.
For some specific Adafruit board, you should be able to find a similar location in C:\Users\yourUsername\AppData\Local\Arduino15\.
Note that AppData is a folder that is hidden by default.
I did forget about that; it's in your opening post. Sorry for that.
Thats correct it goes back to usb serial device. ill try the driver. i think it could be specifically the driver that deals with USB to comport communication. ill give the drivers a go one at a time.
So Im pretty sure the issue is related to the general arduino drivers not being installed. but my new issue is that my windows machine that already recognizes the device has no problem installing the arduino.inf driver. but... the Windows machine that has the issue does not allow the same arduino.inf to be installed saying its not signed. what's more weird is that driver specifically says its signed in the Arduino drivers folder under the readme file.... weird. still not got to the bottom of it.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.