Ok, so I've opened the case of the st-link and labels on the pcb match the one on the case, I also tried to swap the swdio and swclk with vdd disconnected of course but as soon as i entered the openocd command the lcd screen went off and it is not turning on anymore, maybe i need to disconnect the battery from the pcb and attach it again, I also found a j-link edu mini debugger i will also try this one. It will be good to know it is mandatory to do some sort of unlock of the mcu before I can actually use the swd port to reprogram it. Anyway @fanoush thank you so much for your time !!
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Ok, so I've opened the case of the st-link and labels on the pcb match the one on the case, I also tried to swap the swdio and swclk with vdd disconnected of course but as soon as i entered the openocd command the lcd screen went off and it is not turning on anymore, maybe i need to disconnect the battery from the pcb and attach it again, I also found a j-link edu mini debugger i will also try this one. It will be good to know it is mandatory to do some sort of unlock of the mcu before I can actually use the swd port to reprogram it. Anyway @fanoush thank you so much for your time !!