Content originally posted in LPCWare by TheFallGuy on Thu Jun 04 08:53:38 MST 2015
Which LPC18xx are you using? I'm not sure all the member of the family have an EEPROM, and therefore will not have a function in the ROM for you to call, which might explain the HardFault.