-1

it gives me this error

avrdude: ser_open(): can't open device "/dev/ttyUSB0": Permission denied

PLEASE HELP!!!!

nobody
  • 5,792

2 Answers2

1

Looks like you do not have permission, as the error message says; for some operations avrdude needs root privileges.

To solve: add sudo in front of the command you used.

kurja
  • 681
0

Add yourself to the serial port user group:

sudo usermod -a -G dialout yourusername

and then reboot.

Depending on your distro, the name of the group might change to uucp or something else.