For Node/NPM installation follow this mini-tutorial.
- Particle CLI: v1.8.17 link install this after installing Node and NPM
Note: All of these steps involving a terminal/command prompt are done via Windows 10 command prompt. Also, has been tested and working on Windows 7.
At this point you should check to see if your Node and NPM versions are working. As stated in the mini-tutorial from above, if you issue
it should output the version of each of those packages you have installed.
Once, those are installed and working, you should
particle help or
particle login to see if the particle-cli is properly installed.
Installing the Particle Driver
You'll need to install the Windows driver. Download it here.
Unzip the file. It is fine to unzip this as a default into your Downloads folder.
On Windows10, go to the Device Manager and double-click on
your Particle device under
Other Devices (on Windows 10 your Particle device may be listed under
Ports (COM & LPT)).
Update Driver, and select
Browse for driver software on your computer.
On the next screen click
Let me pick from a list of drivers...
On this screen below, click the
Have Disk button to open the directory to find
Navigate to your Downloads folder, or wherever you unzipped the drivers, by clicking the
After loading in the
photon.cat file you should be able to scroll the left list and find
Particle and click that. After clicking, on the right you should an option for the Photon to be a driver. Click that and press
This should be the screen you see after pressing
NEXT. After seeing this screen you should press
OK and you should be done with this part.
Your device should now show up in
Device Manager like this (below).
Download dfu-util and install it
- The dfu-util you need lives (here) <-- download link
After that downloads, you should unzip all the tar files (preferably using 7-Zip). It will be .tar.xz extension so it will require 2 unzips via 7-Zip to get to the root of the base file.
Once everything is unzipped it is best to move the
dfu-util-0.8-binaries folder the
C:\ of your windows machine to get an easier access to
win32-mingw32, which lives inside that folder, for a later step.
After moving to
C:\ you should go to
My Computer and right click to pull up
Once you're on that screen click on
Advanced system settings button. It should pull up your System properties.
- In the
Advanced section, click the
Environment Variables button.
- Finally, in the Environment Variables window, highlight the
Path variable in the User variables for you section and click the Edit button.
- Reference the photo and line of text below. Each different directory is separated with a semicolon as shown below. Ours is the last set of text after the last semicolon ( ; )
Press OK, then at the next screen press
APPLY followed by
OK. Then close that larger window.
Now, go to the folder in the
C:\ and into the folder where
win32-mingw32 is located and then right click the file
build-mingw32-libusb and click OPEN. It should run via the command prompt and then close automatically.
Install Zadig Utility
- Follow this link to install zadig for Windows 10.
Feel free to leave this in Downloads folder, but whenever you run it,
run as administrator.
Once opened, click on
Options on top tab and click
LIST ALL DEVICES while your Photon is still in dfu mode. Clicke the dropdown menu and your Photon should show up as Photon DFU Mode (see below).
The left side box (left of green arrow) may have something weird inside of it or show (NONE) and this is fine. Just make the right side box shows WinUSB (v6 1.7600.16385) or something similar and then click
Install Driver or
Reinstall driver button. After installing, both sides should match in text. Now close zadig.
Go back to
Device Manager and reset your Photon by clicking the reset button on it. Put the Photon back in to dfu-mode.
Universal Serial Bus devices you should click the dropdown button and you will see the
Photon DFU Mode device. Once confirmed we can move on to the last step which is testing dfu out via the CLI.
Go to command prompt and issue
particle update with the Photon in dfu-mode and it should update itself to our most stable firmware.
At this point you should be able to issue
particle setup and other commands involving the serial and dfu functionality with ease.