How to connect Curie to external PC

Discussion in 'UDOO X86' started by Opilki_Inside, Jul 21, 2017.

  1. Opilki_Inside

    Opilki_Inside New Member

    Joined:
    Jul 12, 2017
    Messages:
    4
    Likes Received:
    0
    Hey there,

    I've installed Android on x86, now I want to connect Curie to external PC and upload some code. I could not find and tutorial describing how to connect Curie to external PC on UDOO x86.

    Please help.
     
  2. Markus Laire

    Markus Laire Active Member

    Joined:
    Mar 9, 2017
    Messages:
    225
    Likes Received:
    91
    I don't think you can do that easily. Curie is internally connected to UDOO X86 via internal USB and that can't be changed.

    You are supposed to program Curie from UDOO X86 (but I have no idea how to do that from Android).
     
  3. Jetguy

    Jetguy Member

    Joined:
    Mar 28, 2017
    Messages:
    65
    Likes Received:
    60
    Wilson, LDighera and Markus Laire like this.
  4. Wilson

    Wilson New Member

    Joined:
    May 5, 2017
    Messages:
    25
    Likes Received:
    9
    The USB port is connected directly to the main processor, so you cannot program via Arduino IDE from external computer using USB.

    It is possible to program it externally via the JTAG port though. I am not sure of the process, if any, to perform JTAG programming via Arduino IDE. If you have a compatible JTAG programmer, there are instructions for doing it via the Intel Curie Open Software Developer Kit. See https://software.intel.com/en-us/node/675000 and https://www.zephyrproject.org/doc/1.2.0/board/arduino_101.html#connecting-jtag-to-arduino-101

    If you're feeling fancy, Arduino 101 like boards are compatible with the free Intel System Studio for Microcontrollers. It is an IDE extension for Eclipse and can perform programming and debugging of the Curie chip via JTAG. https://software.intel.com/en-us/intel-system-studio-microcontrollers

    NOTE: I have not attempted to do JTAG programming with the Arduino 101 compatible side of the UDOO x86 yet, so I cannot speak to if it works. I haven't had a working JTAG programmer in a while, but I have one coming to me in the mail right now.
     
    LDighera likes this.
  5. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    Next to the Arduino web IDE solution you could install a second OS (ie Ubuntu) and use the Arduino IDE on that. After uploading the compiled sketch you can reboot into Android.
     
  6. Darknain

    Darknain New Member

    Joined:
    Mar 7, 2018
    Messages:
    24
    Likes Received:
    2
    According to this :
    https://www.udoo.org/docs-x86/Arduino_101_(Intel_Curie)/Getting_Started_with_Arduino_101.html

    It's possible to programm directly on the intel curie with Arduino IDE.

    I would like the Arduino 101 to get external data using I2C or SPI and send them to the Intel N3710 but I don't know how I can do that.
    I am planning on installing windows on the udoo board but I don't know how to do the communication between the 2 processors.
     
  7. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    You can use the standard available USB Serial device to communicate from N3710 to Curie and viceversa. Udoo X86 is the same as using a PC and a Curie connected with USB cable. The USB connection is also already embedded. From the same documentation page:
     
    LDighera likes this.

Share This Page