AVR PROGRAMMER PROBLEM/ OR ATMEGA 328 PROBLEM!!!

Hi all. I have been repeatedly trying to get my atmega328 hooked up to a computer properly.

I am using Ubuntu Desktop Remix 9.10 and a Windows Vista on 2 seperate computers.

I had to plug a usb hub in for the tinyusb to be recognised.

On Linux:

~/Desktop$ avrdude -c usbtiny -p atmega328p -F

avrdude: initialization failed, rc=-1

avrdude: AVR device initialized and ready to accept instructions

avrdude: Device signature = 0x000000

avrdude: Yikes! Invalid device signature.

avrdude: Expected signature for ATMEGA328P is 1E 95 0F

avrdude done. Thank you.

I have looked at the product page of the Pocket AVR Programmer, and have tried a couple of troubleshooting methods, such as putting a udev rule suggested by ladyada, but none of them really worked well for me. I highly doubt it is the wiring as I have checked and checked many times.

Suspecting that it might be the atmega328 that is faulty, I tried doing the same thing using WinAVR on Vista. I had to install a driver before it was detected. However, I got identical error messages as seen from above.

Thanks in advance.

PS: This is a report from ladyada forums

Its likely your circuit surrounding the device is faulty - signature of 0x0 means that the programmer works, but can’t chat to the processor.

theatrus:
Its likely your circuit surrounding the device is faulty - signature of 0x0 means that the programmer works, but can’t chat to the processor.

Can you elaborate more? Thanks

Does this also mean that the microcontroller is functioning?

I seriously think my atmega328 is spoilt. A day ago I wired wrongly, causing the chip to heat up. I turned off the power immediately. Any way to determine whether the problem lies with the IC?

Um, it sounds like your micro is toast - by your own admission it heated up due to incorrect wiring. Try replacing it…

Thats sad:( In that case, does that mean if I replace the microcontroller it should work? Anyway thanks a ton.