Skip to main content
SYun.2
Associate II
Jun 9, 2021 9:53 AM UTC
Solved

Can 'ST-LINK V2' be used in 'DISCO-L072CZ-LRWAN1'?

Development Environment: KEIL (Free License)

보드 : DISCO-L072CZ-LRWAN1

Hello

To build a monitoring system with the LoRa protocol now.

It is being developed as a 'DISCO-L072CZ-LRWAN1' board.

I turned off the 'ST-LINK' built into the board to check the minimum current in the 'STANDBY mode' (removed SB37).

I have a 'ST-LINK V2'.

Can I connect my current 'ST-LINK' to 'DISCO-L072CZ-LRWAN1' for flashing?

I thought using the SWD interface in CN8 would be a flash.

So we connected SWD PINs of 'ST-LINK' and 'DISCO-L072CZ-LRWAN1'.

 I tried to flash by connecting 'SWCLK' pin and 'SWDIO' pin on 'CN8' No.2 and No.4

However, neither 'KEIL' nor 'ST-LINK utility' recognized the board.

I would appreciate it if you could let me know if I'm taking the wrong approach.

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Jun 9, 2021 10:14 AM UTC

You'd also need a common ground and the VTarget on the ST-LINK's pin 1 or 2 to power the buffers.

​

I've always used the on board ST-LINK, you might want to review the schematic thoroughly. ​

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

3 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Jun 9, 2021 10:14 AM UTC

You'd also need a common ground and the VTarget on the ST-LINK's pin 1 or 2 to power the buffers.

​

I've always used the on board ST-LINK, you might want to review the schematic thoroughly. ​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
SYun.2
SYun.2Author
Associate II
Jun 10, 2021 12:37 AM UTC

I didn't write about the GND.

Of course, we connected the common GND.

Does 'VTarget' mean to connect the power of the board to STLINK?

Did you mean 'board ST-LINK' included in the board? If correct, I posted a question because I wanted to remove the power of the ST-LINK and connect the external ST-LINK for development.

Thank you for your answers.