Running User-Developed Real-Time Applications
You can use the eRTOS Application batch file, AutoStart.bat, or eRTOS Console to run real-time applications.
To configure the Real-time Kernel for running real-time applications:
- Navigate to
<InstallDrive>\MaxRT\eRTOS\
. - Right-click Edit to modify the RtKrnlConfig.ini file.
- Set the EnableRtssJig value to the following:
EnableRtssJig = 00000001 ;dword
To run real-time applications:
- Navigate to
<InstallDrive>\MaxRT\eRTOS\
. - Right-click AutoStart.bat and select Edit.
- Add an Run command pointing to the desired application.
- Reboot the system from a GRUB bootable USB drive or hard drive.
- Select the desired GRUB boot configuration. See GRUB Boot Configurations for more information.
- Upon system boot, the application(s) will run automatically after the Real-time Kernel start-up.
- Application output will be displayed on the screen when the program ends.
- Reboot the system in its Windows Boot Configuration.
- Navigate to
<InstallDrive>\MaxRT\eRTOS\
. - Open the RtLogFile.txt log file to view application output.
To run applications using eRTOS Console:
- Boot the system from a GRUB bootable USB drive or hard drive.
- Select the desired GRUB boot configuration. See GRUB Boot Configurations for more information.
- Once eRTOS has started, and the Console has initialized (indicated by a “C:\>” near the bottom of the screen), type Run followed by the path for the application to run.
- Press Enter.
- Output for the application will be displayed on the screen.
- Output which exceeds the length of the screen can be inspected by either opening the log file in Windows as described above, or by scrolling through the output history with the Page Up and Page Down keys.