Hello,
Up until 11/6, my Arduino UNO was functioning properly. On 11/7, I attached an IO Shield, and my MATLAB/Arduino IDE code would no longer upload to the Arduino. I would get the following error:
Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: "Arduino/Genuino Uno"
Sketch uses 3894 bytes (12%) of program storage space. Maximum is 32256 bytes.
Global variables use 220 bytes (10%) of dynamic memory, leaving 1828 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x99
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x99
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x99
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x99
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x99
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x99
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x99
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x99
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x99
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x99
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
However, power is going through the Arduino (green light is on) and MATLAB recognizes that the Arduino is connected via USB ("Arduino Uno is connected"). If I type a=arduino() into the command window, I receive an error.
I went through the troubleshooting page and several discussion boards, but nothing I did helped connect the IO Shield/board to the computer. I then disconnected everything from the Arduino, including the shield, and attempted to upload code. I received the same error. I then attempted to re-install the Arduino hardware package, but I could not download it due to the same error as above.
Notes:
Tools >> Board: Arduino Uno/Gemini
Tools >> Processor: AVRISP mkll
Tools >> Port: COM4
The Com Port is showing up in the device manager.
Any ideas?