USBTinyISP kit from digikey

USB AVR Programmer and SPI interface. Adafruit's USBtinyISP.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
cdan
 
Posts: 4
Joined: Wed Sep 18, 2019 4:39 am

USBTinyISP kit from digikey

Post by cdan »

Hello,
FIRST: Are you using a USBtiny from a kit or from DIY?
Kit, bought from digikey
SECOND: What OS and computer are you using?
MacBook Pro MacOS Mojave and ubuntu linux
THIRD: Which programming software are you using, and what chip?
avrdude and Atmega168
FOURTH: Did the USBtinyISP ever work (even once) or is it your first time trying to talk to a chip
This is the first time.
FIFTH: Post screenshots (NOT copy&paste) of what is happening
Nothing is happening. The green LED is not on and the resonator is not oscillating. I have checked all connections and could not find any bridges etc. I can confirm that there is 5v between pin 10 and 20 of the attiny2313.
SIXTH: Post clear, in-focus, not-blurry, easy to see photos of the top and bottom of the kit. If the photos are blurry, unfocused, and difficult to see they will only make it harder to debug what is going on
See attachments.

Please advise on how to debug further. I do have an oscilloscope, any advice on how to check the resonator is welcomed.

Regards,
Dan
Attachments
20190918_221108.jpg
20190918_221108.jpg (623.63 KiB) Viewed 1957 times
20190918_221027.jpg
20190918_221027.jpg (512.13 KiB) Viewed 1957 times
20190918_220727.jpg
20190918_220727.jpg (556.9 KiB) Viewed 1957 times

User avatar
cdan
 
Posts: 4
Joined: Wed Sep 18, 2019 4:39 am

Re: USBTinyISP kit from digikey

Post by cdan »

Here are some logs from Ubuntu:

Code: Select all

root@cdan-Latitude-E5400:~# tail -f /var/log/kern.log
Sep 19 07:02:18 cdan-Latitude-E5400 kernel: [ 2410.960105] hub 2-0:1.0: Cannot enable port 4.  Maybe the USB cable is bad?
Sep 19 07:02:18 cdan-Latitude-E5400 kernel: [ 2411.018473] ehci-pci 0000:00:1d.7: port 4 reset error -110
Sep 19 07:02:19 cdan-Latitude-E5400 kernel: [ 2411.890526] ehci-pci 0000:00:1d.7: port 4 reset error -110
Sep 19 07:02:20 cdan-Latitude-E5400 kernel: [ 2412.706809] ehci-pci 0000:00:1d.7: port 4 reset error -110
Sep 19 07:02:21 cdan-Latitude-E5400 kernel: [ 2413.522772] ehci-pci 0000:00:1d.7: port 4 reset error -110
Sep 19 07:02:21 cdan-Latitude-E5400 kernel: [ 2414.338555] ehci-pci 0000:00:1d.7: port 4 reset error -110
Sep 19 07:02:22 cdan-Latitude-E5400 kernel: [ 2414.948300] hub 2-0:1.0: Cannot enable port 4.  Maybe the USB cable is bad?
Sep 19 07:02:22 cdan-Latitude-E5400 kernel: [ 2414.948349] hub 2-0:1.0: unable to enumerate USB device on port 4
Sep 19 07:02:22 cdan-Latitude-E5400 kernel: [ 2415.200115] usb 7-2: new low-speed USB device number 7 using uhci_hcd
Sep 19 07:02:22 cdan-Latitude-E5400 kernel: [ 2415.320069] usb 7-2: device descriptor read/64, error -71
Sep 19 07:02:23 cdan-Latitude-E5400 kernel: [ 2415.544209] usb 7-2: device descriptor read/64, error -71
Sep 19 07:02:23 cdan-Latitude-E5400 kernel: [ 2415.760091] usb 7-2: new low-speed USB device number 8 using uhci_hcd
Sep 19 07:02:23 cdan-Latitude-E5400 kernel: [ 2415.884128] usb 7-2: device descriptor read/64, error -71
Sep 19 07:02:23 cdan-Latitude-E5400 kernel: [ 2416.108085] usb 7-2: device descriptor read/64, error -71
Sep 19 07:02:23 cdan-Latitude-E5400 kernel: [ 2416.324122] usb 7-2: new low-speed USB device number 9 using uhci_hcd
Sep 19 07:02:24 cdan-Latitude-E5400 kernel: [ 2416.740065] usb 7-2: device not accepting address 9, error -71
Sep 19 07:02:24 cdan-Latitude-E5400 kernel: [ 2416.852111] usb 7-2: new low-speed USB device number 10 using uhci_hcd
Sep 19 07:02:24 cdan-Latitude-E5400 kernel: [ 2417.268138] usb 7-2: device not accepting address 10, error -71
Sep 19 07:02:24 cdan-Latitude-E5400 kernel: [ 2417.268238] hub 7-0:1.0: unable to enumerate USB device on port 2
I have tried to connect it on all 4 USB ports and the result is the same.

User avatar
cdan
 
Posts: 4
Joined: Wed Sep 18, 2019 4:39 am

Re: USBTinyISP kit from digikey

Post by cdan »

DIgikey has sent me another microcontroller. I have swapped the old one with the new one and everything works as expected.

Problem solved.

Locked
Please be positive and constructive with your questions and comments.

Return to “USBtinyISP”