"Program chip" not working as expected
Hello,
This is the right menu to program without debugging.
Did you terminate the debug session before trying the Target => Program ?
If not, the STlink is already opened and the connection to program the file will fail.
Check that you havn’t any openocd running and it should work.
Rgds,
Laurent