Skip to main content
PPati.18
Associate II
Jun 8, 2019 9:40 AM UTC
Question

How can use st-link as a uart for STM32L072CZ ?

How can use st-link as a uart for STM32L072CZ ......?

We have CMWX1ZZABZ-091 LoRa module, this module contain STM32L072CZ mcu.

When we connect this module using STLINKv2, com port is not showing.

I could not able to do programming to this module.

How can we program this module, can any one help me ?

Following ST Link v2 i am using

0690X000008iOKxQAM.png

CMWX1ZZABZ-091 LoRa module

0690X000008iOL7QAM.png

Thanks.

This topic has been closed for replies.

5 replies

Uwe Bonnes
Chief
Jun 8, 2019 10:27 AM UTC

First, you have an Stlink clone, not a STM genuine one. Look at the print on the clone and connect clone TX to target RX and vice versa. If you want a known working setup, get a STM32 LoRa Discovery kit.

Tesla DeLorean
Guru
Jun 8, 2019 10:48 AM UTC

The ST-LINK V3 provides a serial port.

You could use a USB to CMOS Serial type adapter or use a MAX3232 type chip to get to RS232 levels.​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
S.Ma
Principal
Jun 8, 2019 10:54 AM UTC

Not an ST STLink V2, looks like anyone can use ST logo these days...

Here is the right one:

 

The 20 pin JTAG connector has USART pins wired.

Same for STLinkV3

Uwe Bonnes
Chief
Jun 8, 2019 11:09 AM UTC

Those clones like the one above are clone the Stlink of a STlink V2 as on a nucleo board. So Uart is implemented.

Tesla DeLorean
Guru
Jun 8, 2019 1:28 PM UTC

Some of them are V2-1​ models, the OP says he doesn't get a VCP, so I lean against that.

​

I'm using the V3 with these Murata devices.​

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