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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

981 次查看
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

标签 (2)
标记 (3)
0 项奖励
1 回复

864 次查看
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 项奖励