Using the MCU Console

Once the target is connected, the MCU prompt displays in the serial console. Use the MCU console to run commands and get information from the MCU.

UART Settings

The serial communication settings for the MCU console are as follows:
Baud rate: 115200 bits per second (bps)
Data: 8-bit, no parity, 1 stop

MCU Console Commands

The MCU console commands are as follows.
Command
Description
aurixreset
Power cycle board including AURIX.
cemode [read|write] [n]
Reads or write CE Mode in the InfoROM.
cimrom get sku
Gets the information from CIM I2C ROM.
date [0x12345678]
Sets the date = 0x12345678 on AURIX in seconds (Unix style).
help
Displays the supported commands.
i2cread x y z n
Reads 'n' bytes from device 'y' at offset 'z' of I2C-controller 'x' (all hex-byte-values).
i2cscan [0|1]
Scans all connected I2C devices at I2C module 0 or 1.
i2cwrite x y z n b0 b1 ...
Writes 'n' bytes to device 'y' at offset 'z' , values Byte-b0, Byte-b1 .... of I2C-controller 'x' (all hex-byte-values).
inforom [dump]
Dumps the InfoROM M24C02 content in hex format.
poweron
Turns main power on and allows resets.
poweroff
Sets the outputs to system power off state.
readNvRam
Reads NvRam content.
setdio [0|1] [on|off]
Sets DIO pin on Aurix '0 = AURIX_LED1 | 1 = AURIX_LED2' to on/off.
tegrarecovery [x1|x2|cvm] [on|off]
Sets the device in recovery mode.
tegrareset [x1|x2|cvm] [h]
Resets the device. Default is X1. If -h option is supplied, then holds the specified SoC in reset.
cansetbr [a|b|c|d|e|f] [125|250|500] [2000]
Switches the baudrate of requested CAN channel to supported baudrate.
cycliccanon [CAN|CANFD|CANEx|All]
Switches on cyclic CAN/CANFD/CANEx messages
cycliccanoff [CAN|CANFD|CANEx|All]
Switches off cyclic CAN/CANFD/CANEx messages
gptpon
Switches gPTP on (AURIX as PTP master).
gptpoff
Switches gPTP off.
status
Displays the AURIX internal status.
bootstrap [x1|x2] [qspi|emmc|ufs]
Configures strap settings for boot medium.
Applies to QNX:
setl3ssstate [on|off]
Enables/disables the L3SS Safety Service. The aurixreset command must be executed after setting the state to ON or OFF.
Applies to QNX:
getl3ssstate
Gets the current L3SS Safety Service state to identify where it is ON or OFF.
version
Shows the software version.
setdfltbtchain [x1|x2] [A|B]
Set default boot chain configuration for Tegra x1/x2 to A or B
getdfltbtchain
Get default boot chain configuration for Tegra x1 & x2
setnxtbtchain [x1|x2] [alt|bflt]
Set next boot chain for Tegra x1/x2 to alternative/default
getnxtbtchain
Get next boot chain configuration for x1 & x2
sethyperionconfig [0-3]
Set Hyperion Configuration to any of the below supported configuration.
0 - Non- hyperion
1 - Hyperion - 7
2 - Hyperion – 8 DDPX_A
3 – Hyperion – 8 DDPX_B
Note: Executing Command with any Non-Decimal value will default to 0- Non-hyperion
gethyperionconfig
Get configured Hyperion configuration
Debug Commands
nvptp_dbg [0-6]
Change nvptp debug level
0 - none
1 - admin
2 - fatal
3 - error
4 - warning
5 - trace
6 – xtrace
read_tegraData
Get the information related to Xavier published by PSM.
read_powerstate
Get the current state of PSM.
standby
Requests PSM to transition to standby state.
standby_exit
Requests PSM to exit the standby state.
forcepowerdown
Turns off the system forcefully and requests PSM to transition to power off state.
psm_inject_error [error_code] [error_type]
Injects errors to verify the behavior of PSM module on invalid requests.
For example,
psm_inject_error poweroff_err pre-conditions – Requests PSM to transition to power off state when pre-conditions for the transition are not met.
mcuerrorlog [enable|disable]
Enables/Disables the logs printed when PSM reports the errors.
errorinjection [enable|disable]
Enables/Disables error injection in PSM module.
Setdfltbtchnerr [ifid|blkid|size|crc|data|nores|notsup|invresp]
Corrupt default bootchain Request-command to verify the behavior of Bootchain config module on invalid requests.
For example,
setdfltbtchnerr ifid – Sends the invalid interface ID in the bootchain request.
Setbtchndata [default|invalid]
Set Bootchain data stored in InfoROM to default/invalid.
mrvl5050_dbg [set|get] [0|1]
Enable/Disable debug of Marvel 88Q5050 Switch.
For example,
“enable mrvl5050_dbg set 1” to enable Marvel 88Q5050 debugging.
“enable mrvl5050_dbg set 0” to disable.
“mrvl5050_dbg get” to get current debug status.