STBLLIB library
2
STBLLIB library
UM0516
2.1
Constants
Request codes are used to identify current requests. The supported commands are listed in
Table 1 below. Error codes are shown in Table 2. Each command is further described in this
section.
Table 1. Embedded bootloader commands
Name
Value AN2606 AN2430
Description
GET_CMD
0x00 X
Gets the version and the
allowed commands supported
by the current version of the
bootloader
GET_VER_ROPS_CMD
0x01 X
Gets the bootloader version
X and the read protection status
of the Flash memory
GET_ID_CMD
READ_CMD
0x02 X
0x11 X
Gets the chip ID
Reads up to 256 bytes of
X memory starting from an
address specified by the user
GO_CMD
0x21 X
Jumps to an address specified
X by the user to execute (a
loaded) code
WRITE_CMD
0x31 X
Write up to 256 bytes to the
X
RAM or the Flash memory
starting from an address
specified by the user
ERASE_CMD
0x43 X
X
Erases from one to all the NVM
sectors
WRITE_PROTECT_CMD
0x63 X
Enables the write protection for
X some sectors (permanently in
the STR75x)
WRITE_TEMP_UNPROTECT_CMD
0x71
X
Disables the write protection
temporarily for all NVM sectors
WRITE_PERM_UNPROTECT_CMD
0x73 X
Disables the write protection for
all Flash memory sectors
READOUT_PROTECT_CMD
0x82 X
READOUT_TEMP_UNPROTECT_CMD 0x91
X
Enables the readout protection
(permanently in the STR75x)
X
Disables the readout protection
temporarily
READOUT_PERM_UNPROTECT_CMD 0x92
X
X
Disables the readout protection
(permanently in the STR75x)
6/26
Doc ID 14490 Rev 2
    "