Content originally posted in LPCWare by TheFallGuy on Fri Jun 28 03:03:47 MST 2013
Maybe one problem is that there is no such part as LPC1798! You either mean LPC1768, or LPC1769. LPC1768 is identical to LPC1769 except for max clock speed (100Mhz vs 120Mhz IIRC).
So, assuming you are using LPCXpresso 5.2.4, you want to use the examples found in Examples/NXP/LPC1000/LPC17xx and use either LPCXpresso176x_cmsis2.zip or examples.lpc17xx.new.zip