User Activity

HiI am currently controlling a Fluke serial device over RS232 from a laptop and python script.  I simply send requests for information which is returned and logged in my laptop.  I'm using a Startech RS232 to USB lead incorporating the Prolific - PL2...
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 ...