Upload fails: "avrdude: ser_open(): can't open device"

Continuing the discussion from Upload fails: "avrdude: stk500_recv(): programmer is not responding":

Hi @ptillisch, I'm having the same problem as @manu_rs, but I'm getting a different error message:

Sketch uses 2256 bytes (6%) of program storage space. Maximum is 32256 bytes.
Global variables use 188 bytes (9%) of dynamic memory, leaving 1860 bytes for local variables. Maximum is 2048 bytes.
"/Users/artur_cytrynowicz/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin/avrdude" "-C/Users/artur_cytrynowicz/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega328p -carduino "-P/dev/cu.usbmodem1101" -b115200 -D "-Uflash:w:/Users/artur_cytrynowicz/Library/Caches/arduino/sketches/569D7C2E55C8ADAF1017A39FDD468443/sketch_feb12a.ino.hex:i"

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 "/Users/artur_cytrynowicz/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf"
         User configuration file is "/Users/artur_cytrynowicz/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/cu.usbmodem1101
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: ser_open(): can't open device "/dev/cu.usbmodem1101": No such file or directory

avrdude done.  Thank you.

Failed uploading: uploading error: exit status 1

How can I fix my problem?

There is no access to the port, probably user rights.
Which OS?

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