I have recently purchased the SIK 4.1a and downloaded the ch340 driver. Sketches appear to upload to the RedBoard and run correctly, but I get an error message at the end of each upload attempt. I suspect that I need to change the Programmer setting under Tools, but can’t find what it should be changed to. Any advice will be appreciated. Thanks!
I tried changing the Programmer Setting under Tools to USBtinyISP, which is the one that shows in Rob Reynolds’s video on getting the ch340 driver (he doesn’t say anything about what Programmer setting to use), but that still doesn’t work. What is the appropriate Programmer setting? The sketches compile ok; it’s just the uploading that causes the error message.
Additional information: The error message that I get is:
Arduino: 1.8.13 (Windows Store 1.8.39.0) (Windows 10), Board: “Arduino Uno”
Sketch uses 932 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
avrdude: loadaddr(): (b) protocol error, expect=0x14, resp=0xfc
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
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_recv(): programmer is not responding
the selected serial port avrdude: stk500_recv(): programmer is not responding
does not exist or your board is not connected
This report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.
You don’t actually need to do anything with the programmer, that’s only used when you have a separate piece of hardware (a physical hardware programmer) connected to your board to do the programming.
The symptoms your describing sound like a bad or failing CH340 chip. If you purchased your kit off the SparkFun website, fill in the form on [this page and put the URL for this forum post in the “Why do you want a RMA” section and we will get you taken care of.
If you got your kit elsewhere, just let them know your board has this issue and they should be able to help you get it replaced. :-)](Return Policy - SparkFun Electronics)