Go Down

Topic: Did I fry my ATMEGA? :/ (Read 399 times) previous topic - next topic

thegoodhen

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? :/

SurferTim

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.

thegoodhen

#2
Jan 02, 2013, 12:36 pm Last Edit: Jan 02, 2013, 12:57 pm by thegoodhen Reason: 1

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 ;(

thegoodhen

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

Go Up