Skip to content

Latest commit

 

History

History
149 lines (77 loc) · 8.18 KB

windows_driver_installation_guide.md

File metadata and controls

149 lines (77 loc) · 8.18 KB

Duo: Windows Driver Installation Guide


Note: All the drivers mentioned here are for the Duo that running the Particle firmware. For the Duo that running the WICED application hasn't implemented the USB device capability.

This guide aims to show you how to install the Windows driver for the Duo, including application USB driver and DFU USB driver, and the Windows driver for the RBLink if you have one in hand.

This guide is for Windows user only. Mac and Linux users need not to install driver for Duo.

Install Duo Application USB Driver

After your Duo boots-up to run system firmware, it will appear as USB comport device on your computer. The device name is "Duo Serial" or "Duo with WiFi and BLE".

Windows XP / 7

  • Download the Windows driver installer or the ZIP file. For the Duo running the system firmware v0.2.4 or below, please download the deprecated ZIP file.

  • If you are using the Windows driver installer, just double click on the .exe to install the driver. If you are using the ZIP file, unzip it and work through the following steps.

  • Navigate to "Control Panel > Hardware and Sound > Device Manager" and double-click on your Duo device under "Other Devices".

  • Right click the device and click "Update Driver", and select "Browse for driver software".

    image

  • On the next screen click "Let me pick from a list of device drivers on my computer".

    image

  • Click the "Have Disk..." button to open the directory to find duo.cat. Navigate to the folder you download the driver, or wherever you unzipped the drivers, by clicking the "Browse..." button. Click "Next" to install the driver.

  • Driver installed.

    image

  • You will see 'Duo with WiFi and BLE' under Ports. For the Duo running system firmware v0.3.0 or above, the comport name is "Duo Serial".

    image

Windows 8 / 10

For Windows 10, it seems that you may skip this, since it already has a built in driver for serial port -- it shows as USB Serial Device.

In the "Device Manager", your Duo device may be listed under "Ports":

image

But you can still install the driver for Duo by following the steps as installing driver for Windows XP / 7.

If you cannot install the driver, it is due to the driver is not digitally signed, applied to Windows 8 / 10.

image

Please follow this guide to disable the driver signature verification temporarily first and try again. Once you do that, redo the driver installation steps. We are working on getting the driver signed so you won't have to do this anymore.

If the follow screen prompt out, select "Install this driver software anyway".

image

Install Duo DFU USB Driver

Connect your Duo to computer and put it in the DFU Mode:

  1. Hold down BOTH buttons
  2. Release only the RESET button, while holding down the SETUP button.
  3. Wait for the LED to start blinking yellow
  4. Release the SETUP button

The Duo will appear as "Other Devices" on your computer. The device name is "Duo DFU Mode".

  • Download Zadig utils.

  • Connect your Duo to computer and make it enter DFU mode.

  • Run Zadig. Click on "Options > List all devices" and Select "Duo DFU Mode" and "libusbK" for the driver, press the "Install Driver" button.

    image

  • It will show "Driver installed successfully".

Install RBLink USB Driver

For the RBLink, since it is completely compatible with ST-Link/v2, they share the same driver and software, i.e., the ST-LINK Utility provided by STMicroelectronics will also works for the RBLink. To install the driver for RBLink, you need to install ST-LINK Utility first.

  • Download ST-LINK Utility from ST website.

  • Unzip the downloaded file and double click on the "STM32 ST-LINK Utility v3.9.0.exe" to install the ST-LINK Utility. The installer version may differ from the one you downloaded, but the latest one would be suggested.

  • Follow the on-screen prompts to install the STM32 ST-LINK Utility. It will ask for you to install the related drivers, just accept it.

  • After the ST-LINK Utility being installed, connect the RBLink to your computer. It will automatically install the drivers for the RBLink. When drivers are installed, navigate to "Control Panel > Hardware and Sound > Device Manager", you'll see a new device under "Universal Serial Bus Devices":

    image

    And a new comport under "Ports (COM & LPT)":

    image

If you can not see the device and comport in Device Manager or they are under the wrong categories, please install the driver for RBLink manually:

  1. Start the Device Manager and find the listed device for RBLink.

  2. Uninstall the device, checking the "Suppress the driver for this device" box.

  3. Unplug and plug the RBLink. Right click the device and click "Update Driver", and select "Browse for driver software".

  4. On the next screen click "Let me pick from a list of device drivers on my computer". Then navigate to the folder you install the ST-LINK Utility, Choose the folder "ST-LINK_USB_V2_1_Driver". Click "Next" to install the driver.

What's Next

References

Resources

License

Copyright (c) 2016 Red Bear

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.