My code uploads and works (mostly), except on my main PC, I cant get the debugging (or simulation) working.
Any insight would be helpful.
Code works, debugging works, everything works when I use my other PC.
Driver or dependency related I assume.
I have already uninstalled XOD and Arduino IDE, removed all traces that I can find in Program Files and in User folder.
I get this error:
Upload failed
Command `C:\Program Files\XOD IDE\resources\arduino-cli.exe --config-file=C:\Users\Lensfort\AppData\Local\Temp\arduino-clixrpiD6\.cli-config.yml upload --fqbn arduino:avr:uno --port COM4 --verbose -t C:\Users\Lensfort\AppData\Local\Temp\xod_temp_sketchbookFRztqK\xod_1550571769251_sketch` failed with code 1
Make sure the board is connected, the cable is working, the board model set correctly, the upload port belongs to the board, the board drivers are installed, the upload options (if any) match your board specs.```
Upload software is saying it can’t find your board. Is it plugged in & recognized by your OS? Try unplugging & plugging it back in.
Did you select the correct board & port?
Do you have hardware connected to the tx/rx pins on the board (I think pins 0 & 1 on UNO; this will block communication…don’t ask how I know…WAY too much time was wasted…)?
Selected “Arduino/Geniuno Uno”
Machine is Windows 10
The use of this board and that above selection works fine on other PCs.
Yes, serial is detected (COM4), board will upload and accept code from Ardiuno IDE with no problems.
Sometimes you can disable some features in the usb device manager. for example trying to deactivate root hub (usb 3.0)
Always when you do not need to use USB 3.0
In my laptop I have USB3, and I did not have those problems, it works the same as in USB2