Forum: System Workbench for STM32

STLINK-V2/1 + Flashing external MCU

Hello, I have nucleo-board and I need to debug external MCU by stlink which installed on board. I moved off jumpers (CN4) and connect wires (CN6) to external MCU. When I flashing chip using ST-Link utility sowtware. Chip flashes as it expected but when I run or debug from system workbench (SW) I get no results. Chip stays as it was.
This is my openocd output:
Open On-Chip Debugger 0.10.0-dev-00007-g58350bc-dirty (2018-01-08-12:20)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter_nsrst_delay: 100
adapter speed: 950 kHz
Info : clock speed 950 kHz
Info : STLINK v2.1 JTAG v27 API v2 M15 VID 0x0483 PID 0x374B
Info : using stlink api v2
Info : Target voltage: 76.098462
Info : Stlink adapter speed set to 950 kHz
Info : STM32F103C8Tx.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : Stlink adapter speed set to 950 kHz
adapter speed: 950 kHz
Error: timed out while waiting for target halted
TARGET: STM32F103C8Tx.cpu - Not halted
in procedure ‘program’
in procedure ‘reset’ called at file “embedded:startup.tcl”, line 490
in procedure ‘ocd_bouncer’

    • Unable to reset target **

shutdown command invoked

What could be the reason? Dose anybody had such problem?

Tunisia
Could you please make sure that NRST pin is connected ?