In our setup several devices are suddenly not working anymore, power off and power on is not working. However, if I connect the debugger it suddenly starts working.
So the flash image is not damaged, but some kind of state is destroyed, which seems be only restored if I connect the debugger.
Since the debugger itself is affecting the state, it is impossible for me to debug this problem. What can be the cause of this problem.