
UM0516
STBLLIB library
Table 2. Error codes
Name
Value
Description
SUCCESS
0x00
No error.
ERROR_OFFSET
0x00
Error offset.
COM_ERROR_OFFSET
NO_CON_AVAILABLE
ERROR_OFFSET + 0x00
COM_ERROR_OFFSET + 0x01
Serial communication error offset.
No serial communication opened.
COM_ALREADY_OPENED COM_ERROR_OFFSET + 0x02
CANT_OPEN_COM
COM_ERROR_OFFSET + 0x03
The serial communication over the
selected port is already opened.
Error while opening the serial
communication.
SEND_FAIL
COM_ERROR_OFFSET + 0x04
Error while sending data over the serial
port.
READ_FAIL
COM_ERROR_OFFSET + 0x05
Error while reading data from the serial
port.
SYS_MEM_ERROR_OFFSET ERROR_OFFSET + 0x10
System memory error offset.
CANT_INIT_BL
SYS_MEM_ERROR_OFFSET + 0x01
No response from the target, the system
memory bootloader was not started.
UNREOGNIZED_DEVICE
SYS_MEM_ERROR_OFFSET + 0x02 The device was not recognized.
CMD_NOT_ALLOWED
SYS_MEM_ERROR_OFFSET + 0x03 The command is not allowed.
CMD_FAIL
SYS_MEM_ERROR_OFFSET + 0x04 The command failed.
PROGRAM_ERROR_OFFSET ERROR_OFFSET + 0x20
Program error offset.
INPUT_PARAMS_ERROR
PROGRAM_ERROR_OFFSET + 0x01
One of the input parameters is out of
range.
INPUT_PARAMS_MEMORY_
ALLOCATION_ERROR
PROGRAM_ERROR_OFFSET + 0x02
One of the input parameters is not
allocated.
Doc ID 14490 Rev 2
7/26

























