st-util: Fix for connecting to running devices
st-util: Fix for connecting to running devices

Previously, even with the reset enabled, st-util would not connect
to a target if it was running. This change will reset the chip
when opening the connection, which allows st-util to connect
successfully.

Signed-off-by: Greg Meiste <ec456a2eb771f211fa895f2bc348a20f3d0f7af5@motorola.com>

gtalusan/stlink,gtalusan/stlink,simonjwright/stlink,simonjwright/stlink