User Activity

My code runs without issue when the STM Nucleo is connected to the laptop, but if I try to run it without connection to PC, I have to press the reset button before the code will run.I am using STM32CubeIDE and cannot find a solution relevant to that ...