STBLLIB library
UM0516
2.3.19
STBL_VERIFY
BYTE STBL_VERIFY(DWORD Address, LPBYTE pData, DWORD Length,BOOL
bTruncateLeadFFForDnLoad)
Issues a Verify request to the device. the given data buffer will be compared to the data
stored at the given memory address.
Table 21. STBL_VERIFY description
Field
Type
Description
Address
DWORD Address from which data will be read.
pData
Input
Length
LPBYTE Pointer to the data buffer to be verified.
DWORD Length of the data buffer in bytes.
bTruncateLeadFFForDnLoad BOOL Set to TRUE to ignore FF packets.
Output
BYTE
SUCCESS, Error otherwise (see Error
codes.).
2.3.20
STBL_WRITE
BYTE STBL_WRITE(DWORD address, BYTE size, LPBYTE pData)
Issues a Write request to the device. This function can write up to 256 bytes in memory
starting from the given address. To write a larger amount of data, use the STBL_DNLOAD
function.
Table 22. STBL_WRITE description
Field
Type
Description
Address DWORD Start address, data will be read from.
Input Size
BYTE
Size of the read data in byte.
pData LPBYTE Pointer to the read data buffer.
Output
BYTE
SUCCESS, Error otherwise (see Error codes.).
2.3.21
Note:
STBL_WRITE_PERM_UNPROTECT
BYTE STBL_WRITE_PERM_UNPROTECT()
Disables the write protection.
This command is not available in the “STR75x SystemMemory boot mode” (AN2430)
Table 23. STBL_WRITE_PERM_UNPROTECT description
Field
Type
Description
Output
BYTE
SUCCESS, Error otherwise (see Error codes.).
14/26
Doc ID 14490 Rev 2
    "