Question
Target not responding, retrying but code is working
- 3 replies
- 1990 views
Hey everyone!
I'm using STM32U083C-DK dev board which has STM32U083MCT6 MCU on it.
Using STM32CubeIDE, I tried to put the device in Stop2 mode (one of the low power modes) entire time and when a button is pressed, it wakes-up, Blinks an LED and again go to Stop2 mode.
The issue is, When I run the code, it is working fine but in the console it is showing "Target not responding...retrying". Why?
Also, when I try to debug the code, it is getting stopped at "MX_GPIO_Init" itself and showing "Target not responding...retrying"
So, can anyone explain what's happening here and how to fix this?
I attached the .ioc and main.c files for better understanding my issue.
