![]() Just follow the instructions on the homebrew site to install it first. If you have neither homebrew nor MacPorts installed, I recommend installing homebrew as the easiest way to install dfu-util. The Mac OS CLI Installer tries to install dfu-util if you have homebrew installed. If you have homebrew installed, it's as simple as running: brew install dfu-util When in DFU mode, the Device Manager looks like this: (Note that it says Photon DFU Mode for all device types, including Electrons this is normal.)Īnd when in normal operating mode or listening mode (blinking blue), the Device Manager looks like this: There are two separate device drivers in Windows, depending on whether the Particle device is in DFU or regular operating mode (or listening mode). There must be a semicolon separating the new item from the previous last item, and then the path to the directory we just created.Īfter editing the system path environment variable you'll need to restart the computer or log out and log back in. Then click on the Advanced System Settings link on the left side of the window.Ĭlick on Path in the bottom list (System variables) and click Edit.įinally, position the cursor at the end of the box and add to the end: C:\Program Files\dfu-util The result should look something like this: To test it, open a command prompt window and enter the command: dfu-util -l In the Edit environment variable window, click New then enter a new row in the table, C:\Program Files\dfu-util.Īfter editing the system path environment variable you'll need to restart the computer. In the Environment Variables window, select Path in the bottom list (System variables) and click Edit. In the Windows 10 Settings window, type environment into the box at the top and select Edit the system environment variables.Ĭlick the Environment Variables button at the bottom of the page. In Windows 8, for example, it looks like this:Ĭlick on the Windows Start menu, then the Settings (gear icon). Rename the dfu-util-static.exe file to just dfu-util.exe.ĭepending on your settings, the. Then moved the files you downloaded into this directory. Right click on the right side of the window, select New then Folder. Select your C: drive, called Windows 10 (C:) in this example, but your may be different.I like to put the files in C:\Program Files\dfu-util. You first need to create a place to save your dfu-util installation. Moving the dfu-util files to their own directory Windows 64-bitĭownload the file from the dfu-util release site. You do not need to download the other two files. Windows 32-bitįor 32-bit Windows, you will need to download three files from: If you are unsure of whether you have 32-bit or 64-bit windows, this Microsoft knowledge base article on how to tell whether you have a 32-bit or 64-bit Windows installation may be helpful. Next is installing the actual dfu-util software. In other words, if you have both a Photon and and Electron, you'll need to run it once in DFU mode for each. You can tell it's actually an Electron because the highlighted box will be D00A for an Electron.Īlso, you will have to run Zadig for each type of device. If you're installing for an Electron, note that the Zadig installer will still say Photon DFU Mode. For more information about libusbK, see their wiki. In the item that's highlighted, select libusbK using the tiny arrows. The following window should be displayed. Then run the Zadig_2.2.exe file (or whatever version you downloaded). ![]() Put the Particle device in DFU mode (blinking yellow) as described above. You must download Zadig installer from the Zadig web site. The following instructions will be helpful if you want to install it manually, or you are having trouble getting it to work. The easiest way to install dfu-util under Windows is to use the Particle CLI installer, which installs it automatically. ![]() If your device is in a particularly odd and confused state, sometimes you may need to unplug the power, hold down the SETUP/MODE button, and then plug in USB power. Hold down RESET and MODE/SETUP, release RESET and continue to hold down SETUP while the main status LED blinks magenta until it blinks yellow, then release. In order to use dfu-util, your Particle device must be in DFU mode (blinking yellow). If you are using Windows, you can use the Windows CLI Installer to automatically install dfu-util and the CLI rather than using these instructions. It can be used to program both Device OS and application firmware, and save and restore configurations. This guide explains how to install dfu-util, the utility for programming the flash memory on Particle devices like the Core, Photon, P1 (with USB) and Electron over USB.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |