Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign up
Appearance settings
The STM32 Bootloader Driver for Windows (11/10/8/7) is a crucial utility for developers working with STM32 microcontrollers, which are popular for their performance, scalability, and power efficiency. This driver facilitates seamless communication between the STM32 device and a Windows-based PC during the bootloading process, enabling the programming and updating of firmware on the microcontroller. Though as suggest on ST’s website the driver download isn’t required on Windows 10 onward instead using the inbuilt drivers.
Functionality:
The STM32 bootloader driver acts as a bridge, allowing the PC USB interface to interact with the microcontroller’s bootloader—a small program that resides in the ROM of the STM32 chip. This interaction is essential for tasks such as initial programming, firmware updates, and recovery processes. The driver ensures that the STM32 device can be recognized and accessed by the development environment on the PC, typically through a USB or UART connection.
Installation:
Installing the STM32 bootloader driver on Windows is straightforward. Developers usually need to download the driver package from STMicroelectronics’ official website or using the direct links to other sources below. Once downloaded, the installation involves extracting the zip file and running the setup executable that has just been extract, then following the on-screen instructions.
Compatibility:
The STM32 bootloader driver is designed to be compatible with a wide range of STM32 microcontrollers and supports various Windows operating systems, including Windows 11, 10, 8, and 7. This broad compatibility ensures that developers can work across different development environments without worrying about driver issues.
Use Cases:
Typical use cases for the STM32 bootloader driver include firmware development and updates, debugging, and device configuration. It is particularly useful in scenarios where in-field updates are required, allowing developers to push new firmware versions to devices already deployed in the field.
Conclusion:
The STM32 Bootloader Driver for Windows is an indispensable tool for anyone developing with STM32 microcontrollers. Its ease of installation, broad compatibility, and critical role in firmware management make it a must-have for efficient and effective STM32 development.
Здравствуйте, делаю небольшой проект с USB CDC (Virtual Com-Port), решил поставить драйвер виртуального ком-порта с сайта ST, но он подходит для версий Windows не старше 8. А как быть на Windows 10?
Цитата
Создатель темы Размещено : 30.03.2025 11:53
(@eduard)
Level 5 Moderator
Странно. Он подходит на любые версии Windows.
Почему Вы решили, что не подходит?
ОтветитьЦитата
Размещено : 30.03.2025 11:57
@eduard там в описании указано:
- Virtual COM port driver installation package for Windows® operating systems: 98SE, 2000, XP, Vista®, 7, and 8.x
ОтветитьЦитата
Создатель темы Размещено : 30.03.2025 20:19
@bett Начиная с 10-ки драйвер не требуется, он уже присутствует в системе по умолчанию.
ОтветитьЦитата
Размещено : 31.03.2025 11:17
Ааа, понял теперь. Получается с какого-то момента драйвер в принципе стал не нужен.
ОтветитьЦитата
Создатель темы Размещено : 31.03.2025 12:17
(@eduard)
Level 5 Moderator
@aveal Блин. Я по привычке ставлю 🤣 🤣 🤣 🤣 🤣
ОтветитьЦитата
Размещено : 31.03.2025 19:02
@eduard 😆
ОтветитьЦитата
Размещено : 31.03.2025 20:13
These steps are to be carried out by the teacher with administrator rights under Windows 10 and this for each NUCLEO WB55 board used in the practical work.
Electronic settings
You will need a USB to micro USB cable.
This configuration is:
- Move the jumper to USB_MCU
- Move the SWDIO jumper and place it on pins 5 and 7 of the ARDUINO CN7 connector
- Connect a micro USB_USER cable to the port below SW4
Here is how the kit should be configured:
These modifications allow the STM32WB55 to be configured in bootloader mode. We will be able to update the firmware by USB.
Board programming
Download the “TP Python” folder on the Windows Desktop, available on the drive: TP_Python.zip
This file must be present on each workstation.
Here is the list of files in the folder:
Connect the NUCLEO-WB55 board to your computer with the USB cable .
The first step is to install the free USB drivers to communicate with the STM32WB55 board. For this we will use the Zadig software.
Installation of the free USB driver (Zadig)
Double-click on the “Zadig” software.
Allow the application to make changes by clicking the “Yes” button.
Here is the interface:
Go to “Options” then click on “List All Devices”.
Select “USB DFU in FS mode” from the drop-down list. If it doesn’t appear in the drop-down list, change the USB cable (some cables don’t work).
Select “libusbK (v3.0.7.0)” using the arrows:
Then start the driver installation by clicking on “Replace Driver”.
We are now using USB communication with the NUCLEO-WB55 board under Windows.
Exit to Zadig software.
Programming the board’s MicroPython firmware (dfu-util)
It is now mandatory to program the card with the MicroPython firmware. We will use the ** dfu-util ** software for this. This step could potentially be performed by the student, in the event that the MicroPython firmware needs to be updated.
Use the “flash_dfu-util” software by double-clicking on it.
Then, allow Windows to run the program.
A command prompt windows opens (it may be too fast to see it), please wait for programming to finish:
When the window is closed, programming is complete
Now you need to move the jumper from connector CN7, PIN 5-7 to SWDIO:
Press the Reset button (SW4) above the USB_USER socket on the development kit.
A Windows message appears:
Don’t pay attention to the message: drive problem
If you see this message, the operation is done
You can now communicate with the MicroPython software via the USB link.
Let’s look at the files generated by the MicroPython system with the Windows explorer:
Open the PYBFLASH device with Windows Explorer.
We will see later how to edit the Python scripts available in the PYBFLASH filesystem.
First we will try to communicate with the Python command interpreter directly on the NUCLEO-WB55 development kit.
Installation of the programming environment
These manipulations should be mastered by the students so that they can communicate with the interpreter and edit MicroPython scripts on the NUCLEO-WB55 kit.
Setting of the communication terminal
Now, MicroPython is present on the NUCLEO-WB55 kit. We need to test communication with Python. The test consists in sending a python command and checking that the execution is OK.
Communication is done by USB through a serial port, we need software to send the python commands as text to the board and receive the result of the execution.
To do this, start Puttytel, available in the TP_Python directory:
Select the option Serial
:
Set the fields Serial Line
to COM3
and Speed
to 115200
. Then click on ʻOpen`.
If the following message appears:
Check if the kit is enumerated on the correct COM port, see ** Checking the COM port allocation **.
Otherwise, a new window is displayed:
Press CTRL + C to bring up the python command interpreter:
You can now run Python commands.
Programming MicroPython firmware is now done.
NUCLEO-WB55 development kit is now ready for use with Python.
Keep the Putty window open, it will be useful for you to see the execution of scripts.
** NOTE: ** Autocompletion (press TAB) is available during serial communication.
Setting of the python script editor
We will see, in this part, how to set up a MicroPython development environment.
Installation of the environment
Run the installer Portable Python-3.8.0 x64.exe
, the installer will ask you where to extract the Python environment.
Use the ...
button to select the TP_Python
folder on your Desktop.
Then wait the files extraction.
We now have a Python development environment with which the developer can write MicroPython scripts.
The environment is available in the TP_Python \ Portable Python-3.8.0 x64
folder:
Launch the PyScript-Launcher
tool:
This tool will allow you to debug and run your python scripts.
** Important notes: **
The
pyb
library, i.e. the grouping of micropython functions for accessing microcontroller peripherals, is not available when debugging scripts on Windows.
Be careful to use only the Python-3 libraries ported under micropython. For example the
numpy
library is not yet officially implemented in MicroPython, it will therefore be impossible to perform an ʻimport numpy` in a MicroPython script intended to be downloaded into the NUCLEO-WB55.
Here is the list of libraries that can be used with MicroPython:
http://docs.micropython.org/en/latest/library/index.html#micropython-specific-libraries
The python script editor (PyScript) is useful for algorithm testing or automatic completion of python methods.
Write and run a MicroPython script
Return to the PyScript-Launcher script editor, then expand the PYBFLASH player:
Here we see 2 interesting files: boot.py
and main.py
.
Le script * boot.py *, à modifier par les utilisateurs avancés, est utilisé pour initialiser MicroPython.Il vous permet de choisir quel script sera exécuté après le démarrage de MicroPython, par défaut le script main.py
.
Leave the initial setup for now.
We will look at the main.py
script.
Double-click on it:
The first script will be to display the message MicroPython is awesome
10 times with the message number.
Write the following algorithm in the script editor:
Run and check the result of it by pressing
The script works fine on Windows, now we want to run it on the NUCLEO-WB55 board.
Save the script main.py
( CTRL + S
), then return to the Putty terminal.
The script will be executed when restarting MicroPython.
To restart, press CTRL + C
(to display the interpreter >>>
) then CTRL + D (to force the restart) in the Putty terminal:
The script is successfully executed ! The message is displayed 10 times in the terminal.
We are now ready to perform MicroPython commands to access the peripherals of the STM32WB55 microcontroller.
A COM
port was created on Windows.
Write device manager
in the Windows search bar, then click on ʻOpen`:
A new window opens:
Note the number of the COM
port. In the example above, the NUCLEO kit is plugged into the COM3
port. It is this COMx
number that must be entered in Putty.
Skip to main content
Welcome to EDAboard.com
Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals… and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
-
Digital Design and Embedded Programming
-
Microcontrollers
You should upgrade or use an alternative browser.
[SOLVED] STM32 bootloader Driver windows10
-
Thread starterMithun_K_Das
-
Start date
- Status
- Not open for further replies.
-
#1
Tried different drivers from the internet, but no one actually works. It says already updated driver installed. Do you have any idea to find a perfect driver?
Thanks in Advance.
-
#2
I was trying to connect the STM32F105RBT6 board with PC. But the USB driver not found.Tried different drivers from the internet, but no one actually works. It says already updated driver installed. Do you have any idea to find a perfect driver?
Thanks in Advance.
View attachment 176093
Hello,
did you try driver from this page:
https://www.waveshare.com/wiki/XNUCLEO-F411RE
Best Regards
-
#3
-
#4
Try virtual COM port.
I did not use the STM internal USB, but I use virtual COM port with external USB ICs to program the STM.
(Still I´m not sure if this also works with internal USB)
Klaus
- Status
- Not open for further replies.
Similar threads
-
Digital Design and Embedded Programming
-
Microcontrollers
-
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.