You can download and learn the EmEEPROM code example about the PSoC4100s in the creator. Maybe it can meet your requirement.
Thanks for the reply.
If the flash is bound to write/ease by a row size (256 bytes), then what the EmEEPROM do is simply save you some trouble of processing (at least that's what I think, and also found this discussion concerning about this matter Re: Why the RAM memory is used for store data in emulated EEPROM )
btw I find the EmEEPROM component quite confusing since I am able to write and read at a certain size (16 bytes..etc), but I failed to comprehend how it was put in the flash memory.
The key point is about the buffer define like:
"const uint8_t Em_EEPROM_em_EepromStorage[Em_EEPROM_PHYSICAL_SIZE]"
If we use the "const" to declare the array "Em_EEPROM_em_EepromStorage", then it will allocate to the flash instead of RAM.
More about it, you can read the EMEEPROM datasheet.
But if you only want to use the flash write API, it only can operate a row every time.