10 years, 1 month ago.

USB serial port driver not recognized on Nucleo L152RE

I have downloaded the windows driver and successfully installed on the FRDM-KL46Z. Now I got a Nucleo board. When I run the driver program again with the Nucleo board plugged in, I get the message: "no mbed microcontrollers were found". It seems like STM has their own driver that does not allow for the program to work. Cannot get any serial communications to the device.

Per my undestanding (haven't played with nucleo yet), that they have STlink. Thus the mbed serial driver is not for it, but for cmsis-dap implementation. Therefore look for driver for STLink. There should be a link on mbed platform page.

Regards,
0xc0170

posted by Martin Kojtal 06 Mar 2014

I think you are right about the STLink. However I cannot find any documentation how to use the STLink to output text to the terminal. The compiler does not recognize the line: Serial pc(USBTX, USBRX); Without the mbed driver USBTX and USBRX is not defined. If there is any documentation on how to output to pc with STLink my problem would be solved.

posted by Near Margalit 06 Mar 2014

Found the solution to this problem through reading related subject. To access serial port over STLink use the following command: Serial pc(SERIAL_TX,SERIAL_RX). This is able to be compiled.

posted by Near Margalit 07 Mar 2014
Be the first to answer this question.