Why is M4 reset multiple times when entering debug mode?
Is there any reason why M4 is reset multiple times when entering debug mode in STM32CubeIDE? Is this normal?
For example, in the case of an application that toggles GPIO, GPIO defaults to low while entering debug mode, then toggles, then goes low and toggles again. When entering debug mode completely, GPIO stays low and then toggles. (Original operation)
It doesn't matter whether it completely enters debug mode and works, but it seems that m4 is reset several times while entering debug mode. I want to know why and is this normal?
