Pic18F4550 + SIMCOM SIM900D GSM/GPRS


Results 1 to 39 of 39

Threaded View

  1. #7
    Join Date
    Jun 2011
    Location
    Philippines
    Posts
    223

    Default Re: Pic18F4550 + SIMCOM SIM900D GSM/GPRS( a little sign of progress)

    It locks up just right after it performs the first AT command..the same result when I rearrange the code.
    Code:
    main:
    PORTB = 0            ' PORTB lines low to read buttons
    TRISB = %11111000 
    ;gosub CLR_SCRN
    GOSUB GSM_SIGCHECK
    ;gosub CLR_SCRN
    gosub GSM_MODEL 
    
    pause 260   ' pause to avoid sending repetition
    
    ;goto main
    End   'End program
    it perform GOSUB GSM_SIGCHECK then after it it never performs the gosub GSM_MODEL correctly and calls GSM_CHECK_ERR:
    I also tried to interchange the sequence but the same results. It performs the GOSUB GSM_MODEL but failed to execute GOSUB GSM_SIGCHECK correctly.

    /tacbanon
    Last edited by tacbanon; - 14th July 2012 at 13:21.

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts