Is atmega damaged or not?

When I connect my Atmega16 with USBASP using the method told at :-
http://mikrotechnica.wordpress.com/2012/01/15/programming-atmega16a-with-usbasp/
But when I connect USBASP to my PC and then attach Atmega16 to it the red light(In my case) it becomes dim and USBASP is not recognized. And when I try to connect USBASP already connected with Atmega16 my PC shows USB device is not recognized. I also checked my every connection ten times they were right.So my question is that my Atmega is damaged or my burner or both or something else is going wrong? And also when I connect wrong pin of Atmega with USBASP the light is normal but when right pin is connected the light becomes dim.

Any help will be highly appreciated

When lights become dim, that's an indication of too much current draw from the usbasp programmer. Sure looks like the chip is bad or you have a short somewhere in your circuit. Do you have another known good atmega to test with?

hiduino:
When lights become dim, that's an indication of too much current draw from the usbasp programmer. Sure looks like the chip is bad or you have a short somewhere in your circuit. Do you have another known good atmega to test with?

Unfortunately No.

Try connecting just the +5V and GND.

Atmega backwards? That could certainly cause high current usage.

Plugging the 328 chip in backwards surprisingly does not cause damage or cause high current draw.
If you look at where power & gnd end up, turns out to be benign. Luckily! I have done this a couple times myself.

Wow that is really lucky. I accidentally inserted an SRAM chip backwards and the PTC on the Arduino triggered and the voltage sagged to ~1V.

Amazingly the chip survived thanks to the fuse.