Yahoo Groups archive

Lpc2000

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

Message

Re: uCOS-II & IAR C Compiler PLEASE HELP ME ?

2006-03-06 by leon_heller

--- In lpc2000@yahoogroups.com, "eng_amrahmed2011"
<eng_amrahmed2011@...> wrote:
>
> 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 

Please do not upload copyrighted material to the group's Files area.
The offending material has been deleted.

Leon Heller
Moderator

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.