Hi
I am Unable to generate a interrupt for standard timers in LPC3250 . Are there any changes to make to lpc3250.s and configuration settings in the same lpc3250.s . I am using the keil compiler. I am initialising the Timer clock in TIMCLK_CTRL1 and then T0TCR=0x01; T0CTCR=0x00; TOMCR=0x03;
At this point of debuggig it is running continously without entering into Interrupt Service Routine.
I tried many different settings shown in web but invain
"Can U suggest me any settings in this Configuration wizard of .s file."
Ones that match your hardware.
If your CPU is running and you have configured your timer and interrupt controller correctly, then you should be getting interrupts. Playing around with the clock configuration of the startup file would only change the frequencies at which you get the interrupts.
Why not go back to basics? Forget the interrupts for a while, poll the timer and toggle a port pin to see if that part is really operating correctly. When you're happy with that, try your interrupts.
Does keil uvision3 supports LPC3250 .During begining of the project it is not in the list of selected components shown by keil IDE.So i have copied the LPC325X.s file and Ram.ini file and changed some settings accordiing to uvision4 in debug options.For Flash testing it works fine but when i started working on timers the interrupts are not generated Is there any problem with keil uvision3 as i have the full licensed version where as for keiluv4 it is only a simple version
So ... You have written code and it runs as long as you don't use timer interrupts.
What part of the IDE do you think would cause a problem like this?
If the compiler can produce code for the processor (which it can) and you can download code which executes correctly (which I think you've said you can) then, fundamentally, things are working.
It is far more likely to be a problem with how you are configuring the timer and the interrupt controller.