0

I am using stm32f103ze with jlink plus debug probe and stm32CubeIde

1.When I generate the necessary code for my controller and press the RUN button in STM32CubeIde , the program is loaded to flash but does not start running(for example led does not start blinking) But when I power down the controller and power on again the program starts executing(led starts blinking)

  1. When after programming the program does not start executing , and I press the program button again, The program starts executing

My Question is why is this behavior when the behavior should be identical each time I press the RUN button Is it necessary to power down the controller.can we not get the program executing just after flashing it ?

glts
  • 21,808
  • 12
  • 73
  • 94
huzi
  • 1
  • 1
  • I've seen issues like this in the past, and messing around with the "Reset behaviour" setting in the run configuration seemed to help. (Options like "connect under reset", "hardware reset", etc.) But I never fully understood it. Only seemed to happen on certain boards with certain software. I was using an ST-Link so not sure if the same applies to J-Link. – pmacfarlane Oct 26 '22 at 20:31

0 Answers0