Skip to main content
Vijay1
Associate II
June 24, 2019
Question

STlinkV3, UART Port is not showing on STM32Cube Programmer

  • June 24, 2019
  • 3 replies
  • 1693 views

Hi All,

I am using STM32L071KZ in my application. In my design I made the controller to program via UART2.

When I connected St Link V3 to my PC its showing only Following mode to program:

JTAG, SWD, SPI, I2C and CAN but not UART.

To know more please see the attached image

Datasheet https://www.mouser.in/datasheet/2/389/stm32l071v8-956308.pdf

To program the STM32L071KZ I am using UART2 to program.

When I am connecting to ST-link-V3 , its showing me error.

I read on the website saying to make ST-Link V3 in bridge mode we need to update the firmware, I don't know how to do this.

If anyone know ho to program STM32 using UART please help me out.

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
June 24, 2019

There is a firmware update button for the ST-LINK, and stand-alone update tools a Google search away.

Doesn't look like you've wired the power up properly if it reports 0V

The ST-LINK/V3 should come up with a COM port independently of the STM32 Cube Programmer, check drivers, check device manager.

The COM port would then be picked via the UART menu option, not SWV. Your screen shot blocks useful information.

You would pick UART in the top drop down list for Port, not SWD

The TX pin on the ST-LINK/V3 interface board goes to the USART_TX pin on the STM32, same for RX/RX

Start at a low speed, say 9600 8E1

Try also SWDIO/SWCLK connectivity to you device, confirm it is functional.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Vijay1
Vijay1Author
Associate II
June 24, 2019

Thanks for the response @Community member​ 

I have tried to conne0690X000008j64ZQAQ.png

Tesla DeLorean
Guru
June 24, 2019

Need to connect via UART, not ST-LINK

0690X000008j7tdQAA.jpg

Board needs to actually be functional. Must reset with BOOT0 HIGH, and NOT have noise on other interfaces the loader is looking at. It is a ONE SHOT deal, you get one chance after each reset to connect.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Vijay1
Vijay1Author
Associate II
June 27, 2019

thanks @Community member​ problem solved, it was boot pin, my controller was not going into boot mode.