I've been troubleshooting my Arduino Due for the past two weeks, searching through forums and youtube tutorials and all the fixes just don't seem to work. I run Windows 11. I'm really hoping somebody here can help!
I have two main problems:
First: before I tried all the troubleshooting, my port option was just greyed out in my IDE when I connected to my computer. I tried multiple usbs that I know work, my arduino also lights up when connected.
To solve the greyed out problem I've tried downloading the CH430 driver following these instructions: Can't install driver for CH340 . After installing the CH430 driver doesn't show up in my device manager, even after viewing hidden devices. So I tried to manually install the Arduino port connection through the device manager > action > add legacy hardware > ports > arduino LLC > arduino Due and Arduino due Programming port (among some other ports that I was hoping would work).
Once these are installed, they show up in my device manager with a yellow error message next to them. I've tried restarting my computer after installation multiple times.
This brings me to my second issue: After doing all that troubleshooting, the IDE does allow me to select the COM3 port but i get message "Port monitor error: command 'open' failed: Serial port not found. Could not connect to COM3 serial port." when compiling. So it's apparent that the ports aren't properly installed and I'm kind of at a dead end.
Can anybody help me troubleshoot? Thanks in advance for your time!
Where in the schematic of the Arduino Due (https://www.arduino.cc/en/uploads/Main/arduino-Due-schematic.pdf) do you see a CH340?
And what are the errors/warnings related to those exclamation marks ?
I'm not familiar with the Due to advise further.
Hey, thanks for the reply. I'm honestly a little out of my expertise, this is my first arduino project in like 10 years. I don't know how to read the schematic, I was just going off of some youtube videos I found that suggested installing the CH430 driver.
Can you tell based on the schematic if I need a different driver installed?
The error messages says "windows found drivers for your device but encountered an error while attempting to install them. This device cannot start. (Code 10).
Try Linux, it appears to work. You can download a free trial and run it with out installing it on your computer.
A cheap Raspberry Pi running Linux is enough to run Arduino IDE's just fine so far. The system subs on a micro-SD 8G or bigger, you can set up many such and run whichever you want! Keep old versions on hand and no change will leave you stranded!
RPi 4 with 2G RAM is all the computer I need. It saved enough on my electric bill over the mini-tower I had that it paid for itself in 5 months. I bought it in 2018! Maybe by Christmas I'll get an RPi 5!
I started with an RPi 3 but the 4 is much better!
You did install the correct drivers; if there was a need to use 'legacy' is another question.
The Due has two USB ports; which one did you use? Did you try the other one?
I don't have and never looked into the Due.
Is one port by any chance a Host? That would be so cool!
I also never really looked at the Due
It has one port like on the Mega with a dedicated serial-to-usb converter and one native USB port. USBHost - Arduino Reference indicates that the latter can be used as a host.
yeah, I did try both of them, and neither of them allow for uploading currently
Ok, I will try this. thanks