MX Foundation 4
Command Line Tools

Host

MX Foundation comes with some command line tools. The executables of these tools are located in the “mx_foundation/bin/utilities” directory.

To connect locally, simply hit enter at the Server Address prompt.
To connect with Ethernet, simply enter the MXF server's IP address at the Server Address prompt.
To connect with USB, simply enter usb:x at the Server Address prompt where 'x' is the device index (ex: usb:0).

deviceinfo

Displays information about detected MAXT devices and modules, performs an external device memory selftest, and displays information about the installed software. The results are stored in the deviceinfo.log file in the maxfiles directory.

deviceprog

Upgrades the firmware of devices. The results are stored in the deviceprog.log file in the maxfiles directory.

flexchangeip

Allows the user to change the IP address and netmask of a MAXT Flex device. Can be useful when DHCP is not used. With FlexMulti device, the last digit will not be used, it is overridden by dip switches.

Command line usage:

flexchangeip [device_index new_ip_address new_ip_netmask [mxf_server_address]]

ex: flexchangeip 0 192.168.0.2 255.255.255.0 192.168.0.1

flexchangeacl

Allows the user to change the ACL for a MAXT FlexMulti Ethernet device. Can be useful to change the default username/password of MAXT FlexMulti Ethernet server.

embeddedmon

The embedded monitor tool displays the “printf” formatted output generated by the MX-Embedded code.

perfmeter

Displays the device CPU Usage and reports error statistics.


Embedded

MX Foundation also comes with some command line tools specific to embedded programming. The executables of these tools are located in /maxfiles directory.

selftest

Performs a quick selftest on the device. Use -oi option to use internal loopback for the test.

deviceinfo

Displays information about detected MAXT devices, modules, and installed software. The results are stored in the deviceinfo.log file in the maxfiles directory.

Updated 10/22/2017