FRDM KW36 (BLE): What is MirroredFeatureSet and UnmirroredFeatureSet in NVM?

cancel
Showing results for 
Search instead for 
Did you mean: 

FRDM KW36 (BLE): What is MirroredFeatureSet and UnmirroredFeatureSet in NVM?

644 Views
pvelayu1
Contributor II

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

Labels (2)
Tags (3)
0 Kudos
1 Reply

527 Views
mihaidragnea
NXP Employee
NXP Employee

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

0 Kudos