This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPM0G3519: EEPROM emulation in DATA bank

Part Number: MSPM0G3519

Tool/software:

Hi, I want to implement EEPROM emulation type B in DATA bank and have some doubts:

1) its enough just to set #define EEPROM_EMULATION_ADDRESS  FLASHCTL_DATA_ADDRESS (0x41d00000) or something between 0x41D0.0000 to 0x41D0.3FFF ?

2) from datasheet "Up to 32 application-chosen sectors from the main flash bank(s) or data bank can be used as high endurance sectors. This enables
applications that frequently update flash data such as EEPROM emulation." How does it work for select tha data bank as high endurance sectors?

3) As i understand if I emulate in data bank I can keep running code in bank0 (will have to change/create polling parts of EEPROM emulation code) is that correct?

4) Why EEPROM_TypeB_init() function transfer data items even if sector is not full? it affects the endureance calculation since my application can have some power ciclyes a day.

Thanks in advance