Redboard Qwiic Error when Uploading Sketch that Does Not Effect Performance

Hi,

I am using a Sparkfun Redboard Qwiic, and whenever I upload a sketch, this error shows up:

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

It seems to work fine afterwards. I can open the serial monitor and it shows me the data that I want to see. Nevertheless, I am wondering, if there is a chance to solve this problem, as I am using this for a class I am teaching. With some microcontrollers this error shows up, with some it does not. I did not figure out yet, if it was a windows or a mac problem.

Thanks for the help.

Patrick

Can you send pictures of your Arduino settings (port and board selection)? Can you also send a picture of your setup?

The “stk_500” is a typical connection issue; the computer is having a problem connecting to the board.

It usually indicates a driver issue, a USB cable issue, or a serial (COM) port issue (like trying to program a board while something is accessing the serial port to the board or the wrong COM port is selected). However, it sounds like your board is working fine… since you are able to program it.

Typical troubleshooting steps are:

-unplugging and plugging the board back in

-checking the device manager (or list) to verify the board is recognized