I can't burn bootloader on my arduino uno

Arduino: 1.8.19 (Linux), Board: "Arduino Uno"

/home/dominic/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin/avrdude -C/home/dominic/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf -v -patmega328p -carduino -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 "/home/dominic/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf"
         User configuration file is "/home/dominic/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/ttyACM0
         Using Programmer              : arduino
         Overriding Baud Rate          : 19200
avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied

avrdude done.  Thank you.

Error while burning bootloader.

Hey,

can you give us a reason, why you would need to?

kind regards
finn

Your topic was MOVED to its current forum category as it is more suitable than the original as it is not an Introductory Tutorial

How and why are you trying to burn the bootloader ?

Looks like a Linux permission problem (permission to use a serial port (tty...)).
You may have to give permission with something like:

sudo gpasswd -a username dialout  

Plus logout and login again.

Details see here (last chapter):

am not able to upload code on it and I thought it was a bootloader issue but it didn't work either.

Did you fry it? My boards stop working to when I fry them. :rofl::rofl:
But seriously, I would try pressing the upload button while holding down the reset button. As soon as the IDE goes from "compiling" to "uploading" release the reset button.

When you plug in the Arduino does the PC recognise it and create a new COM port ?

If so, have you got that port selected in the IDE ?
Which Arduino are you using and which board have you got selected in the IDE ?

Assuming the correct COM port and board are selected, what happens if you do File/New and upload the sketch ? What messages do you get ? Please post the full messages here, using code tags when you do

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.