Firmware User Manual (AE-step)
70
Revision 1.02
2019-04-24
TLE984x Firmware User Manual
NVM
5
NVM
5.1
NVM Overview
The NVM module consists of three regions, the Config Sector, the user code region and the user data region.
The Config Sector holds device specific information as well the eight 100TP pages. The Config Sector is not
directly addressable by the user. To access the 100TP pages dedicated user API functions are provided.
USER CODE Region
The user code region is intended to store the user application and/or constant user configurations. The user
code area is divided into two parts. The first 4KB are called customer BSL region. It is a user code area which
can be protected separately from the remaining user code. The customer BSL region is provided to store a user
defined boot up code. The remaining user code is used to store the user application code. The entire user code
area is directly addressable for read accesses. For writing/erasing data to the user code area dedicated user
API functions are provided.
USER DATA Region
The last 4KB of the NVM module are the user data flash region. For this sector an EEPROM emulation is
implemented. It is intended to store dynamical application data inside this NVM region. Constant data is
recommended to be stored inside the user code area.
The EEPROM emulation is being achieved by the implementation of an address translation table, the so called
MapRAM. All accesses to the data flash, read or write, the user given address (logical) is being translated to the
physical address by using the MapRAM. The data flash is directly addressable for read accessed (through the
MapRAM), but only mapped pages return data. The read access to an unmapped page causes a NMI, to signal
to the user application the attempt of reading not existing data. For writing/erasing data to the user data area
dedicated user API functions are provided.
NVM Password Protection
Firmware supports setting and clearing of NVM protection for different NVM regions. These regions are the
customer Bootloader NVM sector, code and data NVM sectors. NVM region protection includes access
protection for read and/or write/erase. NVM protection passwords are 32-bit in lenght, the two MSBs are
reserved for read/write protection handling.
Figure 5-1 NVM Password Format
NVM_PASSWORD_FORM
.
Password
R
W
31
Write protection (1: enable protection 0: disable protection)
Read protection (1: enable protection 0: disable protection)
Bit:
30
0
29
Password value (Bit 29..0)