EEVblog Electronics Community Forum
Products => Computers => Programming => Topic started by: foxhole99 on March 10, 2020, 02:56:53 pm
-
I have an ATMEGA328P U that I messed up the programing for. I wanted to get the default firmware on it. Is there a download to a .bin file that I can use my TL866II Plus to reprogram it? I'm new to this so I'm not sure if that's what I need. I used an Arduino Uno, I have that chip on the board but I can't upload any sketches to it.
Edit. before I started messing with it I did do a backup. or thought I did a backup of the chip. I tried to reload the "backup" but nothing seems to be working.
-
If the chip is from an arduino uno board or compatible, it has a bootloader called optiboot that can be reprogrammed using another arduino or an avr programmer. If by default you mean the arduino sketch, originally only has a sketch that does some sort of self test and blink the onboard LED.
-
I have an ATMEGA328P U that I messed up the programing for. I wanted to get the default firmware on it. Is there a download to a .bin file that I can use my TL866II Plus to reprogram it? I'm new to this so I'm not sure if that's what I need. I used an Arduino Uno, I have that chip on the board but I can't upload any sketches to it.
Edit. before I started messing with it I did do a backup. or thought I did a backup of the chip. I tried to reload the "backup" but nothing seems to be working.
Could be a number of things. I would suggest that you consider reprogramming the fuses since you have a TL866II which can do HVPP - right?
https://www.youtube.com/watch?v=UuHpA8OjblE (https://www.youtube.com/watch?v=UuHpA8OjblE)
LOTS of info when you search for Bricked Arduino.
Hope this helps.
-
I do have the programmer. Let me do some searching
-
The UNO bootloader is distributed with the Arduino IDE. You can find under the Arduino installation folder (directory). The firmware has the .hex extension, and you need to google also for the right fuses to set and also the protection fuses to avoid erasing the bootloader in the future.