Hi,
First all, there is necessary to check the board, the LPCXpresso804 board is pre-programmed with a diagnostic demo program, which tests various features of the board.
Connect a micro USB cable from connector CN2 to a host computer or power supply to power up the board and run the demo program. Open a terminal emulator program (such as Teraterm or PuTTY), and look for a port with a name of the form “NXP LPC11Uxx VCOM ...”, and connect to it. Set the serial port for 9600 baud, 8 bits, no parity.
- The Blue user LED will flash 3 times, then the green LED will flash 3 times, and the terminal will display “HelloWorld”, followed by “Press key to start LED test ...”
- Press the ISP button (S2). The green and blue user LEDs will flash, then each LED will be lit in turn twice before all three blink 3 times. The terminal will show “DONE”.
- The terminal will show “Press key to start SpiFlash test”. Press the ISP button. The LEDs will blink as the test is run, and the SPI flash device ID and name will be shown on the terminal.
- The terminal will show “Press key to start I2cTemperature test ...”. Press the ISP button to run this test, which checks communication with the LM75 temperature sensor.
- The terminal will show “Press key to start ADC Potentiometer test ...”. Press the ISP button to run this test. The test checks the LPC804 ADC and potentiometer (VR1), looking for the ADC reading to change at least once as it takes 6 samples over several seconds. Use the supplied screwdriver to adjust VR1 so the test passes.
After you check the demo test, download the example codes for Keil from this link:
LPC800 Code Bundles|NXP
Unzip the file and double click to peripheral_examples under the LPC804-EX-CODE-KEIL\Keil_Projects folder

It is important to build the projects utilities_lib and peripherals_lib before any other example project.
Build the desired example project, in this case GPIO_interrupts

Load the code to flash memory

Debug the project

Run the project:

Please check the below options in "Options for target.."


Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------