User's Guide

4.1.3. echo
Description
Enables/disables echoing the typed characters. Issued without a parameter, it
returns the current state. Default for echo is ON.
Examples
: echo
Echo is on
: echo off
4.1.4. ps
Description
Shows the RTOS threads, their state, CPU load and memory available. This
command is informative.
Usage
ps
Example
: ps
Thread Name State Prio %CPU Stack
=========== ===== ==== ==== =====
db-buffer Wait 96 < 1% 1068
cli-manager Wait 96 < 1% 1088
cli-cdc1 Run 96 < 1% 2424
comm-worker Wait 96 1% 1360
mpi-worker Wait 96 < 1% 2812
sdi-worker Wait 96 < 1% 1116
cron Wait 96 < 1% 1124
main Wait 32 < 1% 1752
idle Ready 16 97% 536
Heap: 182KB free out of 247KB available
Uptime: 12d, 3h, 45m
4.1.5. date
Description
Shows/sets the system date.
Usage
date {[-u] | [ hh:mm:ss [ dd/mm/yy ]]}
date -c [ +/-ppm ] to show/set the RTC calibration factor
date -tz to show the system time zone
date -r to show the RTC's reference frequency (in Hz)
If the option -u is used, the date will be displayed as UTC.
Remarks
Using the -c option, a calibration factor can be entered to increase the clock
precision. The parameter can take values from -511 to +511 and represents ppm
(parts per million).
The frequency displayed when using the -r option is only indicative, as it is
measured using the microcontroller’s reference crystal. The crystal has an error
marge of ±50 ppm, which is actually lower than that of the RTC (±20 ppm).
Examples
: date
Local time: Mon Apr 2 16:50:48 2020
: date 11:30:0 30/05/2020 -> set date and time
: date 11:30:00 -> set only time
: date -c
Calibration register 0
17