This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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.

Parents
  • 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.

Reply
  • 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.

Children
No data