Remotely resetting a STM32H7 eval board
I want to remotely reset and start a STM32H753 eval board.
The board is connected to a PC through STLink and on this PC I run STLink-gdb-server in persistent mode.
ST-LINK_gdbserver.exe -d -e -v -p 61234 -a 400000000 -b 200 -i *** -cp "***"On my development PC, I want to use gdb to reset the target, start execution.
The following works except that if I execute the command a second time, it terminates the gdbserver executable.
$(GDB) -q -ex "set confirm off" -ex "target extended-remote ***:61234" -ex "monitor reset halt" -ex "detach" -ex "quit"According to gdb user manual, the detach command should not terminate gdbserver in "extended-remote" mode.
i tried several variations of the gdb command line but none of them is working.
Any idea ?
