Avrdude: ser_setspeed(): tcsetattr() Arduino Nano

Before, my Arduino Nano was working fine, but then I couldn't connect it to my MacBook. After reading a lot, I installed the CH34 driver, and I also installed the FTDI Driver, but nothing changed. What happened to my Arduino?

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

         Using Port                    : /dev/cu.usbserial-110
         Using Programmer              : arduino
         Overriding Baud Rate          : 57600
avrdude: ser_setspeed(): tcsetattr() failed
avrdude: ser_open(): can't set attributes for device "/dev/cu.usbserial-110": Invalid argument

Hi @rasyachrmy.

I did some research and it seems this is quite a rare error. I did manage to find one report that included a description of the solution they found:

My suggestion is to simply restart your computer. That should be equivalent to the procedure they performed to fix the problem, but more simple to accomplish since the 'force "quit" in the "activity monitor' part of their description seems quite vague to me.

So restart your computer and then try uploading to your Nano board, just as you did before. Hopefully this time the upload will be successful.

Thank you for the answer, i think the problem is in the arduino inside, maybe i buy clone version of arduino and cause that error to happened i also tried in windows computer and the result still the same. Force me to buy another arduino nano.

If someone know this solution maybe you can comment on this post.

Did you restart your computer?

If yes, did the upload still fail after you restarted the computer?

If yes, did the upload fail with the exact same error message as before?:

Or is the error message different this time?

Please post the error message you get when you attempt to upload to the board using the Windows computer.

That is probably a good solution. Even if you get the one you have working, it is always nice to have a spare on hand.