Hello,
IntEEPROM component must have only one instance in the project. To use D-Flash and emulated eeprom simultaneously, you have to partition the memory first, see properties „D-Flash sector count“ and „Buffer RAM sector count for Emulated EEPROM“ Ratio between D-Flash and Emulated eeprom size is selected by these two properties. In the third column of these properties, you can see the range of addresses that are acceptable for SetByte, GetByte methods in corresponding area. You will have to adjust also „Used size“ property according to selected D-Flash size.
The partitioning itself is performed either in init code (property „Partition D-Flash in init“ must be set to yes), or by calling „Partition“ method anywhere in the user code.
After that you can use GetByte, SetByte and other methods with addresses displayed in „D-Flash sector count“ and „Buffer RAM sector count for Emulated EEPROM“ properties. The methods will automatically write the value to correct place according to the address passed as the parameter.
best regards
Vojtech Filip
Processor Expert Support Team