UART execute commands - Geowissenschaften/EXCISS GitHub Wiki

UART protocol and command lists


evg

evg = execute vibration go

Parameter:

  • none

Exampe:

  1. SCU -> MCU : evg
  2. MCU -> SCU :
RX_SCU = evg
[ VM ]
start = 1

evs

evs = execute vibration stop

Parameter:

  • none

Exampe:

  1. SCU -> MCU : evs
  2. MCU -> SCU :
RX_SCU = evs
[ VM ]
stop = 1

etk

etk = execute timer keepalive

Parameter:

  • int value
  • unit is seconds

Exampe:

  1. SCU -> MCU : etk120

etw

etw = execute timer wakeup

Parameter:

  • int value
  • unit is seconds

Exampe:

  1. SCU -> MCU : etw120

eit

eiv = execute ignition test

Parameter:

  • none

Exampe:

  1. SCU -> MCU : eit

eiv

eiv = execute ignition (capacitort charge) voltage

Parameter:

  • int value
  • unit is voltage

Exampe:

  1. SCU -> MCU : eiv110
  2. MCU -> SCU :
RX_SCU = eiv110
[ HVU ]
charg_target_voltage = 110
[ HVU ]
sm_change_hvu = B0->A0

eia

eia = execute ignition (capacitor charge) abort

Parameter:

  • none

Exampe:

  1. SCU -> MCU : eia
  2. MCU -> SCU :
RX_SCU = eia
[ POWER ]
mode sci power off
[ HVU ]
HVU DISABLED
[ HVU ]
CHARG ABORTED
[ HVU ]
sm_change_hvu = AD->AA
[ HVU ]
aborted
[ HVU ]
sm_change_hvu = AA->A5

Important note: After aborting the science is powered down!


eii

eii = execute ignition ignition

Parameter:

  • int value
  • unit is voltage

Exampe:

  1. SCU -> MCU : eii200

For more information regarding status codes and error codes please goto following page: HVU ignition information

ignition_result = SUCCESSFUL

or

ignition_result = FAILED_0xE1

Important! The failed result code is not accurate. For getting the actual failure code, use UART command "ris".


eit

eii = execute ignition test

Parameter:

  • none

Exampe:

  1. SCU -> MCU : eit
  2. MCU -> SCU :

if successful

RX_SCU = eit
[ HVU ]
request test igntion without arc
result = done

if the cap voltage is too high, the MCU inhibit the ignition to prevent arcing, and returns following message. The maximum allowed cap voltage definition name is "HVU__TEST_IGNITION_CONDITION_MAX_CAP_VOLTAGE" and can be defined in "config_hvu.h".

RX_SCU = eit
[ HVU ]
request test igntion without arc
result = error: cap voltage too high
cap_voltage = 75

er42

er42 = trip watchdog to reset MCU

RX_S0 = er42
[ MCU ]
force_watchdog_reset
..........

edm

edm = enable debug mode

enable / disable debug mode. By enabling the debug mode, the datatransfer condition is inhibited until the debug mode is disabled by command, or by a power cycle.

Parameter: 1 = enable (edm1) 0 = disable (edm0)

examle edm1

RX_S0 = edm1
[ MCU ]
debug mode enabled
turn off datatransfer window

examle edm0

RX_S0 = edm0
[ MCU ]
debug mode disabled
datatransfer window active