USBtinyISP not Enumerating

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
dspmathguru
 
Posts: 4
Joined: Tue Apr 20, 2010 12:15 am

USBtinyISP not Enumerating

Post by dspmathguru »

I just finished soldering the USBtinyISP kit that I got directly from adafruit. It didn't come up? I have quite a bit of experience with board bringup, etc. These are the symptoms:
  • No green LED on.
  • 5V power is going to pin 20 of ATtiny2313
  • GND is connected to ATtiny2313
  • 12MHz crystal is not oscillating when checked with an oscilloscope
  • Zener diode D1 is at 1.4VDC and D2 is at 2.69V DC measured across the diode (GND to USB pin/diode cathode
  • Took out ATtiny and reseated, but still save response
  • lsusb on Linux does not show device in list
  • No visible solder bridges and I do not see any cold solder joints
Any advice? I would have expected to see the crystal oscillating. I would guess this would oscillate even if the USBtiny is programmed incorrectly, correct?

Thanx in advance.

User avatar
russell 27
 
Posts: 242
Joined: Thu Sep 12, 2013 3:59 pm

Re: USBtinyISP not Enumerating

Post by russell 27 »

Could you post a HI-RES photo of PCB, both sides. Depending on the scope and leads, lead impedance would stop resonator from oscillating. If no green LED, could be resonator, or another connection.

dspmathguru
 
Posts: 4
Joined: Tue Apr 20, 2010 12:15 am

Re: USBtinyISP not Enumerating

Post by dspmathguru »

What impedance probe should I use to see the crystal resonate?

Please see attached pictures. There is a 1MB file limit, so I had to reduce the image quality.

Thank you for your advice.
Attachments
USBtinyISP Front
USBtinyISP Front
IMG_0549.jpg (690.33 KiB) Viewed 2673 times
USBtinyISP Back
USBtinyISP Back
IMG_0548.jpg (731.84 KiB) Viewed 2673 times
Tek P6139A probe
Tek P6139A probe
IMG_0547.jpg (844.4 KiB) Viewed 2673 times

User avatar
russell 27
 
Posts: 242
Joined: Thu Sep 12, 2013 3:59 pm

Re: USBtinyISP not Enumerating

Post by russell 27 »

I have a couple different versions of this programmer, used them on both Windows and Mac OS, never Linux. Do you have a driver for linux? If you could try it on a Windows or Mac machine to verify, this may be your issue. Usually passive scope leads load a crystal or resonator and stop Oscillation. Have you had success reading a crystal/resonator directly in the past with this probe. I usually place the crystal in a pierce oscillator circuit, once buffered it's easy to test. Your build appears good. Maybe try a different OS first.

dspmathguru
 
Posts: 4
Joined: Tue Apr 20, 2010 12:15 am

Re: USBtinyISP not Enumerating

Post by dspmathguru »

I do not have a Windows box, but I did try on Mac OSX (Sierra). Note the Green LED is not turning on (and it is in the correct way, I actually pulled out the old one and put in a new one to test.)

I'm not sure, but I do not think the Green LED comes on until some things run on the USBtinyISP. (This is my first build, so do not have any experience with it.)

Is there any pin on the ATtiny that moves around in normal operation? I can then measure that as well.

User avatar
russell 27
 
Posts: 242
Joined: Thu Sep 12, 2013 3:59 pm

Re: USBtinyISP not Enumerating

Post by russell 27 »

As soon as I plug my programmer in green power led turns on. I haven't plugged into a machine without all the tools and or drivers installed in some time. According to trouble shooting guide, some macs would not communicate until communication with avrdude. If you have another programmer you can check attiny 2313, for flash and fuse settings.

dspmathguru
 
Posts: 4
Joined: Tue Apr 20, 2010 12:15 am

Re: USBtinyISP not Enumerating

Post by dspmathguru »

Good suggestion. I'll try your idea out shortly.

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

Re: USBtinyISP not Enumerating

Post by cdan »

Hi dspmathguru,
did you ever manage to make it work? I have the same issue.

Regards,
Dan

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

Return to “USBtinyISP”