Hi,
I need to know what is Unmirrored Feature Set and Mirrored Feature Set in NVM of FRDM KW36.
This is the code snippet from the NVM_interface.h.
typedef enum NVM_DataEntryType_tag
{
gNVM_MirroredInRam_c,
#if gUnmirroredFeatureSet_d
gNVM_NotMirroredInRam_c,
gNVM_NotMirroredInRamAutoRestore_c
#endif
}NVM_DataEntryType_t;
Please anyone clarify me about this.
Regards,
Prakash V
Hi, Prakash.
Mirrored feature set refers to datasets that are mirrored in RAM, i.e. are always kept in RAM memory while the system is running. When one or more datasets are changed (in RAM memory), the user has the posibility to save the new values into the FLASH memory. On reset/power cycle, the latest values for datasets saved into FLASH are copied (restored) into RAM.
Unmirrored feature set refers to datasets that are using dynamic memory allocation, thus, at some point a particular dataset may reside either into RAM or into FLASH memory. Usually, the unmirrored feature set is used when RAM memory consumption is concerned. Based on user dataset sizes, the dedicated NVM memory pool must be sized accordingly.
More details about NVM module and services may be found in Connectivity Framework Reference Manual, chapter 3.5.
Best Regards,
Mihai Dragnea