2.1.3.3 BL_CheckForcedEntry()

bool BL_CheckForcedEntry (void )

Checks the software entry flags for a forced entry into Boot mode.

Returns:

True - The first four addresses of RAM contain the BL_SOFTWARE_ENTRY_PATTERN

False - The first four addresses of RAM do not contain the BL_SOFTWARE_ENTRY_PATTERN

Note:

This function can be updated to check any forced entry mechanism. For example, utilizing a switch to enter the bootloader at start-up.