Problem uploading - avrdude errors

I have been using an FTDI chip and an Arduino Pro Mini 328P 16Mhz 5v for a while now. I have 4 of the Pro Minis and I have 4 of the FTDI chips. I have been working on a sketch for over a week. I have been uploading and changing sketches with no issue.

Suddenly tonight, for some reason, I started getting this error:

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

Sketch uses 2,186 bytes (7%) of program storage space. Maximum is 30,720 bytes.
Global variables use 252 bytes (12%) of dynamic memory, leaving 1,796 bytes for local variables. Maximum is 2,048 bytes.

avrdude: stk500_paged_load(): (a) protocol error, expect=0x14, resp=0xff
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=0xff
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

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

I have tried just about every combination of FTDI chip to Pro Mini. I will get one to start programming, and then that combination will start getting this same error.

I saw the comment about "This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences." so I turned it on and tried again. I will post that next.

I am stuck. What could be causing this?

Here is the more information:

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

{......file information removed for space..........}

Sketch uses 2,186 bytes (7%) of program storage space. Maximum is 30,720 bytes.
Global variables use 252 bytes (12%) of dynamic memory, leaving 1,796 bytes for local variables. Maximum is 2,048 bytes.
C:\Users\admn\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9/bin/avrdude -CC:\Users\admn\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9/etc/avrdude.conf -v -patmega328p -carduino -PCOM6 -b57600 -D -Uflash:w:C:\Users\admn\AppData\Local\Temp\build78f78a6232a4893264ba9c993ef764ca.tmp/BackLedTiming.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\admn\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9/etc/avrdude.conf"

         Using Port                    : COM6
         Using Programmer              : arduino
         Overriding Baud Rate          : 57600
         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: 2
         Firmware Version: 1.16
         Vtarget         : 0.0 V
         Varef           : 0.0 V
         Oscillator      : Off
         SCK period      : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: reading input file "C:\Users\admn\AppData\Local\Temp\build78f78a6232a4893264ba9c993ef764ca.tmp/BackLedTiming.ino.hex"
avrdude: writing flash (2186 bytes):

Writing | ################################################## | 100% 1.14s

avrdude: 2186 bytes of flash written
avrdude: verifying flash memory against C:\Users\admn\AppData\Local\Temp\build78f78a6232a4893264ba9c993ef764ca.tmp/BackLedTiming.ino.hex:
avrdude: load data flash data from input file C:\Users\admn\AppData\Local\Temp\build78f78a6232a4893264ba9c993ef764ca.tmp/BackLedTiming.ino.hex:
avrdude: input file C:\Users\admn\AppData\Local\Temp\build78f78a6232a4893264ba9c993ef764ca.tmp/BackLedTiming.ino.hex contains 2186 bytes
avrdude: reading on-chip flash data:

Reading | ###############################################
avrdude: stk500_paged_load(): (a) protocol error, expect=0x14, resp=0xff
### | 100% 0.97s

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

Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
avrdude done.  Thank you.

Maybe a little late now , but I managed to get arid of this error , by using an USB 2 port instead of a USB 3 port

Regards

1 Like