Go Down

Topic: Atmega328p SMD Chip, Reset Disabled. I need to recover (Read 214 times) previous topic - next topic

Thamil2700

Hi, I have done a project with Atmega328. I have disabled the reset pin to use reset as IO, I need to change the firmware inside the chip now.

What is the way to unbrick it?

How can i unbrick my chip without removing it from the board? Because its soldered in the pcb.

Please help me

srnet

I found this;

https://forum.arduino.cc/index.php?topic=446414.0

Probably easier to remove the Atmega328 and replace it.
$50SAT is now Silent (but probably still running)
http://www.50dollarsat.info/
http://www.loratracker.uk/

DrAzzy

You either replace the chip, or use/build an HVSP (either a full on programmer, or more likely just the "fuse doctor" that sets fuses to make reset work again for reprogramming).

This is also a lesson - disabling reset makes your life much harder later on when (not if) you need to change the firmware. Try to avoid having to do that.

It sounds like you designed your own PCB. In that case, why didn't you use the ATmega328pb? It's supported in Arduino (via MiniCore), has 4 extra GPIO pins (A6/A7 are full fledged pins, not analog only, and it adds 2 more pins where a pair of power pins were), plus some other neat stuff like a second UART, I2C, and SPI interface. And it's got 2 more 16-bit timers too. The '328pb is basically what you'd get if you asked one of the experienced people around here what features they wished the '328p had.
ATtiny core for 841+1634+828 and x313/x4/x5/x61/x7/x8 series Board Manager:
http://drazzy.com/package_drazzy.com_index.json
ATtiny breakouts (some assembled), mosfets and awesome prototyping board in my store http://tindie.com/stores/DrAzzy

Go Up