GPRS attachment failure

15 thoughts on “GPRS attachment failure

  1. I am testing 3 identical boards equipped with GE863-PRO3 modules.
    On 2 boards, GSM and GPRS attachment work fine.
    On the third one, GSM attachement is ok but GPRS attachment is always denied.

    Im am using the same SIM card on all boards. The provider told me that the IMEI is not blocked.
    I have tested with another provider : same problem.

    What can I do to find out the problem ?

    // Test result on “good” board :
    00:00:08, AT
    00:00:08, AT
    00:00:08, OK

    00:00:08, AT&F1
    00:00:08, AT&F1
    00:00:08, OK

    00:00:08, AT+CFUN=1
    00:00:08, AT+CFUN=1
    00:00:08, OK

    00:00:08, AT+IPR=115200
    00:00:08, AT+IPR=115200
    00:00:08, OK

    00:00:08, AT+CMEE=1
    00:00:08, AT+CMEE=1
    00:00:08, OK

    00:00:08, ATE0
    00:00:08, ATE0
    00:00:08, OK

    00:00:08, AT+CGMR
    00:00:08, 07.03.941
    00:00:08, OK

    00:00:08, AT+CGMM
    00:00:08, GE863-PRO3
    00:00:08, OK

    00:00:08, AT+CGSN
    00:00:08, 357251010637286
    00:00:08, OK

    00:00:08, AT#CBC
    00:00:08, #CBC: 1,380
    00:00:08, OK

    00:00:08, AT#NWSCANTMR?
    00:00:08, #NWSCANTMR: 5
    00:00:08, OK

    00:00:08, AT#REGMODE=0
    00:00:09, OK

    00:00:09, AT+COPS=0
    00:00:09, OK

    00:00:09, AT#AUTOBND=2
    00:00:09, OK

    00:00:09, AT#MONI=0
    00:00:09, OK

    00:00:15, AT+CPIN?
    00:00:15, +CPIN: SIM PIN
    00:00:15, OK

    00:00:15, AT+CPIN=0000
    00:00:15, OK

    00:00:15, AT#CCID
    00:00:17, #CCID: 89331040071389315165
    00:00:17, OK

    00:00:17, AT+CMGF=1
    00:00:17, OK

    00:00:17, AT+CREG?
    00:00:17, +CREG: 0,2
    00:00:17, OK

    00:00:27, AT+CREG?
    00:00:27, +CREG: 0,2
    00:00:28, OK

    00:00:38, AT+CREG?
    00:00:38, +CREG: 0,1
    00:00:38, OK

    00:00:38, AT+CSQ
    00:00:38, +CSQ: 11,0
    00:00:38, OK

    00:00:38, AT#SERVINFO
    00:00:38, #SERVINFO: 102,-85,”F SFR”,”20810″,34,1197,00,1,,”II”,11,6
    00:00:38, OK

    00:00:38, ATE0
    00:00:38, ATE0
    00:00:38, OK

    00:00:38, AT+CREG=1
    00:00:38, OK

    00:00:38, AT+CNMI=2,1
    00:00:38, OK

    00:00:38, AT+CMGL=”ALL”
    00:00:38, OK

    00:00:38, AT+CGREG?
    00:00:38, AT+CGREG?
    00:00:38, +CGREG: 0,1
    00:00:38, OK

    00:00:38, AT#SERVINFO
    00:00:38, AT#SERVINFO
    00:00:38, #SERVINFO: 102,-85,”F SFR”,”20810″,34,1197,00,1,,”II”,11,6
    00:00:38, OK

    00:00:38, AT+CGDCONT=1,”IP”,”m2minternet”
    00:00:38, AT+CGDCONT=1,”IP”,”m2minternet”
    00:00:38, OK

    00:00:38, ATD*99***1#
    00:00:38, ATD*99***1#
    00:00:38, CONNECT

    // Test result on “bad” board :
    00:00:03, AT
    00:00:03, AT
    00:00:03, OK

    00:00:03, AT&F1
    00:00:03, AT&F1
    00:00:04, OK

    00:00:04, AT+CFUN=1
    00:00:04, AT+CFUN=1
    00:00:04, OK

    00:00:04, AT+IPR=115200
    00:00:04, AT+IPR=115200
    00:00:04, OK

    00:00:04, AT+CMEE=1
    00:00:04, AT+CMEE=1
    00:00:04, OK

    00:00:04, ATE0
    00:00:04, ATE0
    00:00:04, OK

    00:00:04, AT+CGMR
    00:00:04, 07.03.941
    00:00:04, OK

    00:00:04, AT+CGMM
    00:00:04, GE863-PRO3
    00:00:04, OK

    00:00:04, AT+CGSN
    00:00:04, 357251010637427
    00:00:04, OK

    00:00:04, AT#CBC
    00:00:04, #CBC: 1,380
    00:00:04, OK

    00:00:04, AT#NWSCANTMR?
    00:00:04, #NWSCANTMR: 5
    00:00:04, OK

    00:00:04, AT#REGMODE=0
    00:00:04, OK

    00:00:04, AT+COPS=0
    00:00:04, OK

    00:00:04, AT#AUTOBND=2
    00:00:04, OK

    00:00:04, AT#MONI=0
    00:00:04, OK

    00:00:10, AT+CPIN?
    00:00:10, +CPIN: SIM PIN
    00:00:10, OK

    00:00:10, AT+CPIN=0000
    00:00:10, OK

    00:00:10, AT#CCID
    00:00:13, #CCID: 89331040071389315165
    00:00:13, OK

    00:00:13, AT+CMGF=1
    00:00:13, OK

    00:00:13, AT+CREG?
    00:00:13, +CREG: 0,2
    00:00:13, OK

    00:00:23, AT+CREG?
    00:00:23, +CREG: 0,2
    00:00:23, OK

    00:00:33, AT+CREG?
    00:00:33, +CREG: 0,2
    00:00:33, OK

    00:00:43, AT+CREG?
    00:00:43, +CREG: 0,1
    00:00:43, OK

    00:00:43, AT+CSQ
    00:00:43, +CSQ: 17,0
    00:00:43, OK

    00:00:43, AT#SERVINFO
    00:00:43, #SERVINFO: 102,-86,”F SFR”,”20810″,34,1197,00,1,,”II”,11,6
    00:00:43, OK

    00:00:43, ATE0
    00:00:43, ATE0
    00:00:43, OK

    00:00:43, AT+CREG=1
    00:00:43, OK

    00:00:43, AT+CNMI=2,1
    00:00:43, OK

    00:00:43, AT+CMGL=”ALL”
    00:00:43, OK

    00:00:43, AT+CGREG?
    00:00:43, AT+CGREG?
    00:00:43, +CGREG: 0,3
    00:00:43, OK

    00:00:53, AT+CGREG?
    00:00:54, AT+CGREG?
    00:00:54, +CGREG: 0,3
    00:00:54, OK

    00:01:04, AT+CGREG?
    00:01:04, AT+CGREG?
    00:01:04, +CGREG: 0,3
    00:01:04, OK

    00:01:14, AT+CGREG?
    00:01:14, AT+CGREG?
    00:01:14, +CGREG: 0,3
    00:01:14, OK

    00:01:24, AT+CGREG?
    00:01:24, AT+CGREG?
    00:01:24, +CGREG: 0,3
    00:01:24, OK

    00:01:34, AT+CGREG?
    00:01:34, AT+CGREG?
    00:01:34, +CGREG: 0,3
    00:01:34, OK

    00:01:44, AT+CGREG?
    00:01:44, AT+CGREG?
    00:01:44, +CGREG: 0,3
    00:01:44, OK

    00:01:54, AT+CGREG?
    00:01:54, AT+CGREG?
    00:01:54, +CGREG: 0,3
    00:01:54, OK

    00:02:04, AT+CGREG?
    00:02:04, AT+CGREG?
    00:02:04, +CGREG: 0,3
    00:02:04, OK
    00:02:06, +CREG: 3
    … and so on …

     

  2. Christian, please try and check:

    – set verbose error reporting mode: AT+CMEE=2

    – change the SIMs between modules and see if SIM or module related

    – check GPRS class: AT+CGCLASS? 

    – check GPRS attach mode: AT#AUTOATT

    – check GPRS attach status: AT+CGATT?

    – try manual attach: AT+CGATT=1

     

    1. Thank you for your fast reply.
      Below, you will find the trace with #AUTOATT=1.

      00:00:08, AT
      00:00:08, AT
      00:00:08, OK

      00:00:08, AT&F1
      00:00:08, AT&F1
      00:00:08, OK

      00:00:08, AT+CFUN=1
      00:00:08, AT+CFUN=1
      00:00:08, OK

      00:00:08, AT+IPR=115200
      00:00:08, AT+IPR=115200
      00:00:08, OK

      00:00:08, AT+CMEE=2
      00:00:08, AT+CMEE=2
      00:00:08, OK

      00:00:08, ATE0
      00:00:08, ATE0
      00:00:08, OK

      00:00:08, AT+CGMR
      00:00:08, 07.03.941
      00:00:08, OK

      00:00:08, AT+CGMM
      00:00:08, GE863-PRO3
      00:00:08, OK

      00:00:08, AT+CGSN
      00:00:08, 357251010637427
      00:00:08, OK

      00:00:08, AT#CBC
      00:00:08, #CBC: 1,380
      00:00:08, OK

      00:00:08, AT#NWSCANTMR?
      00:00:08, #NWSCANTMR: 5
      00:00:08, OK

      00:00:08, AT#SELINT=2
      00:00:08, OK

      00:00:08, AT#REGMODE=0
      00:00:08, OK

      00:00:08, AT+COPS=0
      00:00:08, OK

      00:00:08, AT#AUTOBND=2
      00:00:08, OK

      00:00:08, AT#MONI=0
      00:00:08, OK

      00:00:14, AT+CPIN?
      00:00:14, +CPIN: SIM PIN
      00:00:14, OK

      00:00:14, AT+CPIN=0000
      00:00:14, OK

      00:00:14, AT#CCID
      00:00:17, #CCID: 89331040071389315165
      00:00:17, OK

      00:00:17, AT+CMGF=1
      00:00:17, OK

      00:00:17, AT+CREG?
      00:00:17, +CREG: 0,2
      00:00:17, OK

      00:00:27, AT+CREG?
      00:00:27, +CREG: 0,2
      00:00:27, OK

      00:00:37, AT+CREG?
      00:00:37, +CREG: 0,2
      00:00:37, OK

      00:00:47, AT+CREG?
      00:00:47, +CREG: 0,2
      00:00:47, OK

      00:00:57, AT+CREG?
      00:00:57, +CREG: 0,2
      00:00:57, OK

      00:01:07, AT+CREG?
      00:01:07, +CREG: 0,2
      00:01:07, OK

      00:01:17, AT+CREG?
      00:01:17, +CREG: 0,2
      00:01:17, OK

      00:01:27, AT+CREG?
      00:01:27, +CREG: 0,1
      00:01:27, OK

      00:01:27, AT#SERVINFO
      00:01:27, #SERVINFO: 102,-78,”F SFR”,”20810″,34,1197,00,1,,”II”,11,6
      00:01:27, OK

      00:01:27, AT+CSQ
      00:01:27, +CSQ: 17,0
      00:01:27, OK

      00:01:27, ATE0
      00:01:27, ATE0
      00:01:27, OK

      00:01:27, AT+CREG=1
      00:01:28, OK

      00:01:28, AT+CNMI=2,1
      00:01:28, OK

      00:01:28, AT+CMGL=”ALL”
      00:01:28, OK

      00:01:28, AT+CGCLASS?
      00:01:28, AT+CGCLASS?
      00:01:28, +CGCLASS: “B”
      00:01:28, OK

      00:01:28, AT#AUTOATT=1
      00:01:28, AT#AUTOATT=1
      00:01:28, OK

      00:01:28, AT+CGATT=1
      00:01:28, AT+CGATT=1
      00:01:28, ERROR

      00:01:28, AT+CGREG?
      00:01:28, AT+CGREG?
      00:01:28, +CGREG: 0,3
      00:01:28, OK

      00:01:28, AT+CGATT?
      00:01:28, AT+CGATT?
      00:01:28, +CGATT: 0
      00:01:28, OK

      00:01:38, AT+CGREG?
      00:01:38, AT+CGREG?
      00:01:38, +CGREG: 0,3
      00:01:38, OK

      00:01:38, AT+CGATT?
      00:01:38, AT+CGATT?
      00:01:38, +CGATT: 0

      … etc …
      and then it gives :

      00:02:12, +CREG: 3

      With #AUTOATT=0, AT+CGATT=1 gives ERROR too and sometimes no response (I used a 2 minutes timeout).

       

      The SIM should be OK because it works on the two other modules.

       

      It seems that the modem is bad, no ? But two weeks ago it was working fine !

      You can see on the trace that sometimes, the GSM attachment is very difficult too.

       

      Thank you

    2. Thank you for your fast reply.
      Below, you will find the trace with #AUTOATT=1.

      00:00:08, AT
      00:00:08, AT
      00:00:08, OK

      00:00:08, AT&F1
      00:00:08, AT&F1
      00:00:08, OK

      00:00:08, AT+CFUN=1
      00:00:08, AT+CFUN=1
      00:00:08, OK

      00:00:08, AT+IPR=115200
      00:00:08, AT+IPR=115200
      00:00:08, OK

      00:00:08, AT+CMEE=2
      00:00:08, AT+CMEE=2
      00:00:08, OK

      00:00:08, ATE0
      00:00:08, ATE0
      00:00:08, OK

      00:00:08, AT+CGMR
      00:00:08, 07.03.941
      00:00:08, OK

      00:00:08, AT+CGMM
      00:00:08, GE863-PRO3
      00:00:08, OK

      00:00:08, AT+CGSN
      00:00:08, 357251010637427
      00:00:08, OK

      00:00:08, AT#CBC
      00:00:08, #CBC: 1,380
      00:00:08, OK

      00:00:08, AT#NWSCANTMR?
      00:00:08, #NWSCANTMR: 5
      00:00:08, OK

      00:00:08, AT#SELINT=2
      00:00:08, OK

      00:00:08, AT#REGMODE=0
      00:00:08, OK

      00:00:08, AT+COPS=0
      00:00:08, OK

      00:00:08, AT#AUTOBND=2
      00:00:08, OK

      00:00:08, AT#MONI=0
      00:00:08, OK

      00:00:14, AT+CPIN?
      00:00:14, +CPIN: SIM PIN
      00:00:14, OK

      00:00:14, AT+CPIN=0000
      00:00:14, OK

      00:00:14, AT#CCID
      00:00:17, #CCID: 89331040071389315165
      00:00:17, OK

      00:00:17, AT+CMGF=1
      00:00:17, OK

      00:00:17, AT+CREG?
      00:00:17, +CREG: 0,2
      00:00:17, OK

      00:00:27, AT+CREG?
      00:00:27, +CREG: 0,2
      00:00:27, OK

      00:00:37, AT+CREG?
      00:00:37, +CREG: 0,2
      00:00:37, OK

      00:00:47, AT+CREG?
      00:00:47, +CREG: 0,2
      00:00:47, OK

      00:00:57, AT+CREG?
      00:00:57, +CREG: 0,2
      00:00:57, OK

      00:01:07, AT+CREG?
      00:01:07, +CREG: 0,2
      00:01:07, OK

      00:01:17, AT+CREG?
      00:01:17, +CREG: 0,2
      00:01:17, OK

      00:01:27, AT+CREG?
      00:01:27, +CREG: 0,1
      00:01:27, OK

      00:01:27, AT#SERVINFO
      00:01:27, #SERVINFO: 102,-78,"F SFR","20810",34,1197,00,1,,"II",11,6
      00:01:27, OK

      00:01:27, AT+CSQ
      00:01:27, +CSQ: 17,0
      00:01:27, OK

      00:01:27, ATE0
      00:01:27, ATE0
      00:01:27, OK

      00:01:27, AT+CREG=1
      00:01:28, OK

      00:01:28, AT+CNMI=2,1
      00:01:28, OK

      00:01:28, AT+CMGL="ALL"
      00:01:28, OK

      00:01:28, AT+CGCLASS?
      00:01:28, AT+CGCLASS?
      00:01:28, +CGCLASS: "B"
      00:01:28, OK

      00:01:28, AT#AUTOATT=1
      00:01:28, AT#AUTOATT=1
      00:01:28, OK

      00:01:28, AT+CGATT=1
      00:01:28, AT+CGATT=1
      00:01:28, ERROR

      00:01:28, AT+CGREG?
      00:01:28, AT+CGREG?
      00:01:28, +CGREG: 0,3
      00:01:28, OK

      00:01:28, AT+CGATT?
      00:01:28, AT+CGATT?
      00:01:28, +CGATT: 0
      00:01:28, OK

      00:01:38, AT+CGREG?
      00:01:38, AT+CGREG?
      00:01:38, +CGREG: 0,3
      00:01:38, OK

      00:01:38, AT+CGATT?
      00:01:38, AT+CGATT?
      00:01:38, +CGATT: 0

      … etc …
      and then it gives :

      00:03:05, +CREG: 3

      With #AUTOATT=0, AT+CGATT=1 gives ERROR too and sometimes no response (I used a 2 minutes timeout).

       

      The SIM should be OK because it works on the two other modules.

       

      It seems that the modem is bad, no ? But two weeks ago it was working fine !

      You can see on the trace that sometimes, the GSM attachment is very difficult too.

       

      Thank you

        1. You’r write, the first CMEE=2 was not on the same cmux instance.

           

          Now we get, with AUTOATT=1 :

           

          00:00:47, AT+CMEE=2
          00:00:47, AT+CMEE=2
          00:00:47, OK

          00:00:47, AT#AUTOATT=1
          00:00:47, AT#AUTOATT=1
          00:00:48, OK

          00:00:48, AT+CGATT=1
          00:00:48, AT+CGATT=1
          00:00:48, +CME ERROR: operation not allowed

          and with AUTOATT=0 :

           

          00:01:27, AT+CMEE=2
          00:01:27, AT+CMEE=2
          00:01:27, OK

          00:01:27, AT#AUTOATT=0
          00:01:27, AT#AUTOATT=0
          00:01:27, OK

          00:01:27, AT+CGATT=1
          00:01:27, AT+CGATT=1
          00:01:27, +CME ERROR: operation not allowed
           

           

          We are using the integrated battery charger to charge a 1000mAh battery. Vbat = 3.8V as you can see on my previous post (AT#CBC command).

          I will try to change it with a known good 1300mAh battery.

           

          The antenna cannot be swapped because it’s printed on the circuit board (designed by Telit).

          Normally we have to mount 3 resistors in PI to adapt the antenna impedance. These resistors are not mounted, there is only a solder jumper, because we don’t know their values yet. It’s working this way on the 2 other prototypes and the CSQ is not too bad  (17).

           

           

          1. I would try to re-upload the latest firmware in the module,  this will reset all settings to default.

             

          2. Yes but I don’t know how to upload the firmware through the console port. The modem port is only accessible from the ARM processor.

            We need a kind of Xfp running on the embedded Linux. Is it available ? I’m afraid it’s not.

             

             

  3. What boards have you? You don’t have access to the modem serial port  of the GSM engine?

     

    … and please check with AT#REGMODE=1 results of +CREG and +CGRE.

    1. With AT#REGMODE=1 :

       

      00:00:16, AT+CREG?
      00:00:16, +CREG: 0,2
      00:00:16, OK

      00:00:26, AT+CREG?
      00:00:26, +CREG: 0,2
      00:00:26, OK

      00:00:36, AT+CREG?
      00:00:36, +CREG: 0,3
      00:00:36, OK

      00:00:46, AT+CREG?
      00:00:46, +CREG: 0,3
      00:00:46, OK
      etc. …

       

  4. Looks like registration is denied completely.

    One more test:
    AT+CPIN? and AT#SERVINFO after +CREG: 0,3
    and

    AT#CSURV

     

    And please investigate the direct access to modem serial port for firmware upgrade.

    1. The trace with AT#CSURV :

       

      00:00:27, AT+CREG?
      00:00:27, +CREG: 0,2
      00:00:27, OK

      00:00:37, AT+CREG?
      00:00:37, +CREG: 0,3
      00:00:37, OK

      00:00:37, AT+CPIN?
      00:00:37, +CPIN: READY
      00:00:37, OK

      00:00:37, AT#SERVINFO
      00:00:37, #SERVINFO: 102,-81,"F SFR","20810",34,1197,00,1,,"II",11,6
      00:00:37, OK

      00:00:37, AT#CSURV
      00:00:37, Network survey started …
      00:00:37, +CME ERROR: Network survey error (Busy)

      00:00:47, AT+CREG?
      00:00:47, +CREG: 0,3
      00:00:47, OK

      00:00:47, AT+CPIN?
      00:00:47, +CPIN: READY
      00:00:47, OK

      00:00:47, AT#SERVINFO
      00:00:47, #SERVINFO: 102,-81,"F SFR","20810",34,1197,00,1,,"II",11,6
      00:00:47, OK

      00:00:47, AT#CSURV
      00:00:47, Network survey started …
      00:00:55, arfcn: 978 bsic: 43 rxLev: -78 ber: 0.00 mcc: 208 mnc: 20 lac: 1 cellId: 2604 ce
      00:00:55, llStatus: CELL_FORBIDDEN numArfcn: 3 arfcn: 978 994 996
      00:00:55, arfcn: 102 bsic: 28 rxLev: -86 ber: 0.00 mcc: 208 mnc: 10 lac: 4503 cellId: 7720
      00:00:55,  cellStatus: CELL_SUITABLE numArfcn: 5 arfcn: 75 79 86 102 115 numChannels: 17 a
      00:00:55, rray: 70 81 84 89 91 92 93 94 96 98 104 107 111 112 113 122 123
      00:00:55, +CME ERROR: Network survey error (Aborted)
       

  5. We think it’s an HW failure, the
    module was probably damaged during the tests. We suggest to contact the
    distributor to swap the faulty module.

    1. Ok, thanks for all.

       

      The module is a BGA so we can’t change it easily.

      Anyway, it was only a prototype board.

       

      Christian,