In general, debuggers will lose their connection when the target power is lost. Also if the CPU goes to sleep. when you power up device so IAR workbench need your device id to respond you are doing power cycle so yor debug code is not clean in your board and it blocks device connection path to send target board's device id to iar software via st-link utility
With over 2.5 million reviews, we can provide the specific details that help you make an informed software buying decision for your business. Finding the right product is important, let us help.