8 years, 10 months ago.

No output on PC UART

I used this instruction to setup my Nucleo STM32L152 https://developer.mbed.org/teams/ST-Americas-mbed-Team/wiki/Creating-Console-Output

But there is no activity in my console :( Tryed to use pytty and terra term - no result. My PC works on Windows 7.

What can be the issue ?

I can modify programm, change blink rate, when i upload it to board - it works fine, i see changes. But there is still no console output. Maybe i must set sume jumpers on board to make uart work ?

Update: sometimes when in connect terra term console to my board i can see just 1-3 lines of message, but then output stops. Diode continues to blink 1sec on board.

posted by windwail windwail 22 May 2015

Since you see the data sometimes there must be a connection and the serial driver is recognized. Maybe you should check the baudrate and make sure it is not too high. Perhaps try on another USB port or on another PC to make sure.

posted by Wim Huiskamp 22 May 2015

Yes, i tryed same on other PC - and it works! Seems it's some software problems on my PC.

posted by windwail windwail 22 May 2015

Could be windows 7 related. Some people reported problems with drivers. Make sure you have latest versions of rhe STLINK drivers on the PC and of the interface firmware on the nucleo.

posted by Wim Huiskamp 22 May 2015

Yes, it was Windows 7 related. First i had installed clear Windows 7 on my computer - and the problem remains. So i upgraded to 8.1 - now it works fine.

posted by windwail windwail 22 May 2015
Be the first to answer this question.