At work, on a Ubuntu 14.04 system, I can access my Trinket Pro without any difficulty whatsoever.
At home, using either Linux Mint or Ubuntu across two laptops, I can not communicate with the device no matter what I try.
I have the correct board selected, the correct processor, and trying to use USBTiny ISP.
Currently, I'm getting:
avrdude: ser_open(): can't open device "COM1": No such file or directory
An error occurred while uploading the sketch
It's really getting frustrating having to take my devices to work just to upload a sketch, and I've been banging my head for over a week and a half. My UNO R3 boards work without issue on the same laptops.
Here's what dmesg
says:
[ 863.471315] usb 1-1.1: Product: USBtiny
[ 863.471316] usb 1-1.1: Manufacturer: Adafruit
[ 876.438778] usb 1-1.1: USB disconnect, device number 12
[ 880.921492] usb 2-1: new low-speed USB device number 5 using xhci_hcd
[ 881.092152] usb 2-1: New USB device found, idVendor=1781, idProduct=0c9f
[ 881.092157] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 881.092161] usb 2-1: Product: USBtiny
[ 881.092163] usb 2-1: Manufacturer: Adafruit
[ 1004.305143] usb 2-1: USB disconnect, device number 5
[ 1019.935505] usb 2-1: new low-speed USB device number 6 using xhci_hcd
[ 1020.106524] usb 2-1: New USB device found, idVendor=1781, idProduct=0c9f
[ 1020.106530] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1020.106533] usb 2-1: Product: USBtiny
[ 1020.106536] usb 2-1: Manufacturer: Adafruit
I am running IDE version 1.8.3, with sudo
, the exact same way I'm doing at the office.
Can someone please advise on what I'm missing here? Windows is not an option; I haven't used it in many years. I'd just like to figure out what's wrong.
I do have an FTDI connector, but didn't have much luck with it either, and to be honest, don't want to use it as I just want to plug the Trinket in, and upload.
Update: I've tried both USB2 and USB3 ports repeatedly with the same results.
/dev/ttyS4
and/dev/ttyS5
. Selecting either one produces the same error. Technically, the serial port selection should be irrelevant with USBTiny, at least to my understanding.