2 Replies Latest reply on Dec 31, 2015 1:15 AM by weberx

    Cannot create serial connection on OS X

    weberx

      Hi guys,

       

      I have a trouble connecting Edison with Mac via serial, thus can't configure WiFi.

       

      - Edison plugged with 2 micro-USB cables to 2 macbook USB ports;

      - macbook is on power;

      - went through all the process and run installer;

      - Arduino sketches work fine, blinked led, displayed the text on lcd etc.;

      - serial connection does not work

       

      I have already tried multiple cables, restarts etc. Nothing helps.

      /dev/cu.usbserial-A903KYQX simply does not appear.

       

      FTDI 2.3 driver installed.

       

      Here is debugging information from my mac:

       

      Network:

       

          FT232R USB UART:

       

            Type: PPP (PPPSerial)

            Hardware: Modem

            BSD Device Name: usbserial-A903KYQX

            IPv4:

                Configuration Method: PPP

            IPv6:

                Configuration Method: Automatic

            Proxies:

                FTP Passive Mode: Yes

            Service Order: 0

       

          Edison:

       

            Type: Ethernet

            Hardware: Ethernet

            BSD Device Name: en5

            IPv4 Addresses: 169.254.147.93

            IPv4:

       

        +-o Root Hub Simulation Simulation@14000000  <class AppleUSBRootHubDevice, id 0x1000002fe, registered, matched, active, busy 0 (27 ms), retain 9>

          +-o BRCM20702 Hub@14300000  <class AppleUSBDevice, id 0x10000031c, registered, matched, active, busy 0 (29 ms), retain 12>

          | |   "PortNum" = 3

          | +-o Bluetooth USB Host Controller@14330000  <class AppleUSBDevice, id 0x100000381, registered, matched, active, busy 0 (31 ms), retain 17>

          |       "PortNum" = 3

          +-o Apple Internal Keyboard / Trackpad@14400000  <class AppleUSBDevice, id 0x100000331, registered, matched, active, busy 0 (369 ms), retain 22>

          |     "PortNum" = 4

          +-o Edison@14100000  <class AppleUSBDevice, id 0x1000006ca, registered, matched, active, busy 0 (40 ms), retain 19>

                "PortNum" = 1

                "USB Serial Number" = "3cca452e3a37408364e0564a72026ded"

       

      Does anyone know what's wrong with the serial connection?

        • 1. Re: Cannot create serial connection on OS X
          CMata_Intel

          Hi weberx,

           

          Have you been able flash the board?

          Which OS X are you using?

          Did you download the driver from Virtual COM Port Drivers?

           

          What is the output on the Serial Monitor after uploading the following sketch with the Arduino IDE?

          void setup() {
          system("configure_edison --version > /dev/ttyGS0");
          system("uname -a > /dev/ttyGS0");
          }
          
          void loop() {
          }
          

          Could you attach a screenshot of what you get after running ls /dev on your Mac with both USB ports connected to the computer?

          Which expansion board are you using?

           

          Regards,

          Charlie

          • 2. Re: Cannot create serial connection on OS X
            weberx

            Charlie, thanks for the answer.

            OS X 10.11.2, Arduino breakboard. Edison was flashed through the official Installer from Intel. Anyway, to re-flash you need serial, right?


            I have finally made it, probably, I was tired the last night

            /dev/cu.usbserial-A903KYQX appeared in my system.

             

            The problem was USB cable from Beats Audio headphones does not work with Edison, neither for power (despite the led is on) nor for serial connection.

            Simply took another one.

             

            ioreg -p IOUSB -l -b | grep -E "@|PortNum|USB Serial Number"

                +-o Edison@14200000  <class AppleUSBDevice, id 0x10000093f, registered, matched, active, busy 0 (41 ms), retain 19>

                |     "PortNum" = 2

                |     "USB Serial Number" = "3cca452e3a37408364e0564a72026ded"

                +-o FT232R USB UART@14100000  <class AppleUSBDevice, id 0x100000986, registered, matched, active, busy 0 (1435 ms), retain 14>

                      "PortNum" = 1

                      "USB Serial Number" = "A903KYQX"