> 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.orgMessage
Re: [lpc2000] Re: Urgent IAR EWARM with uCOS-II :-( ?
2006-03-14 by FreeRTOS Info
Attachments
- No local attachments were found for this message.