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.
How about trying to play with already exisiting examples first ?
Download the legacy pack for ARM-7 from below link (in case you are using MDKv5.xx): www2.keil.com/.../
The example for this device is located in: \Keil_v5\ARM\Boards\Keil\MCB2140\
Do understanf that these examples for for MCB2140 which has the same device as of yours.
If you have your own board then check the schematics for proper peripheral initilization.
Nobody here is going to check the problem, have the store explain it to you.
What board, what version of uVision, what application. You post is very non-specific beyond a chip, but that could be connected a million ways.
Suggests you are picking the wrong board or target/options for the tool chain.
Review the schematic for your boards, and look at the board itself and the example code.
Disassemble the .HEX file, and/or debug it, and understand how it differs from your own code.
View all questions in Keil forum