Mainboard testing procedures - Geowissenschaften/EXCISS GitHub Wiki

Introduction

A full mainboard testing requires a multistep procedure for each major components. Each testing procedures contains preparations and the actual testing procedures. Also, a special testing software are required for each testing procedures.


draft! Test protocol template


Test procedures


MCU gpio and power path testing

Preparations

Remove the following components:

  • all microSD card for the SCU
  • PSU unit
  • Science unit (ignition and HV-unit)

Optional:

  • front and backlights
  • USB mass-storages

MCU Prep

Required Arduino IDE test application:


I2C MUX and I2C device test.

Preparations

The PSU is not required, but since the communication with the PSU requires i2c a test with PSU should be done before executing the PSU testing procedures.

MCU Prep

Required Arduino IDE test application:


One-wire temperature sensor test.

Preparations

Flash Arduino code. Open serial terminal with 9600baud setting. A regular readout is shown down below:

DS18B20 search
{ 0x28, 0x78, 0x1E, 0x09, 0x0A, 0x00, 0x00, 0x00 }
{ 0x28, 0xF2, 0x41, 0x91, 0x0A, 0x00, 0x00, 0x22 }
{ 0x28, 0x0E, 0x41, 0x90, 0x0A, 0x00, 0x00, 0xA2 }
{ 0x28, 0xF1, 0x41, 0x91, 0x0A, 0x00, 0x00, 0x7B }
Requesting temperatures...
{ 0x28, 0x78, 0x1E, 0x09, 0x0A, 0x00, 0x00, 0x00 }: 30.00
{ 0x28, 0xF2, 0x41, 0x91, 0x0A, 0x00, 0x00, 0x22 }: 29.12
{ 0x28, 0x0E, 0x41, 0x90, 0x0A, 0x00, 0x00, 0xA2 }: 29.06
{ 0x28, 0xF1, 0x41, 0x91, 0x0A, 0x00, 0x00, 0x7B }: 29.25
Requesting temperatures...
{ 0x28, 0x78, 0x1E, 0x09, 0x0A, 0x00, 0x00, 0x00 }: 29.50
{ 0x28, 0xF2, 0x41, 0x91, 0x0A, 0x00, 0x00, 0x22 }: 29.12
{ 0x28, 0x0E, 0x41, 0x90, 0x0A, 0x00, 0x00, 0xA2 }: 29.12
{ 0x28, 0xF1, 0x41, 0x91, 0x0A, 0x00, 0x00, 0x7B }: 29.19

The hex values in the brackets are the addresses of the temperature sensors.

MCU Prep

Required Arduino IDE test application: Arduino test application


SCU Shutdown test

Preparations

Unplug frame USB connection.

First remove any SD mass storages.

Insert USB mass storages.

Flash MCU with test code.

Put a SD mass storage with SCU OS with shutdown script in SD card slot XU1100.

Connect debug serial and open a serial terminal with 9600baud.

Plug frame USB connection for powering the mainboard.

Check for successful SCU boot up.

Unplug frame USB connection. Serial terminal shows "start shutdown". Also a counter is shown every second until complete power down.

MCU Prep

Required Arduino IDE test application: Arduino test application


PSU test.

Preparations

MCU Prep

Required Arduino IDE test application: Arduino test application


SCU microSD switch test.

Preparations

MCU Prep

Required Arduino IDE test application:


SCU test.

Preparations

MCU Prep

Required Arduino IDE test application:


SCU camera test.

Preparations

MCU Prep

Required Arduino IDE test application:


HV test.

Preparations

MCU Prep

Required Arduino IDE test application: