For PSoC 5LP flash writes, please use either of the following APIs depending upon ECC memory usage.
Use CyWriteRowFull() to write the entire row including ECC
Use CyWriteRowData() to write the entire row without ECC
Please refer to PSoC® 3, PSoC 4, and PSoC 5LP Flash Memory Organization and Array ID Parameter - KBA84740 and section: Working with Flash and EEPROM for more details.
The Emulated EEPROM v1 component is purely a firmware abstraction of the flash memory. Hence you can use Em_EEPROM_Example avilable in PSoC Creator for reference.