Pages: [1]   Go Down
Author Topic: Did I fry my ATMEGA? :/  (Read 378 times)
0 Members and 1 Guest are viewing this topic.
Czech Republic
Offline Offline
Jr. Member
**
Karma: 7
Posts: 91
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey guys... I was using Arduino as ISP to program my atmega32 in system. there was an rgb LED connected to mosi miso and sck. the LED was to be controlled from atmega. Now I can't program my mega. It says invalid device signature even after I disconnect everything. I tried reuploading the arduino as isp sketch to Duino. It uploaded, but no progress whatsoever. I tried avrdude -P COM3 -c avrisp -p m32 to test my mega without uploading anything, but it still says Device signature=0x000000 :/
Is it possible I fried some pins on Duino instead? :/
Logged

Miramar Beach, Florida
Offline Offline
Faraday Member
**
Karma: 147
Posts: 6040
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Is it possible I fried some pins on Duino instead? :/
Yes, that is possible if you were experimenting with the SPI lines. How was the LED connected? Did it have the appropriate current limiting resistors? If not, it may have fried the line drivers.
Logged

Czech Republic
Offline Offline
Jr. Member
**
Karma: 7
Posts: 91
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Is it possible I fried some pins on Duino instead? :/
Yes, that is possible if you were experimenting with the SPI lines. How was the LED connected? Did it have the appropriate current limiting resistors? If not, it may have fried the line drivers.


Well, I built myself an avr developing board. And it has resistors... They might be kinda small, but it has always worked until I connected the led to the SPI lines. :/ it's an rgb led and I wanted it to be bright, so I hooked up the smallest resistor according to some... led resistor calculating thingy. But, well it's some 70 ohms once and 100 ohms twice, but it failed when I connected Duino to it, yet the pins on Arduino are okay. I mean, at only point of time where more than 1 color was on, it was being programmed, sourcing energy from Arduino, pins of which are okay. I am confused. ;(


Edit: the Arduino is okay... But... how could I have fried the atmega32? I don't get it ;(
« Last Edit: January 02, 2013, 06:57:21 am by thegoodhen » Logged

Czech Republic
Offline Offline
Jr. Member
**
Karma: 7
Posts: 91
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I forgot to mention-could it be that I was using ISP pins as output while running the sw with arduino connected to atmega?
Logged

Pages: [1]   Go Up
Jump to: