Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 1 month ago.
How to instal STM32 drivers?
I can't instal the drivers too, the same message appear "No mbed Microcontrollers were found". Can someones help me please?
Question relating to:
2 Answers
9 years, 1 month ago.
The serial driver for nucleos are installed as part of the ST-LINK driver installation. The mbed handbook page is a bit confusing in that respect. The serial driver you refered to is intended for the original NXP mbeds with an lpc11u35 or similar drag&drop and serial interface.
9 years, 1 month ago.
I can't install the driver for the STM32 boards as well. However, the serial just works automagically on Windows 7. To test it, start a new project and choose the "Display a message on PC using UART" template.
Display a message on PC using UART (Nucleo_printf) template
#include "mbed.h" //------------------------------------ // Hyperterminal configuration // 9600 bauds, 8-bit data, no parity //------------------------------------ Serial pc(SERIAL_TX, SERIAL_RX); DigitalOut myled(LED1); int main() { int i = 1; pc.printf("Hello World !\r\n"); while(1) { wait(1); pc.printf("This program runs since %d seconds.\r\n", i++); myled = !myled; } }
Compile the program and copy it to your board. In Windows, go to your Device manager and look which COM port your board is using. Start PuTTY, select "Serial" and use the COM port you just found and you'll have your serial working.
Ps. Use \r\n
instead of \n
to go to the start of the new line on Windows.
I have a similar problem. I have some ST Nucleo F411RE and L152RE boards and I want to install the Windows serial configuration on Windows 7 and on Windows 8. On both systems I can connect to the board and put software on it. The board also shows up as a USB device. However, when I try to install the Serial software, I get: "The driver could not be instelled. No Mbed microcontrollers were found."
posted by Wilco Bonestroo 11 Jun 2015