Firmware User Manual (AE-step)
77
Revision 1.02
2019-04-24
TLE984x Firmware User Manual
6.8.1
user_nvm_mapram_init
Description
This user API function triggers NVM FSM mapRAM update sequence from mapped sector.In case of mapping
errors (double or multiple mapping or faulty pages) the initialization of the MapRAM is stopped on the first
error found and the routine is exited reporting an error indication.
In case of fail, the content of the MapRAM might be only partial and the mapping information might be
corrupted.
int32_t user_nvm_mapram_init (void)
Parameters
void
This user API function sets a read and/or write protection for any
NVM region individually. The API changes the protection state for
a region, but does not update the installed password in
configuration sector.
This user API function checks for the readiness of the NVM
module. The API is called within the NVM programming or erase
branch callback operation. It checks if the NVM operation has
finished and the callback could return to the NVM routine.
This user API function erases the NVM sector-wise. It operates on
user code and data NVM region.
This user API function programs the NVM. It operates on the user
NVM, as well as on the user data NVM. The API shall write a
number of bytes (count) from the source (data) to the NVM
location (address) with the programming options (options). The
options provide parameters like DH and fail scenario handling.
This user API function programs the NVM. It operates on the user
NVM, as well as on the user data NVM. The API shall write a
number of bytes (count) from the source (data) to the NVM
location (address) with the programming options (options).
During the NVM operation the program execution branches to a
given SRAM location (branch_address) and continues code
execution from there. The options provide parameters like DH
and fail scenario handling.
This user API function performs a MBIST on the integrated SRAM.
The range to check is provided as parameter. The function rejects
the call in case the parameter exceeds the RAM address range.
Table 6-2 User API Routines Function Overview
(cont’d)
Name
Description