embedded system programming and design

Status
Not open for further replies.
hi everybody,,
we are running the RTOS Code for simple LED blinking.using lpc2148 arm processor.The compiler we used is IAR Workbench version4.41a.
The OSTimeDly() function that not considered in our program during debugging it in IAR.the program execute and give the change in corresponding register before this OSTimeDly() function,after that there is nothing happen.Please anybody say why is happen?the code block is below

BSP_IntDisAll();
IO1DIR=0x00FF0000;
OSInit();
for(;
{
IO1SET=0x00FF0000;
OSTimeDly(30);
IO1CLR=0x00FF0000;
OSTimeDly(30);
}
the SET register get the value but the CLR register not?? What is the problem and how to change this???
please help us..
 

hi dear
i am new in rtos.
i want to use software timer in uc/osII.
i need 5ms time so i put the value for OS_TMR_CFG_TICKS_PER_SEC 200 is it ok?
another question is about the how to stop the timer in ISR???
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…