0

USBtinyISP not Enumerating
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

USBtinyISP not Enumerating

by dspmathguru on Fri Apr 21, 2017 3:30 pm

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.

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

Re: USBtinyISP not Enumerating

by Russell 27 on Sun Apr 23, 2017 10:33 am

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.
Russell 27
 
Posts: 217
Joined: Thu Sep 12, 2013 3:59 pm

Re: USBtinyISP not Enumerating

by dspmathguru on Sun Apr 23, 2017 5:27 pm

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
IMG_0549.jpg
USBtinyISP Front
IMG_0549.jpg (690.33 KiB) Viewed 264 times
IMG_0548.jpg
USBtinyISP Back
IMG_0548.jpg (731.84 KiB) Viewed 264 times
IMG_0547.jpg
Tek P6139A probe
IMG_0547.jpg (844.4 KiB) Viewed 264 times

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

Re: USBtinyISP not Enumerating

by Russell 27 on Sun Apr 23, 2017 7:32 pm

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.
Russell 27
 
Posts: 217
Joined: Thu Sep 12, 2013 3:59 pm

Re: USBtinyISP not Enumerating

by dspmathguru on Sun Apr 23, 2017 9:56 pm

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.

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

Re: USBtinyISP not Enumerating

by Russell 27 on Sun Apr 23, 2017 10:31 pm

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.
Russell 27
 
Posts: 217
Joined: Thu Sep 12, 2013 3:59 pm

Re: USBtinyISP not Enumerating

by dspmathguru on Sun Apr 23, 2017 11:10 pm

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

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

Please be positive and constructive with your questions and comments.