cancel
Showing results for 
Search instead for 
Did you mean: 

Nucleo-F072RB Serial port not working

dyMath6
Associate II

Hi, I'm a student quite new with STM, I am using a nucleo F072RB and I have been unable to print anything onto putty for a few weeks, it was working fine before summer break but not anymore (I haven't used my nucleo during that time), I am using the same baud rate and same port com as before, I tried to run my older projects that use putty and same result, nothing appears. I have no idea what to do to try to solve it, please help. Thanks.

13 REPLIES 13

@dyMath6 wrote:

 I'm not sure what you mean by "expected COMx number",


I mean does the COMx number you're using in your terminal match the COMx number shown for the board in Device Manager?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

@dyMath6 wrote:

I'm left with the port drivers though I'm not sure where to look for that


In device manager double click or right click and select properties. The go to the driver tab.

unsigned_char_array_0-1762164888107.png

 

Kudo posts if you have the same problem and kudo replies if the solution works.
Click "Accept as Solution" if a reply solved your problem. If no solution was posted please answer with your own.
Andrew Neil
Super User

Have you tried the oscilloscope test yet to see if there is any activity?

Your NUCLEO-F072RB board has a jumper - CN3 - on the ST-Link section where you can probe:

AndrewNeil_0-1762165321796.png

 

Also probe on the Arduino CN9 header:

AndrewNeil_1-1762165505439.png

(and/or CN10).

 

Do you see activity on TX when the STM32 is transmitting ?

Do you see activity on RX when the terminal is transmitting ?

 

PS:

If you disable the TX & RX pins on the STM32F072 Target, you can put a jumper on CN3 and do a loop-back test from the terminal.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

@Andrew Neil wrote:

(and/or CN10)


Note that the Arduino D1 and D2 pins (CN9.2 & CN9.1) are connected to CN10 pins 35 & 37:

AndrewNeil_2-1762166052447.png

https://www.st.com/resource/en/user_manual/um1724-stm32-nucleo64-boards-mb1136-stmicroelectronics.pdf#page=30

via: https://www.st.com/en/evaluation-tools/nucleo-f072rb.html#documentation

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.