Проблемы с загрузкой скетча

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\2008a\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
     Hardware Version: 3
     Firmware Version: 4.4
     Vtarget         : 0.3 V
     Varef           : 0.3 V
     Oscillator      : 28.800 kHz
     SCK period      : 3.3 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: reading input file “C:\Users\2008a\AppData\Local\Temp\arduino_build_443811/sketch_jan20a.ino.hex”
avrdude: writing flash (1626 bytes):

Writing | ################################################## | 100% 0.21s

avrdude: 1626 bytes of flash written
avrdude: verifying flash memory against C:\Users\2008a\AppData\Local\Temp\arduino_build_443811/sketch_jan20a.ino.hex:
avrdude: load data flash data from input file C:\Users\2008a\AppData\Local\Temp\arduino_build_443811/sketch_jan20a.ino.hex:
avrdude: input file C:\Users\2008a\AppData\Local\Temp\arduino_build_443811/sketch_jan20a.ino.hex contains 1626 bytes
avrdude: reading on-chip flash data:

Reading | ##################################Произошла ошибка при загрузке скетча
################ | 100% 0.20s

avrdude: verifying …
avrdude: verification error, first mismatch at byte 0x0000
0x62 != 0x0c
avrdude: verification error; content mismatch

avrdude done. Thank you.

с какой версии IDE?

1.8.19

попробуй блинк залить из примеров

всё то же самое

Ну тогда только Садман41 поможет, он тут дока…

Поведение твоей UNO один в один соответствует имеющейся у меня, но там чип CH340 поддельный, распиновка не соответствует даташиту, проблема ушла после прошивки большого скетча, в памяти более половины, прошивал блинк пока не стала прошиваться без ошибок. IDE 1.8.19 - держим кнопку РЕЗЕТ когда откомпилировалось и начинает заливаться (система остановилась) кнопку отпускаем, повторить, пока не зальётся без ошибок. С утра на своей UNO попытался повторить проблему, шьётся однако )))
Тема была тут

минут 20 этим занимался, не помогает.
остаётся только ждать, пока провод приедет.
ну или плату менять

Странно что сигнатуру читает верно.
А если выбрать другу плату - мега например.
Ругаться будет на сигнатуру ???

И еще может для Iskra плат они свой загрузчик какой написали и с ним надо как то по другому общаться ??? Что там на их сайте пишут по этому вопросу ???

avrdude: ser_open(): can’t open device “\.\COM3”: �������� � �������.

avrdude: ser_drain(): read error: �������� ����������.

avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: �������� ����������.

avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: �������� ����������.

avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: �������� ����������.

avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: �������� ����������.

avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: �������� ����������.

avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: �������� ����������.

avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

avrdude done. Thank you.

выбранный последовательный порт
не существует или плата не подключена к нему

Никакого собственного загрузчика, общаться так же как и с обычной Arduino Uno

Вот, поймал и на моей плате:

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 "D:\arduino-1.8.19\portable\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

         Using Port                    : COM18
         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
         Hardware Version: 3
         Firmware Version: 8.0
         Vtarget         : 0.3 V
         Varef           : 0.3 V
         Oscillator      : 28.800 kHz
         SCK period      : 3.3 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: reading input file "C:\Temp\arduino_build_141657/ST7789_graphicstest.ino.hex"
avrdude: writing flash (23096 bytes):

Writing | ################################################## | 100% 4.75s

avrdude: 23096 bytes of flash written
avrdude: verifying flash memory against C:\Temp\arduino_build_141657/ST7789_graphicstest.ino.hex:
avrdude: load data flash data from input file C:\Temp\arduino_build_141657/ST7789_graphicstest.ino.hex:
avrdude: input file C:\Temp\arduino_build_141657/ST7789_graphicstest.ino.hex contains 23096 bytes
avrdude: reading on-chip flash data:

Reading | #
avrdude: stk500_paged_load(): (a) protocol error, expect=0x10, resp=0x48
avrdude: stk500_cmd(): programmer is out of sync
avr_read(): error reading address 0x0000
    read operation not supported for memory "flash"
avrdude: failed to read all of flash memory, rc=-2
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x6c

avrdude done.  Thank you.

выбранный последовательный порт 
 не существует или плата не подключена к нему

ua6em
Это USB-UART отвалился в процессе
У ТС другая картина

64 строка - иногда считывало почти до конца

А программатора (типа USBasp) или другой ардуины (любой) нету случаем?

всё есть как жеж не есть )))

нету, а если бы был?

А если бы был, то можно попробовать прошить мк по ISP, если шьется - попробовать “перезалить бутлоадер”.

1 лайк

Все гораздо проще, утановите lib-usb поверх вашего com порта с говнуиной :wink: