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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/05/06 07:54
Read: times


 
#106549 - Connecting Nokia 6610i and 8051by ATCom
Hi,
I am trying to communicate with my nokia mobile 6610i using the code below and the TOPVIEW SIMULATOR. The problem I am facing is that after sending the AT\n\r command to the mobile my mobile does not give back the command's recognition

why am I not getting data from my mobile?

the code is

$mod51
MOV TMOD,#20H ;Timer 1 in Mode (Autoreload)
MOV SCON,#50H ;Serial communication in Mode 1 at 9600bps
MOV TL1,#0FDH
MOV TH1,#0FDH
SETB TR1

;transmitting AT\n\r to my mobile
MOV SBUF,#'A'
ACALL TRANS
MOV SBUF,#'T'
ACALL TRANS
MOV SBUF,#0DH
ACALL TRANS
MOV SBUF,#0AH
ACALL TRANS

;checking it recognition
REC: JNB RI,REC ; My program stucks here as I am not getting back data from my mobile.

LJMP WAIT

TRANS:
HERE: JNB TI,HERE
CLR TI
RET

WAIT: SJMP WAIT

END

Thanks


List of 11 messages in thread
TopicAuthorDate
Connecting Nokia 6610i and 8051by ATCom            01/01/70 00:00      
   terminal on PC            01/01/70 00:00      
   6610i and 8051            01/01/70 00:00      
      Check with terminal on PC            01/01/70 00:00      
   Command Termination            01/01/70 00:00      
      try forum.nokia.com            01/01/70 00:00      
      ATCommand on Hyper Terminal works fine            01/01/70 00:00      
         Re. ATCOMMAND            01/01/70 00:00      
         Line termination            01/01/70 00:00      
   Nokia F-Bus Protocol.            01/01/70 00:00      
      Is this relevant?            01/01/70 00:00      

Back to Subject List