uCOS-II & IAR C Compiler PLEASE HELP ME ?
2006-03-06 by eng_amrahmed2011
Salam,
I have downloaded application note from uCOS-II.com
h**p://www.ucos-ii.com/downloads/appnotes/AN-1229.zip
This file describe how interface between µC/OS-II & IAR
I did all the instructions in this file.
The project gives No errors or warnings but the Timer0 int is not
working at all.
The timer0 int is used to execute this function
void Tmr_TickISR_Handler (void)
{
T0IR = 0xFF; /* Clear timer #0
interrupt */
OSTimeTick(); /* If the interrupt is from
the tick source, call OSTimeTick() */
VICVectAddr = 0;
}
As you seen OSTimeTick is updated with a rate say 100 times per
second
When Timer0 is not working , uCOS-II will stuck in the IDLE task and
Scheduler will not work
I don't know why Timer0 is not working.
I have uploaded my project to [Files] section /uCOS-II/MICRIUM.rar
I use
IAR 4.30A KickStart
Olimex LPC2129 board
uCOS-II 2.76
Thanks