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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

965件の閲覧回数
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 返信

848件の閲覧回数
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 件の賞賛