General Commands - atmel-maxtouch/mxt-app GitHub Wiki

General Commands

-h [--help] : Display a brief summary of available options and exits
-I [--info] : Print the ID information and object table
-M [--messages] [*timeout*] : Prints the messages until timeout seconds have passed. If no timeout is provided,
                              continue until the user presses Ctrl-C. Zero timeout reads once. 
                              Provide -F [--msg-filter] TYPE option to filter by a specific object.
-F [--msg-filter] TYPE : message filtering by object TYPE

EXAMPLES -- Display T72 messages for 3 seconds with a filter type for T72

./mxt-app -M3 -F72

MXT MSG:25 10 02 0C 01 00 20 00 00 00
MXT MSG:25 10 02 0C 01 01 20 00 00 00
MXT MSG:25 10 02 0C 01 00 20 00 00 00
MXT MSG:25 10 02 0C 01 01 20 00 00 00
MXT MSG:25 10 02 0C 01 00 20 00 00 00
Readmsg: Timeout 3s reached

The following commands will reset, calibrate or save golden references:

--reset     : Reset the device, equivalent to software reset of device
--calibrate : Sends calibrate command
-g          : Captures and stores a set of golden references, if object is available

The following self-cap tuning commands will request the chip firmware to tune the self-cap parameters and store the parameters in non-volatile memory (NVRAM) outside the configuration memory area, or as part of the configuration RAM.

--self-cap-tune-config : Tune and calibrate the self capacitance settings and store them to the device configuration
                         RAM
--self-cap-tune-nvram : Tune and calibrate the self capacitance settings and store them to NVRAM with no update to
                        the Config CHECKSUM.

 --version : Print version of mxt-app
 --block-size [*BLOCKSIZE*] : Sets the I2C block size for i2c-dev reads and i2c-dev bootloader writes. (Default 255
                              bytes).