# DEV-15123

**URL:** <https://community.sparkfun.com/t/dev-15123/39020>\
**Category:** Arduino\
**Created:** [February 26, 2020, 1:00am UTC](https://community.sparkfun.com/t/dev-15123/39020 "2020-02-26T01:00:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![amy101](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@amy101](https://community.sparkfun.com/u/amy101)\
**Post date:** [February 26, 2020, 1:00am UTC](https://community.sparkfun.com/t/dev-15123/39020/1 "2020-02-26T01:00:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![TS-Brandon](https://avatars.discourse-cdn.com/v4/letter/t/cc9497/32.png) [@TS-Brandon](https://community.sparkfun.com/u/TS-Brandon)\
**Post date:** [February 26, 2020, 4:53pm UTC](https://community.sparkfun.com/t/dev-15123/39020/2 "2020-02-26T16:53:17Z")

</div>

Hello amy101,

First, can you verify if you have the correct [[CH340 Drivers](https://learn.sparkfun.com/tutorials/how-to-install-ch340-drivers?_ga=2.214553106.407553103.1582559371-2114068872.1578439588) 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](https://learn.sparkfun.com/tutorials/how-to-install-ch340-drivers?_ga=2.214553106.407553103.1582559371-2114068872.1578439588))

---

<div class="post-metadata">

**Author:** ![amy101](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@amy101](https://community.sparkfun.com/u/amy101)\
**Post date:** [February 27, 2020, 3:26am UTC](https://community.sparkfun.com/t/dev-15123/39020/3 "2020-02-27T03:26:29Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![TS-Brandon](https://avatars.discourse-cdn.com/v4/letter/t/cc9497/32.png) [@TS-Brandon](https://community.sparkfun.com/u/TS-Brandon)\
**Post date:** [February 27, 2020, 5:47pm UTC](https://community.sparkfun.com/t/dev-15123/39020/4 "2020-02-27T17:47:53Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![amy101](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@amy101](https://community.sparkfun.com/u/amy101)\
**Post date:** [February 28, 2020, 1:46am UTC](https://community.sparkfun.com/t/dev-15123/39020/5 "2020-02-28T01:46:57Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![TS-Brandon](https://avatars.discourse-cdn.com/v4/letter/t/cc9497/32.png) [@TS-Brandon](https://community.sparkfun.com/u/TS-Brandon)\
**Post date:** [February 28, 2020, 4:33pm UTC](https://community.sparkfun.com/t/dev-15123/39020/6 "2020-02-28T16:33:52Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Ray\_Michael](https://avatars.discourse-cdn.com/v4/letter/r/f08c70/32.png) [@Ray\_Michael](https://community.sparkfun.com/u/Ray_Michael)\
**Post date:** [March 22, 2020, 6:13am UTC](https://community.sparkfun.com/t/dev-15123/39020/7 "2020-03-22T06:13:21Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Ray\_Michael](https://avatars.discourse-cdn.com/v4/letter/r/f08c70/32.png) [@Ray\_Michael](https://community.sparkfun.com/u/Ray_Michael)\
**Post date:** [March 22, 2020, 8:22am UTC](https://community.sparkfun.com/t/dev-15123/39020/8 "2020-03-22T08:22:29Z")

</div>

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