Dear all Here I am in trouble due to unexpected performance of my LPC2378.
I am using keil uVision3 compiler and LPC2378 processor.
My code is working some time properly all result i am getting correctly but some times processor hangs and not comes out even after resting hardware and downloading the same code again. Code size is only 14Kb. It is comming out only when I downloading different code.
what happling I am not getting.Is there any stack related issue or ? or something else?...
regards
Shyam T. Pune India
Does it matter if you download using JTAG or with FlashMagic?
Does the sample applications work?
What differs between your code and the sample applications?
Is it your hardware, or a reference board?
Have you done any attempts to pinpoint how long the application runs before failing? Are you sure that the application is downloaded ok?
Your post doesn't really contain much information.
can it be that your processor hangs thanks to an exception? did you try to set breakpoints on them while debugging on target? how does the simulator perform?
I am using flash magic for downloading my code. Here sample application work.In Sample applicatiopn timer0,UART0 and ADC used. In project code only RTC and external interrupt are additional periferal that I am using.
I am using my own hardware not any ref board but it is tested one.
"Actualy this problem start occuring when I added IENABLE and IDISABLE micros for nesting for interrupt". Now I am removing that IENABLE and IDISABLE.but still problem is occuring.
I think some stack related issue is there.
Will u give me ur mail id ? so that I will sent my code to you.
regards Shaym T. pune India