Wake and Sleep via Arduino 101?

Discussion in 'UDOO X86' started by YellowGTM, Nov 9, 2017.

  1. YellowGTM

    YellowGTM Member

    Joined:
    Sep 21, 2017
    Messages:
    56
    Likes Received:
    3
    Can anyone tell me which files/drivers I need to install to get the Arduino 101 port to communicate?

    Thanks.
     
  2. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    You need he usb part. If you install Arduino IDE and the arduino 101 board package then the additional driver for Arduino 101 is installed.
     
  3. YellowGTM

    YellowGTM Member

    Joined:
    Sep 21, 2017
    Messages:
    56
    Likes Received:
    3
    Thank you Walterlv, you have been a great help.

    Today I was able to download the USB drivers from the Intel site.

    The ZIP is called:

    USB 3.0 Adaptation Driver Win 8.1 64 BIT
    ver 2.0.0.5

    After re-booting, I still am not able to access the Arduino 101 port.
    [​IMG]

    Do I have the wrong file? At this point, these x86 boards are useless to me.
    I will have to send them back as I'm two months behind on getting this project to work.
     
  4. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    Does the usb work? If you first installed Arduino IDE and then usb drivers it will not work. Try uninstall Arduino IDE and board package (important!) and reinstall again.
     
  5. YellowGTM

    YellowGTM Member

    Joined:
    Sep 21, 2017
    Messages:
    56
    Likes Received:
    3
    Yes, the USB has worked all along.

    I've tried uninstalling and re-installing the IDE. I've also tried going back a version (to v.19) while
    rebooting Windows between each step.

    I did notice that when re-installing the Arduino IDE, the CURIE manager was still there. Normally I
    have to add the CURIE manager again; that seemed a bit odd.

    I used CONTROL PANEL > UNINSTALL PROGRAMS> ARDUINO

    When I get home this evening, I'll try to uninstall from the Arduino folder and check that the CURIE
    manager is wiped out as well.
     
  6. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    YellowGTM likes this.
  7. YellowGTM

    YellowGTM Member

    Joined:
    Sep 21, 2017
    Messages:
    56
    Likes Received:
    3
    Sorry Walter, no go.

    Windows 8.1 does not see the Arduino 101.
    [​IMG]
    I'll have to contact the UDOO team about getting a refund for these
    boards. Unfortunately, I cannot use them in this state.
     
  8. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    It should work, there is no reason why it should not. Perhaps you can contact Udoo technical support (open customer care support ticket)
    you are doing something wrong here. It can even run on Windows 7, search the forum for it.

    https://www.udoo.org/customer-care/open.php
     
  9. YellowGTM

    YellowGTM Member

    Joined:
    Sep 21, 2017
    Messages:
    56
    Likes Received:
    3
    Thanks Waltervl,

    I can't imagine what I'm doing wrong, but since it has worked on Windows 7 / 8, I'll give Tech Support the
    chance to help me through this.

    What I'm thinking is that I've downloaded the incorrect drivers from the Intel site?
     
  10. ccs_hello

    ccs_hello UDOOer

    Joined:
    Apr 15, 2017
    Messages:
    536
    Likes Received:
    194
    Arduino 101's programming interface is talking to x86 Braswell via USB port#3 (internal on-PCB connection.)
    Arduino 101's USB end-point ID is USB\VID_8087&PID_0AB6 (8087:0AB6)

    X86 Braswell will see such USB device.
    The driver for that is called "'Intel Curie Boards' by Intel version 1.0.4 _ (Arduino 101)"

    The driver should then be obtained from the "Board manager" inside the Arduino window,
    once you let Windows auto-search the driver from this machine's C:\ drive.

    If the driver is successfully installed, it should show up as a COM port. After that, It's all set.

    BTW, this part of discussion is off-topic from this thread point of view.

    ccs_hello
     
    YellowGTM and waltervl like this.
  11. YellowGTM

    YellowGTM Member

    Joined:
    Sep 21, 2017
    Messages:
    56
    Likes Received:
    3
    Thank you for the break-down ccs_hello.

    I have searched for this driver on the Intel.com website, but cannot find it by that name:

    https://downloadcenter.intel.com/product/92334/Intel-Curie-Boards

    It also does not show up in Google searches with the following search strings:
    - Intel Curie Boards
    - Intel Curie Boards 1.0.4
    - Intel Curie Boards' by Intel version 1.0.4 _ (Arduino 101)

    Can anyone provide a link, or a zip file please?
     
  12. YellowGTM

    YellowGTM Member

    Joined:
    Sep 21, 2017
    Messages:
    56
    Likes Received:
    3
    Just for the record, my procedure thus far has been:
    - Install Win 8.1
    - Download and install Arduino IDE from Arduino.cc
    - Reboot Windows
    - Download Intel Curie Board via Board Manager (TOOLS > BOARDS MANAGER)
    - Reboot Windows
     
  13. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    YellowGTM likes this.
  14. YellowGTM

    YellowGTM Member

    Joined:
    Sep 21, 2017
    Messages:
    56
    Likes Received:
    3
    Interesting. I tried 1.0.7, but not 1.0.6

    There's a glimmer of hope ... yet.
     
  15. ccs_hello

    ccs_hello UDOOer

    Joined:
    Apr 15, 2017
    Messages:
    536
    Likes Received:
    194
    Installing the driver to recognize the Arduino 101 as a COM port...

    Go here https://github.com/arduino/ArduinoCore-arc32
    to clone/download the entire repository. Extract everything on your Braswell X86 harddrive.
    cd drivers
    if your Win is a 32-bit OS, run dpinst-x86.exe
    if your Win is a 64-bit OS, run dpinst-amd64.exe
     
    YellowGTM likes this.
  16. YellowGTM

    YellowGTM Member

    Joined:
    Sep 21, 2017
    Messages:
    56
    Likes Received:
    3
    I really thought these tips were enough to get everything working, but not the case.

    After a couple of hours of installing different versions of the IDE, and Curie,
    rebooting, and installing drivers, the Port will not communicate. Even when using
    the GITHUB executable, DEVICE MANAGER will not show any new COMM ports.
    Nothing changes in the device listing.

    I did try my MEGA to check whether it would 'talk' and it worked fine
    on COM3.

    Still waiting for Tech Support to contact me...

    Maybe I'll try Windows 7 while I'm waiting.
    [​IMG]
    [​IMG]
     
    Last edited: Jan 18, 2018
  17. ccs_hello

    ccs_hello UDOOer

    Joined:
    Apr 15, 2017
    Messages:
    536
    Likes Received:
    194
    One thing to check:
    Make sure UDOO x86's BIOS is version 1.03, now
    Check BIOS setting:
    Power on intel curie: Enabled
    (if disabled, Curie is always OFF)

    ===============
    In this way, Auduino 101 should be detected as a new device, and the driver install files that you
    put into system driver repository (post #56) will be fetched. A COM port should then show up.
    That is the communication port in between UDOO x86 Braswell to Arduino 101 (Intel Curie)
    which you need to set in Arduino IDE.
     
  18. YellowGTM

    YellowGTM Member

    Joined:
    Sep 21, 2017
    Messages:
    56
    Likes Received:
    3
    Thanks CCS,

    The BIOS is 1.03 and the Curie in enabled.

    I'm going to try re-installing Windows and redo the setup for everything.
    Failing that, I'll try Windows 7.
     
  19. YellowGTM

    YellowGTM Member

    Joined:
    Sep 21, 2017
    Messages:
    56
    Likes Received:
    3
    Some progress, but no resolution.

    I ended up re-installing Windows 8.1, then adding the IDE, following by the drivers.
    The Arduino port showed up and I was able to upload a program no problem.

    When I tried to enter sleep mode, I got a Blue Screen with the message: DPC_WATCHDOG_VIOLATION

    The UDOO would either reset/reboot, or give me the Blue Screen. It would NOT going into Sleep mode.
    I tried Hibernate, and the same thing happened.

    Now I have to ask, does ANY version of Windows work with Sleep mode with the x86 Advanced Plus?
     
  20. YellowGTM

    YellowGTM Member

    Joined:
    Sep 21, 2017
    Messages:
    56
    Likes Received:
    3
    More to the issue: Windows 8.1 does NOT work with SLEEP mode using x86.
    It will only cycle once, then no response.

    Other findings:
    - Hibernate will work fine, and cycle infinitely unless you have a COMM port open to an ADRUINO MEGA for instance.

    This scenario does not work with my application because I need the MEGA to stay connected to the UDOO when the vehicle is off.

    - Hibernate also stops working once you install Curie drivers 1.0.6 or newer.
    - If I use 1.0.6 or older, then my code doesn't work (DigitalPintoInterrupt is not supported).
    [​IMG]

    PowerCFG shows that sleep mode is not supported by the firmware
    [​IMG]
    It seems most of Windows hibernate function will work until the Arduino IDE is installed possibly due to the drivers.

    I still have not received a response from support and my deadlines are
    wearing thin.

    I'd like to return four of these UDOO x86 computers as they do not work as advertised.
    How to I begin a refund request?

    Thank you.
     
    waltervl likes this.

Share This Page