The green LED is not lighting up when plugged in, but it appears my computer can communicate with the USBTiny because sending avrdude -c usbtiny -p m8 causes the red LED to light up once and the expected result is printed on the command line: initialization failed rc=-1.
I have also tried programming a 168PA-PU, but got an initialization failed rc=-1 error, but I am unsure if the lack of a green light is the cause.
Images of the USBTiny attached.
EDIT: I should add that I have tested the green LED and it works.
Green LED not lit, but can still talk
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 5
- Joined: Sun Jun 08, 2014 1:08 am
Green LED not lit, but can still talk
- Attachments
-
- Front 1
- IMAG0512.jpg (762.91 KiB) Viewed 934 times
-
- Front 2
- IMAG0511.jpg (781.1 KiB) Viewed 934 times
-
- Back
- IMAG0510.jpg (658.07 KiB) Viewed 934 times
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Green LED not lit, but can still talk
Looks like you forgot to install R4.
-
- Posts: 5
- Joined: Sun Jun 08, 2014 1:08 am
Re: Green LED not lit, but can still talk
Update: Was checking the path that lights the LED and Pin 9 on the ATTiny is only outputting 1 V--is that right?
Thanks for the response. I added R4, but still no light.
Images attached.
Thanks for the response. I added R4, but still no light.
Images attached.
- Attachments
-
- Back
- IMAG0514.jpg (512.02 KiB) Viewed 916 times
-
- Front
- IMAG0513.jpg (766.1 KiB) Viewed 916 times
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Green LED not lit, but can still talk
The red LED will only light while programming is happening. What's going on with avrdude now that you have R4 installed?
-
- Posts: 5
- Joined: Sun Jun 08, 2014 1:08 am
Re: Green LED not lit, but can still talk
Same behavior as before:
avrdude -c usbtiny -p m8 causes the red LED to light up once and the expected result is printed on the command line: initialization failed rc=-1.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Green LED not lit, but can still talk
OK. In that case, there's something wrong with your target. Make sure you have the right orientation on the cable to the target. Make sure the target has power, and make sure the target has a clock source - either it has an external crystal or it's configured o use an internal clock
-
- Posts: 5
- Joined: Sun Jun 08, 2014 1:08 am
Re: Green LED not lit, but can still talk
Thanks for your reply.
I don't see how the target would effect my green LED not lighting up though. My two current problems:
1. Power-on green LED not working.
2. avrdude is returning an rc=-1 error with a 168PA-PU as my target.
Regarding (1) I have found:
* The path from Pin 9 to LED2 is OK, tested with my multimeter.
Regarding (2) I have found:
* I am measuring very little voltage on VCC on my ten-pin connector
I don't see how the target would effect my green LED not lighting up though. My two current problems:
1. Power-on green LED not working.
2. avrdude is returning an rc=-1 error with a 168PA-PU as my target.
Regarding (1) I have found:
* The path from Pin 9 to LED2 is OK, tested with my multimeter.
Regarding (2) I have found:
* I am measuring very little voltage on VCC on my ten-pin connector
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Green LED not lit, but can still talk
What voltage are you seeing at Pin 9?cacciatc wrote:Regarding (1) I have found:
* The path from Pin 9 to LED2 is OK, tested with my multimeter.
Are you sure you have LED2 installed the right way around?
What voltage are you seeing at LED2?
You're looking at Pin 2 of the connector?cacciatc wrote:Regarding (2) I have found:
* I am measuring very little voltage on VCC on my ten-pin connector
You have the USB PWR jumper installed?
What voltage do you see at the USB PWR jumper?
Do you have a different USB cable you can try? Also a different USB port on your computer?
-
- Posts: 5
- Joined: Sun Jun 08, 2014 1:08 am
Re: Green LED not lit, but can still talk
(1)
What voltage are you seeing at Pin 9?
5V
Are you sure you have LED2 installed the right way around?
Yes, I can light the LED by applying current and the leads are in correctly.
What voltage are you seeing at LED2?
0v
(2) You have the USB PWR jumper installed?
Nope, you called it! I am now getting the expected response from avrdude:
What voltage are you seeing at Pin 9?
5V
Are you sure you have LED2 installed the right way around?
Yes, I can light the LED by applying current and the leads are in correctly.
What voltage are you seeing at LED2?
0v
(2) You have the USB PWR jumper installed?
Nope, you called it! I am now getting the expected response from avrdude:
Code: Select all
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude.exe: Device signature = 0x1e940b
avrdude.exe: Expected signature for ATMEGA168 is 1E 94 06
Double check chip, or use -F to override this check.
avrdude.exe done. Thank you.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Green LED not lit, but can still talk
Cool! Let us know if you have any more trouble!cacciatc wrote:I am now getting the expected response from avrdude:
Please be positive and constructive with your questions and comments.