2019-06-24 01:46 AM
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.
2019-06-24 05:35 AM
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.
2019-06-24 06:14 AM
Thanks for the response @Community member
I have tried to conne
2019-06-24 07:16 AM
Need to connect via UART, not ST-LINK
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.
2019-06-27 05:19 AM
thanks @Community member problem solved, it was boot pin, my controller was not going into boot mode.