A bit of a late reply...BUT.. you can use EXTI, set for both edges.EXTI interrupt starts a timer if not started (say 1ms intervals). It also sets a counter to say 5.Each Timer interrupt you decrement the counter (but not past 0), when it reaches 0, ...
Well ST confirmed the "Disconnect" button is just that.. it disconnects the unit.. no cleanup at all.Hopefully the next person searching for this answer will find this useful...
Hi.How are you getting on with this.. I have the same issue but a different processor and have raised a support case.I suspect you are using the "Download" button on the first tab...try the "Erase & Programming tab" (second tab)Load the File Path, Ti...