Go Down

Topic: avrdude: error: usbtiny_receive: (expected 4, got -5) (Read 606 times) previous topic - next topic

robinsonn2

I am inexperienced when it comes to using Arduino IDE.  As a result I am using the code provided at the below website. 

https://learn.adafruit.com/trinket-usb-volume-knob/add-a-mute-button

I am utilizing a rotary encoder with an Adafruit Trinket to create a volume control knob for my computer. 


Every time I try to upload the code to the Trinket via Arduino IDE I recieve the below error message:

avrdude: error: usbtiny_receive:  (expected 4, got -5)


Relevant Information:

-  Using Windows 10, 64-Bit
-  Downloaded latest version of Arduino IDE
-  I downloaded the latest drivers for the Trinket via Adafruit's website.
-  Added latest Adafruit AVR Boards package via Boards Manager
-  Tool Settings in Arduino IDE
             -  Board: "Adafruit Trinket (ATtiny85 @16MHz)"
             -  Port:  COM1
             -  Programmer:  "USBtinyISP"


Does anyone have an idea how to resolve this issue?  Any help would be greatly appreciated.

Caitlyn353

#1
Nov 22, 2018, 06:02 am Last Edit: Nov 22, 2018, 06:16 am by Caitlyn353
I am inexperienced when it comes to using Arduino IDE.  As a result I am using the code provided at the below website.  

https://learn.adafruit.com/trinket-usb-volume-knob/add-a-mute-button

I am utilizing a rotary encoder with an Adafruit Trinket to create a volume control knob for my computer.  


Every time I try to upload the code to the Trinket via Arduino IDE I recieve the below error message:

avrdude: error: usbtiny_receive:  (expected 4, got -5)


Relevant Information:

-  Using Windows 10, 64-Bit
-  Downloaded latest version of Arduino IDE
-  I downloaded the latest drivers for the Trinket via Adafruit's website.
-  Added latest Adafruit AVR Boards package via Boards Manager
-  Tool Settings in Arduino IDE
             -  Board: "Adafruit Trinket (ATtiny85 @16MHz)"
             -  Port:  COM1
             -  Programmer:  "USBtinyISP"


Does anyone have an idea how to resolve this issue?  Any help would be greatly appreciated.

I faced the same issue, still facing that, no solution yet. Psiphon


Go Up