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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/02/04 16:34
Read: times


 
#75292 - serial initialization

I have some troubles, I want to start my serial communication but i really do not know what is missing or if i am doing something wrong. This is my code


org 0040H

start: ;serial initialization
mov SCON, 052H ; REN=1 RI=0
mov TMOD, 020 ; timer 1 mode 2
mov TH1, 0FD ;9600 bauds xtal 11.0592 MHz

setb TR1
setb T1

...

does anyone has a program to transmit just a message saying
i am runing

on the terminal from windows

thanks

List of 13 messages in thread
TopicAuthorDate
serial initialization            01/01/70 00:00      
   RE: serial initialization            01/01/70 00:00      
      RE: serial initialization            01/01/70 00:00      
         RE: serial initialization            01/01/70 00:00      
   Serial initialization Programs            01/01/70 00:00      
      RE: Serial initialization Programs            01/01/70 00:00      
         Sample code and MAX232 IC            01/01/70 00:00      
   Serial port files + notes            01/01/70 00:00      
      RE: Serial port files + notes            01/01/70 00:00      
         RE: Serial port files + notes            01/01/70 00:00      
         RE: Serial port files + notes            01/01/70 00:00      
   serial initialization, success            01/01/70 00:00      
   RE: serial initialization            01/01/70 00:00      

Back to Subject List