But i not expert in this thing i have an exist pcb baord(product) using STM8L052. I'm trying to connect it directly but using ST device to read or write on mcu. but no idea how to connect ST-Link to mcu pin also don't know it's possible or not.
On STM8L052C6 i find VDD(pin10), GND(pin9),RESET(pin2) but no idea for data pin.