Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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..:cry:
 

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top