Hi,
For the LPC54018, it does not has on-chip EEPROM, for the LPC54018JxM chip, it includes 4MB or 2MB on-chip Quad SPI Serial Flash, for the LPC54018 without JxM, it does not has any on-chip parallel or serial flash, but it has spifi port, you can connect external spifi flash.
No matter whether you connect internal serial flash or external serial flash via spifi, there is not EEPROM function I suppose.
But I suppose that you can simulate an EEPROM function, you can allocate a page space in both on-chip RAM and serial flash, after Reset, you can copy the page from serial flash to SRAM, then you can write/read the SRAM, you can program the data in SRAM to serial flash with your predefined strategy, in this way, it seems that you operate a EEPROM.
As you know you can execute code in serial flash directly(XIP mode) or copy the code to RAM and execute in RAM, if you operate the serial flash, you have to copy the code which operate the serial flash in RAM and execute in RAM.
Hope it can help you
BR
XiangJun Rong