14

Can't upload sketches to Arduino Nano clone with USB to serial chip ch340.

After installing drivers and plugging in, device has the name cu/tty.wch ch341 USB=>RS232 fa130 (with spaces), but Arduino can't recognize the full name (only tty.wch).

Is it possible to rename device in Mac OS or change device identifier?

UPDATE: ch340 new driver http://www.wch.cn/downloads.php?name=pro&proid=178

Anonymous Penguin
  • 6,365
  • 10
  • 34
  • 62
Sonique
  • 353
  • 1
  • 3
  • 10

6 Answers6

6

I am Antonis from codebender and we recently released drivers for the Mac.

If you want to overcome this problem, without disabling your computer's security settings, maybe I can help you with this! Codebender just released their Mac drivers package, which includes a new driver that supports the CH340G chip, on Yosemite and all other versions of OS X for Mac.

This will help you to install these drivers securely, and all you have to do is to download and install them.

You can find more information about the drivers in the codebender blog.

Antonis
  • 61
  • 1
  • 1
5

I send email about this issue to WCH, and they change drivers to the latest version on their website, this is direct link http://www.wch.cn/downloads.php?name=pro&proid=178 (driver works and device has proper name in dev/)

Sonique
  • 353
  • 1
  • 3
  • 10
4

I used a terminal command:

sudo ln -s /dev/tty.wch\ ch341\ USB\=\>RS232\ 1450 /dev/tty.USB0

where /dev/tty.wch\ ch341\ USB\=\>RS232\ 1450 is the original name not recognized by Arduino; and /dev/tty.USB0 is the new port name.

Greenonline
  • 3,152
  • 7
  • 36
  • 48
3

For Yosemite you seem to need to run this command in the Terminal and then restart the computer to get it to work.

sudo nvram boot-args="kext-dev-mode=1"
Anonymous Penguin
  • 6,365
  • 10
  • 34
  • 62
sjunnesson
  • 31
  • 2
1

once you have installed the driver, you should be able to use it with any IDE or program

but I doubt anyone would prefer the Arduino IDE to codebender

tzikis
  • 31
  • 2
1

I was having the same problem. installed the latest drivers, I'm using yosemite, installed the Arduino IDE, and tried the board in windows 7 and it worked in windows, so board and cable are working.

In mac OS 10.10 in system report now they show as USB 2.0 Serial in arduino IDE it appears the port now (only after I used the SUDO command that sjunnesson posted) /dev/cu.wchusbserialalpha1310

so, use the sudo command if you are in yosemite