Digi Embedded for Android provides a command line tool, mca_config_tool, to configure internal variables of the Micro Controller Assist (MCA).

You can use the following application command line options:

Command line option Action

--help

Print help message (the information on this table)

--factory_reset

Perform a NVRAM reset to factory default settings.

--pwroff_boot_duration[=N]

Get/set the time in ms that the PMIC_ON_REQUEST line is de-asserted during system boot (register PWROFF_BOOT_DURATION)

--reset_delay[=N]

Get/set the delay in ms that the MPU reset line will be asserted after the PMIC power-on event, at system boot

--boot_mode[=MODE]

Configure the SOM boot mode by selecting between ‘W4PK’ (wait for power key) or ‘BOP’ (boot on power). If W4PK is selected, the system doesn’t boot until the MCA PWR_IO line is asserted low. This line is commonly connected to the power button. If BOP is selected, the SOM automatically boots as soon as power is applied

Get settings

You can read settings values from NVRAM. For example, to show the time that the MCA spends asserting the reset line, use the following command:

# mca_config_tool --reset_delay
Current Reset delay is 1 ms

Modify settings

You can modify settings and save the values to NVRAM. For example, to set a new value for the time that the MCA spends asserting the reset line, use the following command:

# mca_config_tool --reset_delay=50
Configuration saved.