Arduino Forum

Using Arduino => Installation & Troubleshooting => Topic started by: Mikeaindenver on Apr 20, 2019, 07:36 pm

Title: wont recognize comm port
Post by: Mikeaindenver on Apr 20, 2019, 07:36 pm
I keep getting this error after compiling that wont download the code. does it on both mega mini and micro board, however computer recognizes the board on comm 4.


Arduino: 1.8.8 (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328P (5V, 16 MHz)"

Sketch uses 4756 bytes (15%) of program storage space. Maximum is 30720 bytes.
Global variables use 236 bytes (11%) of dynamic memory, leaving 1812 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't set com-state for "\\.\COM4"
An error occurred while uploading the sketch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Title: Re: wont recognize comm port
Post by: pert on Apr 20, 2019, 07:45 pm
Try restarting your computer. Sometimes the COM ports will get stuck in an unusable state and the restart will fix that.
Title: Re: wont recognize comm port
Post by: Mikeaindenver on Apr 20, 2019, 09:40 pm
That did not help, still getting the same error message.