After successfully working with an Arduino Due for years, I now suddenly encounter an "Error compiling for board Arduino Due (Programming Port).".
- It started after upgrading to Windows 10.0.18363 Build 18363.
- I'm using Arduino: 1.8.13 (Windows 10), Board: "Arduino Due (Programming Port)"
It can be replicated as follows.
-
Board setting: "Arduino ARM (32-bits) -> Arduino Due (Programming Port)."
-
Starting the 'blink' sketch from scratch
-
Hit Ctrl-R to Compile/Verify: this yields successful complication.
-
Again hit Ctrl-R to Compile/Verify: this now yields "Error compiling for board Arduino Due (Programming Port)."
-
After switching to "Arduino ARM (32-bits) -> Arduino Due (Native USB Port).", the code can be compiled without error.
-
Now switching back to "Arduino ARM (32-bits) -> Arduino Due (Programming Port).", the code can be compiled without error.
-
However, trying to compile again (without changing anything) brings back the error.
Related or not: when trying to upload code, I often encounter a "No device found on COMx" error, even though the device is on that COM port.
Any suggestions would be appreciated.