ST-Link_V2_clone to SWD pinout
Posted: Sun Jan 23, 2022 10:54 am
I'm trying connect to a Nucleo STM32F072 board using the SWD interface.
I can program the board with the blink program but I need to disconnect the SWD cable after programming every time and connect a different cable (USB) to power the board to test the new program.
What I would like to know, is it a matter of wrongly connecting the 2 connectors or is it a bug in the Chinese clone programmer?
EDIT:
I am using the Arduino IDE to compile
The .ELF file is located in linux directory: /tmp/arduino_build_XXXXXX
STM32CubeProgrammer is used to program the device
I can program the board with the blink program but I need to disconnect the SWD cable after programming every time and connect a different cable (USB) to power the board to test the new program.
What I would like to know, is it a matter of wrongly connecting the 2 connectors or is it a bug in the Chinese clone programmer?
EDIT:
I am using the Arduino IDE to compile
The .ELF file is located in linux directory: /tmp/arduino_build_XXXXXX
STM32CubeProgrammer is used to program the device