Author Topic: ATMEGA328P U defult firmware  (Read 2526 times)

0 Members and 1 Guest are viewing this topic.

Offline foxhole99Topic starter

  • Newbie
  • Posts: 2
  • Country: us
ATMEGA328P U defult firmware
« 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.
« Last Edit: March 10, 2020, 02:58:37 pm by foxhole99 »
 

Offline TK

  • Super Contributor
  • ***
  • Posts: 1724
  • Country: us
  • I am a Systems Analyst who plays with Electronics
Re: ATMEGA328P U defult firmware
« Reply #1 on: March 10, 2020, 03:06:15 pm »
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.
 

Offline DrG

  • Super Contributor
  • ***
  • !
  • Posts: 1199
  • Country: us
Re: ATMEGA328P U defult firmware
« Reply #2 on: March 10, 2020, 06:41:20 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.

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?



LOTS of info when you search for Bricked Arduino.

Hope this helps.
- Invest in science - it pays big dividends. -
 

Offline foxhole99Topic starter

  • Newbie
  • Posts: 2
  • Country: us
Re: ATMEGA328P U defult firmware
« Reply #3 on: March 10, 2020, 08:19:55 pm »
I do have the programmer. Let me do some searching
 

Offline TK

  • Super Contributor
  • ***
  • Posts: 1724
  • Country: us
  • I am a Systems Analyst who plays with Electronics
Re: ATMEGA328P U defult firmware
« Reply #4 on: March 10, 2020, 09:19:28 pm »
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.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf