Error in burning bootloader to Atmega328P || NEED HELP!!!

  • i brought an ATmega328P MCU with arduino bootloader.And programmed it few times. Worked without any error. But, once i tried to upload a program to it, it won't upload. and i checked the blinking of 13 rd pin won't blinking when reset. So, i thought bootloader is missing and tried to upload bootloader. But get some error. Help please. Error message given below

    Arduino: 1.8.12 (Linux), Board: "Arduino Uno"
    /snap/arduino/7/hardware/tools/avr/bin/avrdude -C/snap/arduino/7/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -cstk500v1 -P/dev/ttyACM0 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xDE:m -Ulfuse:w:0xFF:m 
    avrdude: Version 6.3-20190619
             Copyright (c) 2000-2005 Brian Dean,
             Copyright (c) 2007-2014 Joerg Wunsch
             System wide configuration file is "/snap/arduino/7/hardware/tools/avr/etc/avrdude.conf"
             User configuration file is "/home/shahid/snap/arduino/7/.avrduderc"
             User configuration file does not exist or is not a regular file, skipping
             Using Port                    : /dev/ttyACM0
             Using Programmer              : stk500v1
             Overriding Baud Rate          : 19200
             AVR Part                      : ATmega328P
             Chip Erase delay              : 9000 us
             PAGEL                         : PD7
             BS2                           : PC2
             RESET disposition             : dedicated
             RETRY pulse                   : SCK
             serial program mode           : yes
             parallel program mode         : yes
             Timeout                       : 200
             StabDelay                     : 100
             CmdexeDelay                   : 25
             SyncLoops                     : 32
             ByteDelay                     : 0
             PollIndex                     : 3
             PollValue                     : 0x53
             Memory Detail                 :
                                      Block Poll               Page                       Polled
               Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
               ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
               eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
               flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
               lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
               signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
             Programmer Type : STK500
             Description     : Atmel STK500 Version 1.x firmware
             Hardware Version: 2
             Firmware Version: 1.18
             Topcard         : Unknown
             Vtarget         : 0.0 V
             Varef           : 0.0 V
             Oscillator      : Off
             SCK period      : 0.1 us
    avrdude: AVR device initialized and ready to accept instructions
    Reading | Error while burning bootloader.
    ################################################## | 100% 0.02s
    avrdude: Device signature = 0x00ff00
    avrdude: Expected signature for ATmega328P is 1E 95 0F
             Double check chip, or use -F to override this check.
    avrdude done.  Thank you.

    when i connect an external supply during bootloader burning the device signature shows as 0x00ff00. and when i connect power to ic from arduino uno 5v pin the device signature is 0x000000๐Ÿ˜• ๐Ÿ˜• ๐Ÿ˜•

  • @shahidpk
    In simple way to say your Atmega328p is damaged somehow don't know what happened exactly but you know what's last thing you have done with it...
    If you have external USBASP programmer then use sinaprog software and ARDUINO ISP programming.. use this software and just check wether it indentify your atmega328p or not...if not then surely you damaged it...
    Also first thing to check is disconnect your atmega328p from Arduino and join the RX TX pins by jumper and open serial monitor and type anything and you will echo back what you have typed.. if yes then sure your atmega328p is damaged if no then your serial is crashed but may be your mcu is working but uno can't program by serial pins...

    If you might think that reset is no happened then check reset pin by manually resetting by gnd to reset jumper willingly to do repeated might seem 13 led blinks if not then sure mcu is damaged...

    One another thing or you can say tweak is to renew your mcu by luck of chance doing this...

    Use breadboard..
    Remove your atmega328p from board
    Give a 16Mhz crystal externally
    Connect external reset capacitor and resistor with reset circuit..
    Give VCC and ground...
    Connect reset properly..
    If you have usb external programmer then connect it with ISP pins to atmega328p and now check it whether it identify it or not...
    You can use uno board also with direct RX TX pins + reset pin + external crystal may you try it..

    If all fails go to market and buy new atmega328p or UNO

  • @shahidpk
    Also if may possible that you change the programmer type.. just check it correctly configured or not..
    I forget to say this..

  • @manthan555 Thanks

Log in to reply

Recent Posts

  • WhatsApp Image 2020-09-26 at 9.28.51 PM.jpeg

    Hey guys, we are thrilled to announce the speaker Mr. Brian Douglas for our upcoming event organised by HackClub TIST as part of Hacktoberfest 2020. He will guide you through GitHub and the importance of Open Source contributions.

    Mr. Brian Douglas has been working as a Staff Developer Advocate at GitHub for the past three years and was fully on-board with us when we contacted him about the event.

    We at Hackclub TIST strongly believe in the power of collaboration and how even the smallest guidance can have a huge impact in the long run.

    So register now at and lets git learning (pun intended).

    Friday October 2, 2020
    7:00 pm -9:30 pm IST

    read more
  • P

    @Anudeep Thanks a lot m8, I actually made a very silly mistake of including the https:// while entering FIREBASE_HOST, where I must have entered the Domain name alone and removed the https:// extension.

    Thanks again for replying that quick. Cheers.

    read more
  • A

    Hello @Palani, In the Firebase, there are two types of storage,

    Cloud Firestore (Very recent one & NoSQL database) Realtime Database (To which we upload the data using NodeMCU)

    In the Arduino Code, you can see that there is a variable named FIREBASE_AUTH.

    This variable should be assigned to the Database secret. This you can find in Project Settings -> Service accounts -> Database Secrets.

    My mistake is, i have mistakenly assigned thay to Web API key. This is found at Project Settings -> General.

    The error can also occur when u don't initialise a proper realtime database in Firebase. (This is not my case).

    read more
  • P

    @Anudeep Hello Anudeep could you please help me out by elaborating the fix to get rid of that error?
    Thanks in advance.

    read more
  • At Adobe, weโ€™re focused on bringing together the most intelligent, driven, diverse set of individuals and give them the freedom to nurture their intellectual curiosity. We provide them with the necessary resources and support to shape their ideas into tangible results.
    Through the Adobe India Women-in-Technology Scholarship, we are striving towards creating gender equality in science, technology and engineering domains by encouraging women to showcase their excellence in computing and technology and become future leaders and role models in the field.

    ๐—›๐—ผ๐˜„ ๐˜๐—ผ ๐—ฎ๐—ฝ๐—ฝ๐—น๐˜†?

    Applications must be submitted through their dedicated application portal which opens on August 20th, 2020 and will close on September 20th, 2020, 5 pm India time.

    ๐—”๐—ฝ๐—ฝ๐—น๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—ฑ๐—ฒ๐—ฎ๐—ฑ๐—น๐—ถ๐—ป๐—ฒ:

    Application deadline: September 20th, 2020, 5 pm India time.


    read more