Cannot connect to microcontroller in Atmel Studio

SpokePOV kit for bikes

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
awilder1015
 
Posts: 12
Joined: Mon Feb 11, 2013 3:10 pm

Cannot connect to microcontroller in Atmel Studio

Post by awilder1015 »

I'm taking a class on embedded microcontrollers, and I wanted to look at the program on the ATtiny2313 in Atmel Studio 6.0 to get a better idea of how it works, and perhaps make something similar to it for a class project.

When I connect the programming cable, and try to connect in the Device Programming menu, I get an error message that states "Read voltage 0.0V is outside selected device's operating range: 1.8 V to 5.5 V." I tried programming with the batteries in and with the batteries out, both gave me that same error message. I'm using Atmel's AVR programmer, if that makes any difference. I haven't tried putting any images in it, but the sample pre-programmed images appear to be working fine.

Does anyone know why this happens? If it cannot be fixed, Could someone email me the code on the microcontroller so I can see how it works?

Thanks

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Cannot connect to microcontroller in Atmel Studio

Post by adafruit_support_rick »

Check that you have the right pinout on your programming cable. The SpokePOV has the standard 6-pin ICSP pinout. Sounds like maybe you have you cable in backwards?
What kind of programmer are you using? Are you sure you can even read back the contents of flash on the chip?

The source code for the SpokePOV is linked to on the SpokePOV project page. The hex file is also there - if you want to look at the raw machine code, it's probably easier to just look at that than to try to pull it off the chip.

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

Return to “SpokePOV (discontinued)”