MCU procedures - Geowissenschaften/EXCISS GitHub Wiki

Update checklist


first debug and upload enviroment tests

http://freeware.the-meiers.org

CoolTermn

start Arduino IDE

start Arduino Terminal

set to 19200 baud

set NL CR breaks

check RTC UART CMD: rdt expecting correct UTC time make protocol:

check SD card UART CMD: rom make protocol:

check Charger UART CMD: rsc make protocol:

check Gauge UART CMD: rsg make protocol:


temperature registration procedure

close Arduino IDE

flash code with

https://github.com/Geowissenschaften/EXCISS/blob/master/Software/MCU/firmware/hex/OneWire_temperature_registration_tool.ino.arduino_mega.hex


main MCU firmware upload

close Arduino IDE

flash code with https://github.com/exciss-space/EXCISS/tree/master/software/main_control_unit/flight/hex exciss.ino.arduino_mega.hex


post main MCU firmware upload procedure

start Arduino IDE

check software version UART CMD: rom make protocol:

check RTC UART CMD: rdt expecting correct UTC time make protocol:

check Charger UART CMD: rsc make protocol:

check Gauge UART CMD: rsg make protocol:


motor test

step 1: remove USB Power. If the power was on, wait about 90sec.

step 2: Connect FTDI with DTR disconnect adapter.

step 3: Open Arduino IDE and start "serial monitor" (right top button). Serial settings are

  • 19200 baud
  • NR and CR for linefeed

step 4: Connect USB Power.

step 5: wait for following lines before proceeding: [ MCU ][ SCIENCE ] SM_SCIENCE__INIT = 600000

step 6: The following step extends the timer period until the SCU boots up.

put following string and enter: etw10000

you receive following return string: RX_S0 = etw10000 [ MCU ] set_Wakeuptimer = 10000

step 7: Enable science power without HVU.

put following string and enter: wps1

return string: RX_S0 = wps1 [ POWER ] mode sci power on

step 8: Configure haptic diver wave form.

put following string and enter: wvs58_10_10_10_58_10_10_10

return string: RX_S0 = wvs58_10_10_10_58_10_10_10 [ VM ] vm_status_register = 11100000 vm_reg_over_current_detect = 0 vm_reg_over_temp_detect = 0 vm_reg_device_id_detect = 170

[ VM ] setup = ok

step 9: enable one vibration waveform sequence.

put following string and enter: evg

return string: RX_S0 = evg [ VM ] start = 1