cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7S78-DK EvalKit Use own Debugger

awakenx1
Associate

Hello Community,

I want to use an external Debugger (Segger) with this Board. For this the jumper JP3 is left open to hold the STM32F7 (ST-LINK) in RESET.

I attach the Segger to CN8. When connecting I get following message:

 

 

Connecting to target via SWD
ConfigTargetSettings() start
ConfigTargetSettings() end - Took 7us
InitTarget() start
SWD selected. Executing JTAG -> SWD switching sequence.
DAP initialized successfully.
Can not attach to CPU. Trying connect under reset.
SWD selected. Executing JTAG -> SWD switching sequence.
DAP initialized successfully.
Connecting to CPU via connect under reset failed.
InitTarget() end - Took 110ms
ConfigTargetSettings() start
ConfigTargetSettings() end - Took 18us
InitTarget() start
SWD selected. Executing JTAG -> SWD switching sequence.
DAP initialized successfully.
Can not attach to CPU. Trying connect under reset.
SWD selected. Executing JTAG -> SWD switching sequence.
DAP initialized successfully.
Connecting to CPU via connect under reset failed.
InitTarget() end - Took 111ms
Cannot connect to target.

 

 

 

So it seems the basic SWD connection works but accessing the core debug registers not. The NRST signal for the STM32F7 is high all the time.

Are there other prerequisites to run an external debugger?

 

Greetings

Martin

 

0 REPLIES 0