libtropic
C library for TROPIC01 chip

◆ lt_test_rev_startup_req()

void lt_test_rev_startup_req ( lt_handle_t h)

Test steps:

  1. Check the chip is in the normal mode.
  2. Reboot to normal mode and check – verify that standard reboot is working.
  3. Reboot to bootloader mode and check.
  4. Reboot to bootloader mode again.
  5. Reboot to normal mode and check.

After each reboot before mode check, the test will wait until the chip is ready. Mode check is done by reading SPECT FW version. The bootloader returns highest bit set to '1' for each FW version.

Parameters
hDevice's handle