Uploading code to arduino

Arduino: 1.8.12 (Windows 10), Board: "Arduino Uno"

Writing | ################################################## | 100% 0.58s

avrdude: 3252 bytes of flash written
avrdude: verifying flash memory against C:\Users\SHUBHAM\AppData\Local\Temp\arduino_build_143421/rec.ino.hex:
avrdude: load data flash data from input file C:\Users\SHUBHAM\AppData\Local\Temp\arduino_build_143421/rec.ino.hex:
avrdude: input file C:\Users\SHUBHAM\AppData\Local\Temp\arduino_build_143421/rec.ino.hex contains 3252 bytes
avrdude: reading on-chip flash data:

Reading | #
avrdude: stk500_paged_load(): (a) protocol error, expect=0x10, resp=0x00
##avrdude: stk500_cmd(): programmer is out of sync
avr_read(): error reading address 0x0000
read operation not supported for memory "flash"
avr_read(): error reading address 0x0000

avrdude: failed to read all of flash memory, rc=-2
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x00

avrdude done. Thank you.

Sketch uses 3252 bytes (10%) of program storage space. Maximum is 32256 bytes.
Global variables use 227 bytes (11%) of dynamic memory, leaving 1821 bytes for local variables. Maximum is 2048 bytes.
C:\Users\SHUBHAM\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude -CC:\Users\SHUBHAM\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf -v -patmega328p -carduino -PCOM3 -b115200 -D -Uflash:w:C:\Users\SHUBHAM\AppData\Local\Temp\arduino_build_143421/rec.ino.hex:i

avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

     System wide configuration file is "C:\Users\SHUBHAM\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

     Using Port                    : COM3
     Using Programmer              : arduino
     Overriding Baud Rate          : 115200
     AVR Part                      : ATmega328P
     Chip Erase delay              : 9000 us
     PAGEL                         : PD7
     BS2                           : PC2
     RESET disposition             : dedicated
     RETRY pulse                   : SCK
     serial program mode           : yes
     parallel program mode         : yes
     Timeout                       : 200
     StabDelay                     : 100
     CmdexeDelay                   : 25
     SyncLoops                     : 32
     ByteDelay                     : 0
     PollIndex                     : 3
     PollValue                     : 0x53
     Memory Detail                 :

                              Block Poll               Page                       Polled
       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
       flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
       lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
       hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
       efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
       lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
       calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
       signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

     Programmer Type : Arduino
     Description     : Arduino

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x00

the selected serial port
does not exist or your board is not connected
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x00

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x00
Hardware Version: 3
Firmware Version: 0.4611299

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x00

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x00

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x00

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x00

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x00
Vtarget : 420030.5 V
Varef : 197546963.2 V
Oscillator : 0.531 Hz
SCK period : 9207630.3 us

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x00

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x00
avrdude: stk500_initialize(): (a) protocol error, expect=0x14, resp=0x00
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.

avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x00

avrdude done. Thank you.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

i have tried loopback test. working good. updating all sorts of drivers and ide. Would appreciate any help
PS> Excuse me for my english

More details please

Which Arduino board do you have ?
Which board do you have selected in the IDE ?
Does Windows recognise the board and create a COM port when it is plugged in ? If so, which COM port ?
Which COM port have you got selected in the IDE ?
Can you upload a simple sketch such as the Blink example ?

A post was split to a new topic: Cannot get the IDE to load

Please answer the questions

If you have Device Manager open in Administrator mode when you plug in the Arduino does the display refresh and if so which section do they appear in ? Note that you may need to turn on "Show hidden devices" in the menu. Are there any devices showing in any section that have an exclamation mark alongside them ?

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.