mcx-rtos v.2021.09 Start/Stop/Restart

How to Start, Stop and Restart Motorcortex.

Normally a Motorcortex application is configured to automatically boot when the machine is powered on. However it may be required for the software to be stopped or restarted in a different mode. This chapter shows how Motorcortex applications can be started, stopped and restarted.

Log into the system from the console using a screen or keyboard or through ssh as described in Remote Access & File Transfer.

Start

Start the Motorcortex application:

sudo /etc/init.d/motorcortex start

Stop

Stop the Motorcortex application:

sudo /etc/init.d/motorcortex stop

Restart

To restart back to the normal operation run:

sudo /etc/init.d/motorcortex restart

Start Sim

Start the Motorcortex application in simulation mode:

sudo /etc/init.d/motorcortex startsim

Restart Sim

Switching an already running system to simulation mode execute:

sudo /etc/init.d/motorcortex restartsim