We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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.
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?