I am having difficulty programming the Feather 328p using the Arduino IDE in both Ubuntu 18.04 and 20.04 on two different PCs.
Code: Select all
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x00
The feather 328p hardware works to the extent that I can upload blink sketches from a windows computer, and I can read serial port prints on my Ubuntu machines at /dev/ttyUSB0. I have been able to upload sketches from Ubuntu at the ttyUSB0 port by manually pressing the 328p reset button during the upload phase. However this is unreliable and not sustainable.
Perhaps some timing issue with the CP2104 reset toggle? I also notice that the RX/TX indicator LEDs do not illuminate during programming or basic console prints.
Thank you for any advice. I've seen a number of threads with this issue and all seemed to be resolved by finding another serial port device (in OSX), replacing the unit, or suffering with toggling the reset button for each program.