Hex code given by the shop works but our compiled correct code is not working

I am using Lpc2148 arm 7 controller. Since from past few days the hex file of the sample program given by the Shop is working while if we copy the .c file of the same sample program and build it is not working. I have checked the code it is correct. It was about the blinking led. The code is showing no errors and warming but still not working. When I start the debug session. It sets the ioset register after some delay it gets unchecked but according to the program the ioclr register must would have got set.
Please try to check this problem.

More questions in this forum