Firmware User Manual (AE-step)
97
Revision 1.02
2019-04-24
TLE984x Firmware User Manual
The page programming stops at page boundary. The firmware preserves the non-programmed page data.
This function rejects with an error in case the accessed NVM page is write protected.
Prototype
int32_t user_nvm_write_branch (
uint32_t address
const void * data
uint8_t count
uint8_t options
user_callback_t branch_address
)
Parameters
Data Type
Name
Description
Dir
uint32_t
address
NVM address where to program the data. Range is
0x11 device NVM size.
-
const void *
data
Pointer to the data where to read the programming data.
Pointer must be within valid RAM range (0x18
device RAM size) or an error code is returned.
-
uint8_t
count
Amount of bytes to program. Range from 1-128 bytes.
-
uint8_t
options
NVM programming options (e.g. NVM_PROG_CORR_ACT |
NVM_PROG_NO_FAILPAGE_ERASE)
-
branch_address Function callback address where to jump while waiting for
the NVM module to finish the program operation. Address
must be within RAM range (0x18 device RAM size).
RAM end address - 4 is the upper limit.
-