An error while uploading the sketch (to ATTiny24)

Hello, I'm getting an error while uploading a basic blink sketch to ATTiny24. I've double checked all the connections and there is no short circuit. I've posted the error message below. Sometimes i also get device signature error.

Arduino: 1.8.13 (Windows 10), Board: "ATtiny24/44/84, ATtiny24, Internal 1 MHz"


         Using Port                    : COM3

         Using Programmer              : stk500v1

         Overriding Baud Rate          : 19200

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x15

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x15

         AVR Part                      : ATtiny24

         Chip Erase delay              : 4500 us

         PAGEL                         : P00

         BS2                           : P00

         RESET disposition             : possible i/o

         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 SAn error occurred while uploading the sketch

ize  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack

           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------

           eeprom        65     6     4    0 no        128    4      0  4000  4500 0xff 0xff

           flash         65     6    32    0 yes      2048   32     64  4500  4500 0xff 0xff

           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00

           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00

           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00

           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00

           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00



         Programmer Type : STK500

         Description     : Atmel STK500 Version 1.x firmware



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



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



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

         Hardware Version: 4744608

         Firmware Version: 0.4611299

         Topcard         : STK502

         Vtarget         : 1.8 V

         Varef           : 0.0 V

         Oscillator      : Off

         SCK period      : 0.1 us



avrdude: stk500_initialize(): (b) protocol error, expect=0x10, resp=0x01

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=0x10



avrdude done.  Thank you.

I've been trying to upload since 2 days but no luck. :confused: Any help will be appreciated.

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