How to install drivers on Windows 8/8.1 and 10 Up to now, Dec.2015, there are some problems to install the SW drivers for using HW tools under Windows 8/8.1 and 10. Below there are some useful links that explain how to resolve this problems. USB D- → Nucleo D10 (PA11) USB D+ → Nucleo D2 (PA12) USB GND → Nucleo GND; USB GND → USB Shield (don’t know if this is necessary, but it makes me feel better) Also, this is super important: remove the jumper that comes default on your Nucleo board! It bridges D2 and GND and will short out our D+ line if left in place. Download the latest ST-LINK/V2-1 firmware upgrade. Extract the archive and run the STLinkUpgrade.exe program. Plug the Nucleo board to your PC using a standard USB cable and wait until the USB enumeration is completed. Press the Connect button. When the ST-LINK/V2 driver is correctly installed, the current ST-LINK/V2 version is. The STSW-STM32102 software package contains four installation files based on the various versions of the Microsoft ® operating system. OS versions prior to Windows ® 7 are compatible with the Windows ® 7 installations included in the package. Starting from Windows ® 10, the STSW-STM32102 driver is no more adequate and the usage of the native inbox driver is recommended.
-->Windows Device Portal (WDP) is a device management and debugging tool that lets you configure and manage device settings and view diagnostic information over HTTP from a web browser. For WDP details on other devices, see Windows Device Portal overview.
You can use the WDP for the following:
- Manage device settings (similar to the Windows Settings app)
- See and manipulate a list of running processes
- Install, delete, launch, and terminate apps
- Change Wi-Fi profiles, view signal strength, and see ipconfig details
- View live graphs of CPU, memory, I/O, network, and GPU usage
- Collect process dumps
- Collect ETW traces
- Manipulate the isolated storage of sideloaded apps
Set up Windows Device Portal on a Desktop device
Turn on developer mode
Starting in Windows 10, version 1607, some of the newer features for desktop are only available when developer mode is enabled. For information about how to enable developer mode, see Enable your device for development.
Important
Sometimes, due to network or compatibility issues, developer mode won't install correctly on your device. See the relevant section of Enable your device for development for help troubleshooting these issues.
Turn on Windows Device Portal
You can enable WDP in the For developers section of Settings. When you enable it, you must also create a corresponding username and password. Do not use your Microsoft account or other Windows credentials.
Once WDP is enabled, you will see web links at the bottom of the section. Take note of the port number appended to the end of the listed URLs: this number is randomly generated when WDP is enabled but should remain consistent between reboots of the desktop.
These links offer two ways to connect to WDP: over the local network (including VPN) or through the local host. Once you connect, it should look something like this:
Turn off Windows Device Portal
You can disable WDP in the For developers section of Windows Settings.
Connect to Windows Device Portal
To connect through local host, open a browser window and enter the one of the URIs shown here (based on the connection type you're using).
- Localhost:
http://127.0.0.1:<PORT>
orhttp://localhost:<PORT>
- Local Network:
https://<IP address of the desktop>:<PORT>
HTTPS is required for authentication and secure communication.
If you are using WDP in a protected environment, for example, in a test lab, in which you trust everyone on your local network, have no personal information on the device, and have unique requirements, you can disable the Authentication option. This enables unencrypted communication, and allows anyone with the IP address of your computer to connect to and control it.
Windows Device Portal content
WDP provides the following set of pages.
- Apps manager
- Xbox Live
- File explorer
- Running Processes
- Performance
- Debug
- ETW (Event Tracing for Windows) logging
- Performance tracing
- Device manager
- Bluetooth
- Networking
- Crash data
- Features
- Mixed Reality
- Streaming Install Debugger
- Location
- Scratch
Using Windows Device Portal to test and debug MSIX apps
More Windows Device Portal options
Registry-based configuration
If you would like to select port numbers for WDP (such as 80 and 443), you can set the following regkeys:
- Under
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionWebManagementService
UseDynamicPorts
: A required DWORD. Set this to 0 in order to retain the port numbers you've chosen.HttpPort
: A required DWORD. Contains the port number on which WDP listens for HTTP connections.HttpsPort
: A required DWORD. Contains the port number on which WDP listens for HTTPS connections.
Under the same regkey path, you can also turn off the authentication requirement:
UseDefaultAuthorizer
-0
for disabled,1
for enabled.- This controls both the basic auth requirement for each connection and the redirect from HTTP to HTTPS.
Command line options for Windows Device Portal
From an administrative command prompt, you can enable and configure parts of WDP. To see the latest set of commands supported on your build, you can run webmanagement /?
sc start webmanagement
orsc stop webmanagement
- Turn the service on or off. This still requires developer mode to be enabled.
-Credentials <username> <password>
- Set a username and password for WDP. The username must conform to Basic Auth standards, so cannot contain a colon (:) and should be built out of standard ASCII characters for example, [a-zA-Z0-9] as browsers do not parse the full character set in a standard way.
-DeleteSSL
- This resets the SSL certificate cache used for HTTPS connections. If you encounter TLS connection errors that cannot be bypassed (as opposed to the expected certificate warning), this option may fix the problem for you.
-SetCert <pfxPath> <pfxPassword>
- See Provisioning Windows Device Portal with a custom SSL certificate for details.
- This allows you to install your own SSL certificate to fix the SSL warning page that is typically seen in WDP.
-Debug <various options for authentication, port selection, and tracing level>
- Run a standalone version of WDP with a specific configuration and visible debug messages. This is most useful for building a packaged plugin.
- See the MSDN Magazine article for details on how to run this as System to fully test your packaged plugin.
Troubleshooting
Below are some common errors that you may encounter when setting up Windows Device Portal.
WindowsUpdateSearch returns invalid number of updates (0x800f0950 CBS_E_INVALID_WINDOWS_UPDATE_COUNT)
You may get this error when trying to install the developer packages on a pre-release build of Windows 10. These Feature-on-Demand (FoD) packages are hosted on Windows Update, and downloading them on pre-release builds requires that you opt into flighting. If your installation is not opted into flighting for the right build and ring combination, the payload will not be downloadable. Double-check the following:
Navigate to Settings > Update & Security > Windows Insider Program and confirm that the Windows Insider account section has your correct account info. If you don't see that section, select Link a Windows Insider account, add your email account, and confirm that it shows up under the Windows Insider account heading (you may need to select Link a Windows Insider account a second time to actually link a newly added account).
Under What kind of content would you like to receive?, make sure Active development of Windows is selected.
Under What pace do you want to get new builds?, make sure Windows Insider Fast is selected.
You should now be able to install the FoDs. If you've confirmed that you're on Windows Insider Fast and still cannot install the FoDs, please provide feedback and attach the log files under C:WindowsLogsCBS.
[SC] StartService: OpenService FAILED 1060: The specified service does not exist as an installed service
You may get this error if the developer packages aren't installed. Without the developer packages, there is no web management service. Try installing the developer packages again.
CBS cannot start download because the system is on metered network (CBS_E_METERED_NETWORK)
You may get this error if you're on a metered internet connection. You won't be able to download the developer packages on a metered connection.
See also
Driver worked well in Win 7 until I updated to Win 10. I didn't do a clean install of Windows 10, just an upgrade from 7 to 10. Plugged in a fresh Pico and saw the red light flash. I opened up the web IDE tried the normal way to connect and it said Connect failed. I tried a restart but same thing. So I checked Device manager and noticed:
1 Attachment
Have you tried just re-installing the drivers? I know people are using it with Windows 10 and don't have problems, so maybe the drivers got disabled in the upgrade process?
@Gordon Strange, everything seems to be functioning correctly now. My USB cable is most likely not functioning properly.
@Gordon I spoke to soon. I switch cables and USB ports and I am still having the same issue. This will also be my second time reinstalling the drivers.
EDIT
Oops I forgot one crucial step: Unzip the file, run the executable, and then go to C:Program Files (x86)STMicroelectronicsSoftwareVirtual comport driver in Windows Explorer and double-click either dpinst_amd64.exe for 64 bit systems, or dpinst_x86.exe for 32 bit.Everything appears to be functioning properly again :-)
Great! glad you got it sorted - the drivers are pretty strange like that... I'm tempted to just distribute them outside the ZIP file :)
Красавчик! е*ался при настройке на виндовс xp, по финалу взлетело. Зашел в папку с установленным драйвером и дважды клацнул C:Program FilesSTMicroelectronicsSoftwareVirtual COM Port Driverdpinst_x86
Grupo Nucleo Driver Download For Windows 10 Laptop
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
Tips:
- Create headers by underlining text with or ----
- To *italicise* text put one asterisk each side of the word
- To
**bold** text put two asterisks each side of the word - Embed images by entering:
![](https://www.google.co.uk/images/srpr/logo4w.png)
That's the hard one: exclamation, square brackets and then the URL to the image in brackets. - * Create lists by starting lines with asterisks
- 1. Create numbered lists by starting lines with a number and a dot
- > Quote text by starting lines with >
- Mention another user by @username
- For syntax highlighting, surround the code block with three backticks:
```
Your code goes here
```
Just like Github, a blank line must precede a code block. - If you upload more than 5 files we will display all attachments as thumbnails.
For a full reference visit the Markdown syntax.