Hello, With Keil uvision4 it is possible to exit debug mode / exit Keil, while the target is still running. With uvision5 I can't find a way to do this. Why so? It is a problem for me because in one project I just want to start the debugger so to start the target, and after that I don't need the debugger anymore. Rgds Gelika
In "Options for Target - Debug - Settings - Flash Download" you can enable "Reset and Run" option. Then, in this way every time after you flash your app into the device, the device will start running automatically without having to starting it via debugger.
Or after you start your app via debugger and make it running, you can simply unplug the debugger cable. Your app will keep running on the target device. There will be a warning shown up in uVision, but you can ignore it. Afterwards you can follow this guide to reconnect to a running target without hardware reset: http://www.keil.com/support/docs/3697.htm
Thanks for the suggestions. I will try the reconnection without reset. And I will kill the process to avoid stopping the target when disconnecting... Hope it will do the trick. The point is that I want to automatise the SW launching, so there is no way to press reset button or to disconnect the cable!