Start/Stop/Restart
less than a minute
This page is applicable for the latest image version mcx-rtos-v.2024.01
. For other mcx-rtos-images checkout: Older versions.
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.
Prerequisites
- Laptop
- Motorcortex.io account
- Motorcortex Controller with running a application connected to laptop
Log into the Motorcortex controller from the console using a screen and keyboard or through ssh as described in Remote Access & File Transfer.
Virtual machine note
If a Virtual Machine is used it is convenient to put Motorcortex into Simulation Mode to prevent errors because there is no hardware connected.
Status
Check the status of the motorcortex application:
motorcortex status
Running: no
Running: yes
Start
Start the Motorcortex application:
sudo motorcortex start
Stop
Stop the Motorcortex application:
sudo motorcortex stop
Restart
Restart the Motorcortex application:
sudo motorcortex restart