target is not responding, retrying
I have a program with various tasks, in one of these I send a request and, after that, I wait for a response, so I have a cycle like this
SendRequest();
do
{
WaitResponse();
DelayMillisecondS(200);
}while (Timerisnotexpired());
the Problem is that the answer takes time to be given and I receive messages like this "Target is not responding, retrying...", sometimes I receive a sequence of this messages and the debug connection terminates. Probably, the clock to the stlink fails, but I don't know how to make up with this. I have lowered the frequency of swd interface and I have enabled "Suspend watchdog counters while halted", but the problem remains.
Any help would be appreciated.
Thank you
Isabella
