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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/25/01 07:40
Read: times


 
#13485 - again_simple program for testing 8051
Hi all friends,
I followed your advices and rearrange the program and check with the hardware. I found that crystal works
at 4 MHz frequency with 1 V pk _ pk magnitude.
I could got signals at PSEN and ALE very clearly. Always port 3 pins are
at low state. After giving a signal to reset terminal(9) port 3 pins are in high state.It seems that address ports ( port 0 and port 2)are working properly.

I have adjusted the time as far as possible.( FF * FF * 5F)
Program was also changed as your advice.
org 0100H
> > mov sp, #0030H
> > loop: mov P3, #0000H
> > acall delay
> > mov P3, #00FFH
> > acall delay
> > ajmp loop
> > dalay: mov R0, #005FH
> > del_1: mov R1, #00FFH
> > del_2: mov R2, #00FFH
> > inloop: djnz R2, $
> > djnz R1, DEL_2
> > djnz R0, DEL_1
> > ret

Still I couldn't get the output results. Thank you very much for your kind attentions for my work.
Please reply to improve my work
Best regards,

Kamala


List of 3 messages in thread
TopicAuthorDate
again_simple program for testing 8051            01/01/70 00:00      
RE: again_simple program for testing 8051            01/01/70 00:00      
RE: again_simple program for testing 8051            01/01/70 00:00      

Back to Subject List