User Manual
LonTalk Stack Developer’s Guide 197
non-volatile data functions calculates the maximum use configuration, and
reserves flash memory space so that if one segment grows, it does not interfere
with other segments.
This section describes the amount of non-volatile data space required for the
following application elements:
• Network image (LonNvdSegNetworkImage)
• Node definition (LonNvdSegNodeDefinition)
• Application data (LonNvdSegApplicationData)
The flash memory implementation in the FtxlNvdFlashDirect.c file requires
that each data segment begin on a flash sector boundary. Depending on the flash
sector size, this requirement can increase the total flash memory needed for the
application.
The following table describes the amount of non-volatile memory required for the
network image.
Network Data Bytes Required
Header 16
Overhead 102
Domain 21 (for each domain)
Network variables and aliases 15 (for each network variable [static or
dynamic] and each alias)
Address table 11 (for each address table entry)
The following table describes the amount of non-volatile memory required for the
node definition.
Node Data Bytes Required
Header 16
Overhead 100
Node self-documentation string length Node_SD_length
Static network variable
self-documentation string length
NV_SD_length
Network variables 37 (for each network variable [static or
dynamic])