I am trying to obtain real time variable reading in STM Studio But When My STM Board starts running program My STM Studio was unable to detect STLInk V2 and My program Runs only in Flash Mode. I am using ST Link Utility for programming My STM32 Board. In my program I toggle LED to know that program is running. And I also declared variables for real time debugging. The Board does not start to run program when programming is done using ST Link Utility. Instead when I set device to flash mode code runs but device is not detected by STM Studio and ST Link Utility.