Stewart Christie (Intel) Mon, 03/30/2015 - 14:44
There are a few ways to accomplish this. I usually have a Linux console connection, either via serial or via SSH. That allows me to kill the running process, in this case the program downloaded by Eclipse, ie by running "ps | grep myprog" where myprog is the name of the executable, and then using kill.
You can also open a console from within Eclipse.
The other option is to add a condition to your program eg a button press or other sensor that makes your program exit gracefully.
But as you found out reset, or a reboot will also work.
Aaron N. Wed, 04/01/2015 - 12:03
Thanks everyone. Both of these answers were helpful. The method in Eclipse to kill the running process works great. However, there are cases where the kill button in Eclipse becomes unavailable, so then it becomes necessary to run a console and use "ps" to see the process number and "kill <#>" to stop the process. Thanks again.