Sketch uses 2278 bytes (7%) of program storage space. Maximum is 32256 bytes.
Global variables use 223 bytes (10%) of dynamic memory, leaving 1825 bytes for local variables. Maximum is 2048 bytes.
C:\Users\dell\Desktop\Amit\Arduino\hardware\tools\avr/bin/avrdude -CC:\Users\dell\Desktop\Amit\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM24 -b115200 -D -Uflash:w:C:\Users\dell\AppData\Local\Temp\arduino_build_601820/bt_car.ino.hex:i
avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Users\dell\Desktop\Amit\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM24
An error occurred while uploading the sketch
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: ser_open(): can't set com-state for "\.\COM24"
avrdude done. Thank you.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Please help. I am getting this error when uploading my sketch on Uno.
Arduino: 1.8.5 (Windows Store 1.8.10.0) (Windows 10), Board: "Arduino/Genuino Uno"
Sketch uses 928 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't set com-state for "\.\COM3"
An error occurred while uploading the sketch
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Archiving built core (caching) in: C:\Users\Ivan\AppData\Local\Temp\arduino_cache_304496\core\core_arduino_avr_uno_0c812875ac70eb4a9b385d8fb077f54c.a
Sketch uses 960 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM3 -b115200 -D -Uflash:w:C:\Users\Ivan\AppData\Local\Temp\arduino_build_521870/sketch_sep15c.ino.hex:i
avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM3
Using Programmer : arduino
Overriding Baud Rate : 115200
An error occurred while uploading the sketch
avrdude: ser_open(): can't set com-state for "\.\COM3"
avrdude done. Thank you.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I'm getting the same error while uploading the code to the board.
I'm new to this and I'm just trying to follow what instructables has put up.
the error message is :
Sketch uses 21624 bytes (67%) of program storage space. Maximum is 32256 bytes.
Global variables use 910 bytes (44%) of dynamic memory, leaving 1138 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't set com-state for "\.\COM4"
SO what does this mean?
What is the second method of uploading the code? How to do it?
How to resolve this?
Thanks in advance.
haygreev:
Sketch uses 21624 bytes (67%) of program storage space. Maximum is 32256 bytes.
Global variables use 910 bytes (44%) of dynamic memory, leaving 1138 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't set com-state for "\.\COM4"
Try restarting your computer. Sometimes the COM port will get stuck in a bad state and the restart fixes that.