Error Uploading Code to Custom Arduino Nano with USB Type C

Hi everyone,

I'm facing an issue after creating a custom Arduino Nano board with a Type C port. After completing the hardware setup, I attempted to upload code using the Arduino IDE, but I'm encountering an upload error.

I've double-checked the connections and made sure that the drivers are properly installed, but the issue persists. Has anyone experienced this problem before or have any suggestions on how to fix it?

Below is my schematic and error



Controller

You have an 'access denied' error. If it's *nix, you need to add yourself to dial something, search the forum for that.

Type 'groups', is 'dialout' there ?
sudo usermod -a -G tty yourUserName - sudo usermod -a -G tty gil
sudo usermod -a -G dialout yourUserName
Log off and log on again for the changes to take effect.
The last step is most important!

https://docs.arduino.cc/software/ide-v1/tutorials/Linux

If you run the dmesg, is there any reference to BRLTTTY? If yes, uninstall BRLTTY or create udev rules to disable it. It has been mentioned a few times on the forum, a search for BRLTTY should give you the pointers how to do it. Note that dmesg output can be very long; I'm not sure when BRLTTY will show up, possibly just after the detection of your board. In that case, you can use dmesg -w (use C to abort).