Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Re: Urgent IAR EWARM with uCOS-II :-( ?

2006-03-14 by FreeRTOS Info

> My problem is not in the compilation.
>
> I compile the project with No errors and No warnings.
>
> My problem there is no multitasking.
>
> Cause i think the timer0 interrupt is not working.
>
> I set breakpoint at T0IR = 0xff;
>
> void  Tmr_TickISR_Handler (void)
> {
>    T0IR        = 0xFF;                 /* Clear timer #0
> interrupt                                    */
>    OSTimeTick();                       /* If the interrupt is from
> the tick source, call OSTimeTick() */
>    VICVectAddr = 0;
> }
>
> But no thing happen and there are no response in the leds.
>

Maybe too obvious but sometimes the obvious can catch us out, have you:

+ Stepped through the timer setup code.
+ Made sure the correct header files are included (to get register addresses 
correct).
+ Checked that interrupts are (globally) enabled.

Regards,
Richard.

http://www.FreeRTOS.org

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.