Hi Guru Prasanth,
Are you sure you are using LPC1876 ? As I know, we don't have this chip.
So, please double check your chip part number, then tell me again, I will help you to check the details.
If the Oscilloscope already checked it is high, but the software read the pin is low, I think it is your code problem, you need to configure the GPIO function, and the select the according pin as GPIO, not other functions. Take the LPC18XX series as an example, the ISP enter pin is P2_7, the Mode 0 is GPIO0[7], so you need to read the GPIO0[7].

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