#include "lpc/fio.h"
#include "lpc/timer.h"
Go to the source code of this file.
Functions | |
void | reenterBootloader () __attribute__((noreturn)) |
Attempt to reenter the secondary bootloader. | |
void | reenterBrainstem () __attribute__((noreturn)) |
Attempt to reenter the tertiary bootloader. | |
void | _dieOnBoard_ (u32 blinkCode, const char *file, int lineno) __attribute__((noreturn)) |
Internal method called during failed assertions and other fatal events. |
void reenterBootloader | ( | ) |
Attempt to reenter the secondary bootloader.
Normally this is performed by branching to address 0, but if the watchdog timer has been enabled that won't work, so this method defers to watchdogSuicide in that case.
void reenterBrainstem | ( | ) |
Attempt to reenter the tertiary bootloader.
Normally this is performed by branching to address 0x2200, where the tertiary bootloader starts, but if the watchdog timer has been enabled that won't work, so this method turns into reenterBootloader in that case.