Did I fry my atmega?

I was stupid enough to power my UNO with a 60W laptop charger while running a servo+ping sensor program. Instantly everything stopped, and there was a weird smell. I thought I fried the LM7805 voltage regulator because it looked kinda weird. Luckily I had another UNO and I swapped the current atmega of the "fried" UNO with the good one and inserted it in the "fried board". This atmega had the blink program uploaded, and it ran fine in the "fried" board. However, I can't seem to upload any program to this "fried" board, the Arduino IDE says "Not connected. Select a board and port to connect automatically".
I put the atmega from the "fried" UNO in the working one, and it keep giving the error " avrdude: stk500_recv(): programmer is not responding". I tried the loop-back test and I am echoed back what I sent in the serial monitor, so that seems to work.
Is my atmega damaged or bricked? If not how do I fix it?

Windows 10
Arduino IDE 2.2.1

Welcome to the forum

The wattage of the charger does not matter but its voltage does. What is the output voltage of the charger and how exactly did you connect it to the Uno ?

The charger is 19.5V

I assume that you plugged it into the barrel jack

Yes that's the one! I didn't know what it was called :slight_smile:

I would suggest getting another Arduino (the board is fried but not all the components) and a proper power supply or a buck converter to convert the voltage to somewhere about 8 volts before connecting to the Arduino. Measure the voltage before connecting.

I have another fully working arduino... Does that mean the atmega chip from the fried board is bricked ?

Not necessary there are several parts on that board that could cause it to fail, it is not positively the processor. You probably fried the power supply section and or the serial section.

But whenever I put the atmega from the fried board to a good board, I keep getting the error "avrdude:programmer is not responding".
I know the board is good because it works fine with the other atmega.

I have a feeling the atmega from the "fried" board is toast.