- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I am using Eclipse and C/C++ to develop for the Intel Edison. I can successfully download and run an application over the virtual Ethernet over USB, but there appears to be no way to reset the Edison to accept a modified application without doing a full power reset. The Eclipse IDE does not have any obvious way to stop and clear the remote application - as I am used to seeing in other embedded debugging tools. This would be much easier than frequent power resets of the Edison target. Is there a way to do this from Eclipse? Or a way to do a soft reset without unplugging and re-plugging the Edision?
Thanks,
Aaron
- Marcas:
- Internet of Things
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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.
Link copiado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Thanks, killing the process works well.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
If you run/debug the app from Eclipse, open the console window and use the stop button from there.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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.
-Aaron

- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora