Error in burning bootloader to Atmega328P || NEED HELP!!!
shahidpk last edited by shahidpk
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, http://www.bdmicro.com/ 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
manthan555 last edited by
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...
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
manthan555 last edited by
Also if may possible that you change the programmer type.. just check it correctly configured or not..
I forget to say this..
shahidpk last edited by
Very much informative!!!!
If you are using raspberry pi as one of your main computers and have separate monitor, keyboard and mouse, then you might be tired of copy and pasting terminal commands and codes while doing projects with raspberry pi, because running chromium-browser and reading tutorial will pi slower and using a sperate keyboard and mouse use our workbench space too.
recently I read a blog Share your keyboard and mouse between computers with Barrier by Gordon Hollingworth which is cool.
In that blog, he mentioned a software called barrier, it's a software that will allow you to use a single keyboard and mouse to control multiple computers by physically turning a dial on the box to switch the machine you're controlling at any given moment. The barrier does this in software, allowing you to tell it which machine to control by moving your mouse to the edge of the screen, or by using a keypress to switch focus to a different system.
Follow these to share your computer keyboard and mouse with the raspberry pi
First, we need setup raspberry pi
Step 1: Download and Install Raspberry Pi OS on SD Card
Step 2: Connect raspberry pi to the wi-fi network
Step 3: Install barrier, for that open your terminal (Ctrl + T) and paste or enter the followingsudo apt install barrier
Then click enter.
Step 4: Setup barrier, Open barrier by typing barrier on the terminal, if you successfully installed the barrier you can see like this.
Select option Client (Use another computer's mouse and keyboard) and Select Auto config option too, also note the Screen name, which we need for the server.
That's all next we need to set up the desktop/laptop computer.
Step 5: Download and Install barrier on desktop or laptop computer (The Server), download link
Step 6: Set up the barrier by selecting Server and position your monitor on barrier software.
To Position, the screen clicks the configure server.
Here, to drag and drop the monitor icon to the desired position you need on the grid.
double click the screen and set the screen name, you can obtain the screen name from the raspberry pi barrier client. (See Step 4)
after setup, it should be like this. Then click OK
in the following screen, click Apply and Just wait few seconds then try to move the mouse to the corner. Yes, It should work.
@rafitc99 Looks cool, Thanks for sharing.
This is a speaker call for MakerChat by MakerGram. MakerChat is a webinar series where makers from different domain sharing their expertise with other fellow makers. MakerGram is an Open Community Platform for Makers and hardware enthusiasts to empower them by promoting learning, sharing and collaboration.
Do you think you can come up with some interesting ideas revolving around Amazon Alexa? What if we could help you build that idea into a reality. Tell us about your idea and the best one wins an Amazon Alexa Echo Dot.
🧲 Bonus points for those solutions involving Covid-19 or promoting social-distancing.
Schedule️Application - The application starts on 26th June 2020. Closing - The registration will end on 17th July 2020. Results - The results declared by last week of July
For Registration: https://alexa.hackclub.com/