10

I bought an Arduino-compatible Freaduino board atmega8 (I selected the board type as Arduino ng or older atmega8). I installed the Arduino IDE on Mac OS X and the FTDI drivers. But my serial port looks like this when I connect the board:

screenshot 1

And when I try to upload the program, this is the error I get:

screenshot 2

Can someone tell me what is the mistake? I am clueless.

UPDATE: the problem was I had not installed the driver properly (I guess). I uninstalled and reinstalled them and it worked perfectly. Also made a YouTube tutorial regarding the same. http://youtu.be/BwatajQO_88

dda
  • 1,595
  • 1
  • 12
  • 17
Rajath
  • 225
  • 2
  • 4
  • 10

4 Answers4

8

From the OSX System Report we learn that your board is based on an SiLabs CP2102 converter (or workalike), but according to your question you installed the drivers for an entirely different product from FTDI

(Arduino.cc has used FTDI in the past and CDC/ACM today, I don't believe they have ever used SiLabs so their instructions probably don't cover that, but other vendors obviously have)

Install the CP2102 drivers and it should work if you use the /dev/tty.XX device which then appears when you plug in the board.

SiLabs appears to provide the drivers at

http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx

Just for sake of completeness, there are at least 5 distinct protocols/chips in use for serial-like USB communication with embedded devices:

  • FTDI
  • CDC/ACM Virtual Com Port
  • SiLabs CP210x
  • Prolific PL-2303
  • ch340

(Additional possibilities could include actual RS232 serial or serial-over-bluetooth)

Chris Stratton
  • 5,411
  • 20
  • 40
5

just to add to the list - some cheaper boards use CH340 chipset

here is a blogpost on how to install the drivers on OSX http://javacolors.blogspot.ie/2014/08/dccduino-usb-drivers-ch340-ch341-chipset.html

From that post:
You can find drivers for this chip on the web site of the chinese manufacturer, here :
http://www.wch.cn/downloads.php?name=pro&proid=5

JRobert
  • 15,407
  • 3
  • 24
  • 51
Slav
  • 151
  • 1
  • 2
0

If you still have problems, like me after following the above, this might help: From this thread: http://forum.arduino.cc/index.php?topic=292284.msg2229300#msg2229300

the problem is in the spaces of the device name. To fix that you have to manually edit two (2) txt files of the arduino installation.

Go where you have installed it. In my case the path is:

/Users/MY_USERNAME/Downloads/Arduino.app/Contents/Java/hardware/arduino/avr

Inside this directory you can see files platform.txt & programmers.txt.

Inside these files replace -P{serial.port} with "-P{serial.port}". So you simply have to add the quotes.

Then restart.

0

http://arduino.cc/en/guide/macOSX

That link should almost definitely get it working for you. Ensure (as in Step 7) that the board you have is the same one that is selected in Tools->Board.

And in step 8, since you have connected via a USB cable, it should be one of the USB named options.

sathishvj
  • 101