dhivyadurga
Newbie level 6
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(;![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
{
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..![Crying :cry: :cry:](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
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..