DEV-15123

I have been trying to get this board to upload code for two weeks now. Every time I try to upload, I get the error message: Arduino: 1.8.10 (Windows 10), Board: “Arduino Uno”

Sketch uses 11380 bytes (35%) of program storage space. Maximum is 32256 bytes.

Global variables use 588 bytes (28%) of dynamic memory, leaving 1460 bytes for local variables. Maximum is 2048 bytes.

avrdude: loadaddr(): (b) protocol error, expect=0x14, resp=0xfc

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”

avrdude: failed to read all of flash memory, rc=-2

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

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

This report would have more information with

“Show verbose output during compilation”

option enabled in File → Preferences.

I have tried everything I can think of to fix the issue. Any help would greatly be appreciated.

Hello amy101,

First, can you verify if you have the correct [CH340 Drivers installed?

Secondly, can you also verify if you tried using several other USB cables?

Thirdly, do you have anything attached to Digital pins 0 & 1 (tx/rx)?](How to Install CH340 Drivers - SparkFun Learn)

I have checked those things, besides the pins but I am not sure how to check those.

Upon further investigation, the code does work. I still get that error code even though my code correctly uploads. I am not sure why.

So the board is functioning with the uploaded code, but you’re still getting the error despite a successful upload?

That is absolutely correct. It has never told me that the upload was successful. It gives me that error code but the code works properly when I check it in the serial monitor. I am not sure why this happens but it is frustrating.

This sounds rather familiar. We’ve had boards using the CH340 USB to Serial IC gives this issue. Usually, it just needs the chip replaced. I’ll PM you for more details.

I am having the same issue:

avrdude: loadaddr(): (b) protocol error, expect=0x14, resp=0xfc

avrdude: loadaddr(): (b) protocol error, expect=0x14, resp=0xfc

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

Is there a fix for this problem?

I have the same issue with my redboard, can you please confirm what the resolution is?