NetBurner 3.1
Serial Interface

Serial Config Server

In addition to the web interface, it's possible to navigate and modify the config record through a serial terminal. To do this, you will need to enter the serial config server through the BootUart using a method defined by the SerialConfig option in the Boot settings outlined above. The most common method will be to type in the string specified by the Abort setting listed in the Boot settings. This should be done when the module is first booting, and the text, "Type \"<Abort value>="">" to Abort boot..." comes through the serial terminal.

When this is typed into the terminal while booting, you should see a > prompt, as shown in the image below.

SerialConfigPrompt.png
Serial Config Prompt

Navigating through the config data via the serial menu has been designed to operate much like a standard file system. Typing the name of a config object will move you into that section of the config data, much like navigating into a directory through a command prompt. Where you are in the config structure will be displayed at the prompt. For example, from the initial prompt, >, if you were to type Config.Sys and hit enter, the prompt would then read Config.Sys.>, illustrating that you are currently at the system settings for the config object.

In addition, several commands have been added to aid in navigating and modifying the config data, as well updating the device. Typing "help" at the prompt will display a list of these commands. Each of these is explained below.

  • help: Displays the commands that can be used in the serial config system.
  • boot: This will exit the serial config server, and continue to boot the user's application.
  • reboot: This will reboot the module.
  • flash: This will allow to you upload a new application serially. To do this in MTTTY, after typing this command hit "F5" to open a file dialog box and select a new .bin file to upload.
  • <configvar>?: Type the name of a config variable followed by a "?" to list the config structure underneath the config variable specified. For example, typing Config? will show the entire contents of the config structure, while Config.Sys will show all of the system settings.
  • <configvar>=<value>: This will assign a value to a specific config variable.
  • ..: This will take you up one level in the config object structure from the current position.
  • ls: This will show the current level of the config object.
  • save: This will save any changes made to the values stored in the config object.