Boot status codes (RUN_STATUS)¶
The following table describes the Boot Status codes returned by the
startup processes accessible though the GET_RUN_STATUS control utility
command.
Code  | 
Label  | 
Note  | 
|---|---|---|
0  | 
INIT  | 
Reserved initial value. Decline attempts to initiate DFU.  | 
1  | 
DATA_PARTITION_NOT_FOUND  | 
Not used.  | 
2  | 
FACTORY_DATA_SUCCESS  | 
Normal operation.  | 
3  | 
UPGRADE_DATA_SUCCESS  | 
Normal operation.  | 
4  | 
FACTORY_DATA_IN_PROGRESS  | 
Image scanning in progress. Decline attempts to initiate DFU.  | 
5  | 
UPGRADE_DATA_IN_PROGRESS  | 
Image scanning in progress. Decline attempts to initiate DFU.  | 
6  | 
DFU_IN_PROGRESS  | 
Enough DFU commands received to establish a connection to on-board flash memory. Not cleared until reboot.  | 
7  | 
HW_BUILD_READ_SUCCESS  | 
Reserved intermediate value. Normally never returned.  | 
8  | 
HW_BUILD_PARTITION_SIZE_ERROR  | 
Problem reading data partition header. Check factory programming.  | 
9  | 
HW_BUILD_PARTITION_BASE_ERROR  | 
Problem reading data partition header. Check factory programming.  | 
10  | 
HW_BUILD_READ_ERROR  | 
Problem reading data partition header. Check factory programming.  | 
11  | 
HW_BUILD_CRC_ERROR  | 
Problem reading data partition header. Check factory programming. May indicate that no data partition is present or a flash wear issue.  | 
12  | 
HW_BUILD_TAG_ERROR  | 
Problem reading data partition header. Check factory programming.  | 
13  | 
FACTORY_VERSION_ERROR  | 
No valid upgrade image found. A factory image did not match running version. This can indicate fail-safe mode.  | 
14  | 
UPGRADE_VERSION_ERROR  | 
Valid upgrade boot and data images found but data image version does not match running version. Check correct version of deployed field upgrade.  | 
15  | 
FACTORY_ITEM_READ_ERROR  | 
Problem reading configuration items from data image. Unexpected error.  | 
16  | 
UPGRADE_ITEM_READ_ERROR  | 
Problem reading configuration items from data image. Unexpected error.  | 
17  | 
FACTORY_ITEM_INVALID_TYPE  | 
Last item encountered is not of terminator type. Should never happen with script generated data images. Check generation procedure.  | 
18  | 
UPGRADE_ITEM_INVALID_TYPE  | 
Last item encountered is not of terminator type. Should never happen with script generated data images. Check generation procedure.  | 
19  | 
DFU_FLASH_CONNECT_FAILED  | 
Failed to establish on-board flash connection. Check factory programming. Check flash specification (see section below).  | 
20  | 
DFU_FLASH_SPEC_UNSUITABLE  | 
Flash specification unsuitable for DFU. Check flash specification (see section below).  |