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

LPC 2138 code is not executing

Hello;
I have one problem in LPC2138 Proto-Type board . I am able to write a code in its flash memory
using flash magic. Hex file is successfully loaded . but after Resetting or in power on mode code is not executed . I used 12 Mhz crystal . I tried LED blinking code.

Parents
  • Was it a precompiled program for a specific development board?

    What differs between your board, and the development board this blinky application was originally written for?

    Have you tested if it makes a difference if you run the program with external oscillator (your 12MHz crystal) or the internal RC oscillator?

    How do you know that your board can spin up the crystal? And does it resonate at 12MHz, or (maybe because it is incorrectly selected for the task or used with the wrong burden capacitors) might it oscillate at an overtone resulting in serious overclocking of your processor?

    Do you have any JTAG interface so you can debug?

    Do you have any other board you can test with?

    Any parts of the program you can simplify?

    Have you tested to play with GPIO pins in different parts of the startup file to see if any part of your code runs?

Reply
  • Was it a precompiled program for a specific development board?

    What differs between your board, and the development board this blinky application was originally written for?

    Have you tested if it makes a difference if you run the program with external oscillator (your 12MHz crystal) or the internal RC oscillator?

    How do you know that your board can spin up the crystal? And does it resonate at 12MHz, or (maybe because it is incorrectly selected for the task or used with the wrong burden capacitors) might it oscillate at an overtone resulting in serious overclocking of your processor?

    Do you have any JTAG interface so you can debug?

    Do you have any other board you can test with?

    Any parts of the program you can simplify?

    Have you tested to play with GPIO pins in different parts of the startup file to see if any part of your code runs?

Children
No data