Getting Started
Page 39
»
Print a list of all possible parameters of the
xm01bc_ctrl
tool
:
»
For example, if you want to look up the voltage values, use the following command:
$
sudo xm01bc_ctrl <device name>
<device name> is a place holder for the name of the device
Usage: xm01bc_ctrl [<opts>] <device> [<opts>]
Function: Control XM01BC PIC
Options:
device device name
-v show voltage values
-s do voltage supervision (requires option -v)
-r=0xdead perform SW warm reset (!! dangerous !!)
-R=0xdead perform SW cold reset (!! dangerous !!)
-e show error counters
-c clear error counters
-n get number of error counters
-f show firmware revision
-F show firmware revision extended
-w show last reset reason
-x show last error
-y show power failure flag
-z clear failure registers
-o show operating hours counter
-p show power cycle counter
-l get LED state
-L=<state> set LED state
-u get power resume mode
-a get EXT_PWR_OK resume mode
-b get RESET_IN mode
-h get hardware variant ID
-q exit QM-Mode (for production tests only)
(c) 2008 by MEN mikro elektronik GmbH
$
sudo xm01bc_ctrl -v xm01bc_1