PER Firmware
Loading...
Searching...
No Matches
bootloader.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BL_STARTUP_WINDOW_MS   500U
 

Functions

void BL_init (void)
 Configure the node-specific transport and announce readiness.
 
void BL_poll (void)
 Process every frame currently queued by the FDCAN receive interrupt.
 
bool BL_checkAndBoot (void)
 Validate the committed image and transfer control to it.
 

Macro Definition Documentation

◆ BL_STARTUP_WINDOW_MS

#define BL_STARTUP_WINDOW_MS   500U

Bound the post-READY startup handshake before normal application launch.

Function Documentation

◆ BL_checkAndBoot()

bool BL_checkAndBoot ( void )

Validate the committed image and transfer control to it.

Metadata, vector-table values, and application CRC are checked before VTOR and MSP are changed.

Returns
false when validation fails or the application reset handler returns.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ BL_init()

void BL_init ( void )

Configure the node-specific transport and announce readiness.

The system clock must be configured before this function is called.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BL_poll()

void BL_poll ( void )

Process every frame currently queued by the FDCAN receive interrupt.

Call repeatedly from main context. This function is the sole queue consumer and owns all flash and CRC work; the receive ISR only copies matching frames into the bounded software queue.

Here is the call graph for this function:
Here is the caller graph for this function: