Command syntax#
The command line interface (CLI) is text-based, that is, only printable characters are used. The user can interact with the board using some commands such as a regular command prompt. This process requires a serial terminal application such as Tera Term/Putty. Line processes commands, that is, all information needed to process a command is contained in one line. Lines are terminated with the “line-feed” character. A command consists of one or more space separated words where each word, except the first, can be a command, submenu, or value (of any type; integer/hex/character/string). The first word cannot be a value. All commands are constructed with menus, which consist of commands and/or submenus. Commands can have zero or more value arguments.
Implicit commands#
The command-line processor has two implicit commands:
“help” or if no <name> is specified – this command shows all available commands/sub-menus in the selected menu.
“show” – this command shows the current values of all readable items in the selected menu.
Parent topic:Command syntax
Command response#
The device does not echo back the commands given to it. However, the device can respond to each command received immediately and with a single line, except the “range”, “help”, and “show” commands. The “range” commands also have a delayed response.
The response for single-line commands is “<last-subcommand>: <value>”. All responses are terminated with one “line-feed” character.
Parent topic:Command syntax
Boot message#
When the device boots, it displays the following information:
Software version number of the application
Git hash and build date
The reset reason of the device, for example, PIN, SW, WATCHOG
Parent topic:Command syntax
Parent topic:Embedded firmware command reference