Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/15/04 16:10
Read: times


 
#83163 - Boot time delay
Responding to: ???'s previous message
Hello,
I wrote a small code to check it

#include<reg51.h>

sbit pin = 0xb0; //p3.0
void main()
{
char count=20 ;
pin = 0; //Clr P3.0
while(count)
{
TMOD = 0x01;
TH0 = 0x3c;
TL0 = 0xaf;
TR0 = 1;
while(!TF0);
TF0 = 0;
count--;
}
pin = 1; //Set P3.0
while(1);
}

I checked on DSO, it takes 4 seconds to enter main().
Again the same code is on AT89c2051.

Keil Compiler version is 6.23a

I dont understand the reason for 4 seconds delay.

Pravin



List of 13 messages in thread
TopicAuthorDate
Boot time delay            01/01/70 00:00      
   Look at the code            01/01/70 00:00      
   Boot time delay            01/01/70 00:00      
      Hardware fault            01/01/70 00:00      
         Go on...            01/01/70 00:00      
      starting where            01/01/70 00:00      
         Hardware fault            01/01/70 00:00      
            Supervisor chip            01/01/70 00:00      
               get rid of RC reset            01/01/70 00:00      
                  TL7705 Usage            01/01/70 00:00      
                     Just a practical remark to 7705            01/01/70 00:00      
                        re 7705            01/01/70 00:00      
                     TL7705 vs TLC7705            01/01/70 00:00      

Back to Subject List