cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 board resets after "Connect" in STM32CubeProgrammer

VZele.1
Associate

I have an STM32H7B0 MCU mounted on a board, powered by external power source.

I'm trying to connect ST-LINK V2 to this board using STM32CubeProgrammer to perform memory dump during operation.

I connect ST-LINK to PC, then connect power source, and then power the device on.

However when i click "Connect" in STM32CubeProgrammer, system seems to reset and then doesn't function as usual.

I'm able to get the dump in this state, but it is irrelevant to me.

I'm connecting via SWD and tried the following:

- Connect/disconnect NRST wire

- Connect/disconnect VDD wire

- Use different modes: HotPlug, Under reset (software/hardware reset)

Every time I get the same behaviour.

1 REPLY 1
Bob S
Principal

You can configure CubeIDE to start a debug session without halting or resetting the CPU. I"ve used this to debug a running system. You can then dump the memory window. Tedious but should work. Might also be able to use OpenOCD to do this.