Using the MCU Console
After 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: 115,200 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. |
date [0x12345678] |
Set date = 0x12345678 on Aurix in seconds(Unix style). |
version |
Show the current flashed/running firmware version. |
cansetbr [a|b|c|d|e|f] [125|250|500] |
Switch baudrate of requested CAN channel to supported baudrate. |
cycliccanon [CAN|CANFD|CANEx|All] |
Switch on Cyclic CAN/CANFD/CANEx messages (for AURIX). |
cycliccanoff [CAN|CANFD|CANEx|All] |
Switch off Cyclic CAN/CANFD/CANEx messages (for AURIX). |
i2cread x y z n |
Read 'n' bytes from device 'y' at offset 'z' of I2C-controller 'x' (all hex-byte-values). |
i2cscan [0] |
Scan all connected I2C devices at I2C module 0. |
i2cwrite x y z n b0 b1 ... |
Write 'n' bytes to device 'y' at offset 'z' , values Byte-b0, Byte-b1 .... of I2C-controller 'x' (all hex-byte-values). |
inforomdump |
Dump the Inforom content in hex format. |
help |
Show all available commands supported. |
poweron |
Turn main power on and release Tegra resets. |
poweroff [safeshutdown] |
Set the outputs to system power off state. |
readNvRam |
Read NvRam content. |
setdfltbtchain [x1] [A|B|C|D] |
Set default boot chain configuration for Tegra x1 to A|B|C|D. |
getdfltbtchain [x1] |
Get default boot chain configuration for Tegra x1. |
setnxtbtchain [x1] [A|B|C|D] |
Set next boot chain for Tegra x1 to A|B|C|D. |
getnxtbtchain [x1] |
Get next boot chain configuration for x1. |
tegrarecovery [x1] [on|off] |
Set Tegra X1 in recovery mode. |
tegrareset [x1] [h] |
Reset Tegra X1. Default is 'X1'. If 'h' option is supplied, then hold the specified Tegra in reset. |
gptpon |
Enable Aurix as PTP master. |
gptpoff |
Disable Aurix as PTP master. |
status |
Display the Aurix internal status. |
setnetworkconfig [0-10] |
Set network configuration. |
getnetworkconfig |
Get network Configuration. |
show_fanrpm |
Show RPM of all fans. |
set_fanpwm [1|2] [DutyCyclePercentage] |
Set Fan PWM, that is, duty cycle. |
get_temperature |
Get temperature. |
send_temperature [Temperature] |
Send temperature. |
set_tmonerror
[init|rdwr|lcltgl|rmttgl|tmonalert|tmontherm] |
Inject false case. |
setistconfig [config] |
Set Tegra IST configuration. |
istabort |
Abort IST. |
getistinfo |
Get Tegra IST information. |
getistconfig] |
Get Tegra IST configuration. |
getistresult [ [SeqNo] ] |
Get Tegra IST results. |
entersc7 |
Enter SC7 power mode. |
exitsc7 |
Exit from SC7 power mode. |
readvrs10status |
Read VRS10 status register. |
readvrs11status |
Read VRS11 status register. |
vrs10injecterror [inputs|regwrite|nirqtoggle] |
Inject faults in VRS10. |
vrs11injecterror [regwrite1|regwrite2] |
Inject faults in VRS11. |
vrs12injcterror [overror|uverror|wrongcrc|plauscheck] |
Inject faults in VRS12. |