I've been working on an Arduino Uno project, and I've uploaded many code versions over the past week. Then today, after ~1hr of more iterations, I tried plugging the board back into the same USB port and uploading the new code, and I got:
Archiving built core (caching) in: C:\Users\benla\AppData\Local\Temp\arduino_cache_468985\core\core_arduino_avr_uno_a94ab6aaf61dfb93b4a8079c694a14c2.a
Sketch uses 23932 bytes (74%) of program storage space. Maximum is 32256 bytes.
Global variables use 1126 bytes (54%) of dynamic memory, leaving 922 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't open device "\.\COM4": The system cannot find the file specified.
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
The Tools/port menu is grayed out. I've tried restarting everything, plugging and unplugging...Windows is passing power, but it doesn't recognize the device (Uno). The USB port on my computer works if I plug in an external drive. When connected to the computer, the Uno lights turn on, and the latest build that I upload is running properly - sending SMS messages. I can hit the reset button and it flashes near Digital Pin 13 and looks like it's working. I've tried disconnecting the shield and all connections and uploading to a bare Uno board, but I get the same error. I tried everything on the Troubleshooting guide - except updating the driver...I couldn't figure out where the driver is stored in Windows, and the Uno doesn't show up in my device manager under the USB/COM port.
It was (is) running a FONA800, temperature breakout, LCD breakout, RTC breakout, water sensor, and Featherwing relay that switches the FONA circuitry between "Charge" and "Run." Any ideas? Did I overload the Uno?