Hi,
I am using a 3rd party SIM with my electron and it was working perfectly until today. I came back from a holiday after a week and turned the device on. The firmware I had in it, published some data after every 5 minutes and went to sleep. I noticed that with every publish the battery charge was going up. It went from 30% all the way up to 74%, although I hadn’t connected the device with a power source. So after an hours operation the device tried to come out of sleep from the last 5 minute interval and it got stuck on blinking green. I flashed the device with tinker-usb-debugging firmware and noticed that the device is endlessly cycling between Modem Off -> Modem ON -> Modem Init -> Modem Registration. It reported +CGREG: 2,2 which means it is trying to find an operator to register with. Here is the logs generated by tinker
0000318938 src/dtls_protocol.cpp:47, virtual void particle::protocol::DTLSProtocol::init(const char*, const SparkKeys&, const SparkCallbacks&, const SparkDesc~: channel inited0000318938 src/system_task.cpp:101, void manage_network_connection(): WARN: Resetting WLAN due to WLAN_WD_TO()
[ Modem::powerOff ] = = = = = = = = = = = = = =
318.899 AT send 12 "AT+CPWROFF\r\n"
318.969 AT read OK 6 "\r\nOK\r\n"
0000319009 src/system_task.cpp:117, void manage_network_connection(): INFO: Network Connect: !SPARK_WLAN_STARTED
0000319009 src/system_network_internal.h:289, virtual void ManagedNetworkInterface::connect(bool): INFO: ready(): 0; connecting(): 0; listening(): 0; WLAN_SMART_CONFIG_START: 0
[ Modem::powerOn ] = = = = = = = = = = = = = =
319.280 AT send 4 "AT\r\n"
320.600 AT send 4 "AT\r\n"
321.920 AT send 4 "AT\r\n"
323.240 AT send 4 "AT\r\n"
323.250 AT read UNK 3 "AT\r"
323.260 AT read OK 6 "\r\nOK\r\n"
323.260 AT send 7 "AT E0\r\n"
323.270 AT read UNK 6 "AT E0\r"
323.280 AT read OK 6 "\r\nOK\r\n"
323.280 AT send 11 "AT+CMEE=2\r\n"
323.290 AT read OK 6 "\r\nOK\r\n"
323.290 AT send 19 "AT+CMER=1,0,0,2,1\r\n"
323.300 AT read OK 6 "\r\nOK\r\n"
323.300 AT send 15 "AT+IPR=115200\r\n"
323.310 AT read OK 6 "\r\nOK\r\n"
323.410 AT send 10 "AT+CPIN?\r\n"
323.420 AT read ERR 24 "\r\n+CME ERROR: SIM busy\r\n"
324.420 AT send 10 "AT+CPIN?\r\n"
324.430 AT read + 16 "\r\n+CPIN: READY\r\n"
324.440 AT read OK 6 "\r\nOK\r\n"
0000324480 src/system_network_internal.h:318, virtual void ManagedNetworkInterface::connect(bool): INFO: ARM_WLAN_WD 1
[ Modem::init ] = = = = = = = = = = = = = = =
324.441 AT send 9 "AT+CGSN\r\n"
324.461 AT read UNK 19 "\r\n352253061012984\r\n"
324.471 AT read OK 6 "\r\nOK\r\n"
324.471 AT send 9 "AT+CGMI\r\n"
324.481 AT read UNK 10 "\r\nu-blox\r\n"
324.491 AT read OK 6 "\r\nOK\r\n"
324.491 AT send 9 "AT+CGMM\r\n"
324.501 AT read UNK 13 "\r\nSARA-U270\r\n"
324.511 AT read OK 6 "\r\nOK\r\n"
324.511 AT send 9 "AT+CGMR\r\n"
324.521 AT read UNK 9 "\r\n23.20\r\n"
324.531 AT read OK 6 "\r\nOK\r\n"
324.531 AT send 9 "AT+CCID\r\n"
324.541 AT read + 31 "\r\n+CCID: 89410062304402239178\r\n"
324.551 AT read OK 6 "\r\nOK\r\n"
324.551 AT send 11 "AT+UPSV=1\r\n"
324.561 AT read OK 6 "\r\nOK\r\n"
324.561 AT send 11 "AT+CMGF=1\r\n"
324.571 AT read OK 6 "\r\nOK\r\n"
324.571 AT send 13 "AT+CNMI=2,1\r\n"
324.581 AT read OK 6 "\r\nOK\r\n"
324.581 AT send 9 "AT+CIMI\r\n"
324.591 AT read UNK 19 "\r\n410060440223917\r\n"
324.601 AT read OK 6 "\r\nOK\r\n"
[ Modem::register ] = = = = = = = = = = = = = =
324.601 AT send 10 "AT+CREG?\r\n"
324.612 AT read + 14 "\r\n+CREG: 0,0\r\n"
324.622 AT read OK 6 "\r\nOK\r\n"
324.622 AT send 11 "AT+CGREG?\r\n"
324.632 AT read + 15 "\r\n+CGREG: 0,0\r\n"
324.642 AT read OK 6 "\r\nOK\r\n"
324.642 AT send 12 "AT+CGREG=2\r\n"
324.652 AT read OK 6 "\r\nOK\r\n"
324.652 AT send 11 "AT+CREG=2\r\n"
324.662 AT read OK 6 "\r\nOK\r\n"
324.662 AT send 10 "AT+CREG?\r\n"
324.672 AT read + 14 "\r\n+CREG: 2,0\r\n"
324.682 AT read OK 6 "\r\nOK\r\n"
324.682 AT send 11 "AT+CGREG?\r\n"
324.692 AT read + 15 "\r\n+CGREG: 2,0\r\n"
324.702 AT read OK 6 "\r\nOK\r\n"
339.702 AT send 10 "AT+CREG?\r\n"
339.702 AT read + 14 "\r\n+CIEV: 5,1\r\n"
341.502 AT read + 14 "\r\n+CREG: 2,0\r\n"
341.512 AT read OK 6 "\r\nOK\r\n"
341.512 AT send 11 "AT+CGREG?\r\n"
341.522 AT read + 15 "\r\n+CGREG: 2,0\r\n"
341.532 AT read OK 6 "\r\nOK\r\n"
356.532 AT send 10 "AT+CREG?\r\n"
358.332 AT read + 14 "\r\n+CREG: 2,0\r\n"
358.342 AT read OK 6 "\r\nOK\r\n"
358.342 AT send 11 "AT+CGREG?\r\n"
358.352 AT read + 15 "\r\n+CGREG: 2,0\r\n"
358.362 AT read OK 6 "\r\nOK\r\n"
373.362 AT send 10 "AT+CREG?\r\n"
375.162 AT read + 14 "\r\n+CREG: 2,0\r\n"
375.172 AT read OK 6 "\r\nOK\r\n"
375.172 AT send 11 "AT+CGREG?\r\n"
375.182 AT read + 15 "\r\n+CGREG: 2,0\r\n"
375.192 AT read OK 6 "\r\nOK\r\n"
390.192 AT send 10 "AT+CREG?\r\n"
390.192 AT read + 14 "\r\n+CIEV: 3,0\r\n"
390.202 AT read + 14 "\r\n+CIEV: 7,0\r\n"
390.212 AT read + 14 "\r\n+CIEV: 9,0\r\n"
CIEV matched: 9,0
391.842 AT read + 14 "\r\n+CREG: 2,0\r\n"
391.852 AT read OK 6 "\r\nOK\r\n"
391.852 AT send 11 "AT+CGREG?\r\n"
391.862 AT read + 15 "\r\n+CGREG: 2,0\r\n"
391.872 AT read OK 6 "\r\nOK\r\n"
406.872 AT send 10 "AT+CREG?\r\n"
406.872 AT read + 12 "\r\n+CREG: 2\r\n"
406.882 AT read + 13 "\r\n+CGREG: 2\r\n"
408.672 AT read + 14 "\r\n+CREG: 2,2\r\n"
408.682 AT read OK 6 "\r\nOK\r\n"
408.682 AT send 11 "AT+CGREG?\r\n"
408.692 AT read + 15 "\r\n+CGREG: 2,2\r\n"
408.702 AT read OK 6 "\r\nOK\r\n"
423.702 AT send 10 "AT+CREG?\r\n"
425.502 AT read + 14 "\r\n+CREG: 2,2\r\n"
425.512 AT read OK 6 "\r\nOK\r\n"
425.512 AT send 11 "AT+CGREG?\r\n"
425.522 AT read + 15 "\r\n+CGREG: 2,2\r\n"
425.532 AT read OK 6 "\r\nOK\r\n"
440.532 AT send 10 "AT+CREG?\r\n"
440.552 AT read + 12 "\r\n+CREG: 0\r\n"
440.562 AT read + 13 "\r\n+CGREG: 0\r\n"
440.572 AT read + 14 "\r\n+CREG: 2,0\r\n"
440.582 AT read OK 6 "\r\nOK\r\n"
440.582 AT send 11 "AT+CGREG?\r\n"
443.102 AT read + 15 "\r\n+CGREG: 2,0\r\n"
443.112 AT read OK 6 "\r\nOK\r\n"
458.112 AT send 10 "AT+CREG?\r\n"
458.112 AT read + 12 "\r\n+CREG: 2\r\n"
458.122 AT read + 13 "\r\n+CGREG: 2\r\n"
459.912 AT read + 14 "\r\n+CREG: 2,2\r\n"
459.922 AT read OK 6 "\r\nOK\r\n"
459.922 AT send 11 "AT+CGREG?\r\n"
459.932 AT read + 15 "\r\n+CGREG: 2,2\r\n"
459.942 AT read OK 6 "\r\nOK\r\n"
474.942 AT send 10 "AT+CREG?\r\n"
476.742 AT read + 14 "\r\n+CREG: 2,2\r\n"
476.752 AT read OK 6 "\r\nOK\r\n"
476.752 AT send 11 "AT+CGREG?\r\n"
476.762 AT read + 15 "\r\n+CGREG: 2,2\r\n"
476.772 AT read OK 6 "\r\nOK\r\n"
491.772 AT send 10 "AT+CREG?\r\n"
493.572 AT read + 14 "\r\n+CREG: 2,2\r\n"
493.582 AT read OK 6 "\r\nOK\r\n"
493.582 AT send 11 "AT+CGREG?\r\n"
493.592 AT read + 15 "\r\n+CGREG: 2,2\r\n"
493.602 AT read OK 6 "\r\nOK\r\n"
508.602 AT send 10 "AT+CREG?\r\n"
508.602 AT read + 12 "\r\n+CREG: 0\r\n"
508.612 AT read + 13 "\r\n+CGREG: 0\r\n"
510.702 AT read + 14 "\r\n+CREG: 2,0\r\n"
510.712 AT read OK 6 "\r\nOK\r\n"
510.712 AT send 11 "AT+CGREG?\r\n"
510.712 AT read + 12 "\r\n+CREG: 2\r\n"
510.723 AT read + 13 "\r\n+CGREG: 2\r\n"
510.733 AT read + 15 "\r\n+CGREG: 2,2\r\n"
510.743 AT read OK 6 "\r\nOK\r\n"
525.743 AT send 10 "AT+CREG?\r\n"
525.743 AT read + 12 "\r\n+CREG: 0\r\n"
525.753 AT read + 13 "\r\n+CGREG: 0\r\n"
525.763 AT read + 12 "\r\n+CREG: 2\r\n"
525.773 AT read + 13 "\r\n+CGREG: 2\r\n"
527.533 AT read + 14 "\r\n+CREG: 2,2\r\n"
527.543 AT read OK 6 "\r\nOK\r\n"
527.543 AT send 11 "AT+CGREG?\r\n"
527.553 AT read + 15 "\r\n+CGREG: 2,2\r\n"
527.563 AT read OK 6 "\r\nOK\r\n"
542.563 AT send 10 "AT+CREG?\r\n"
544.363 AT read + 14 "\r\n+CREG: 2,2\r\n"
544.373 AT read OK 6 "\r\nOK\r\n"
544.373 AT send 11 "AT+CGREG?\r\n"
544.383 AT read + 15 "\r\n+CGREG: 2,2\r\n"
544.393 AT read OK 6 "\r\nOK\r\n"
559.393 AT send 10 "AT+CREG?\r\n"
561.193 AT read + 14 "\r\n+CREG: 2,2\r\n"
561.203 AT read OK 6 "\r\nOK\r\n"
561.203 AT send 11 "AT+CGREG?\r\n"
561.213 AT read + 15 "\r\n+CGREG: 2,2\r\n"
561.223 AT read OK 6 "\r\nOK\r\n"
576.223 AT send 10 "AT+CREG?\r\n"
576.223 AT read + 12 "\r\n+CREG: 0\r\n"
576.233 AT read + 13 "\r\n+CGREG: 0\r\n"
576.243 AT read + 12 "\r\n+CREG: 2\r\n"
576.253 AT read + 13 "\r\n+CGREG: 2\r\n"
576.263 AT read + 12 "\r\n+CREG: 0\r\n"
576.273 AT read + 13 "\r\n+CGREG: 0\r\n"
576.443 AT read + 14 "\r\n+CREG: 2,0\r\n"
576.453 AT read OK 6 "\r\nOK\r\n"
576.453 AT send 11 "AT+CGREG?\r\n"
576.463 AT read + 15 "\r\n+CGREG: 2,0\r\n"
576.473 AT read OK 6 "\r\nOK\r\n"
591.473 AT send 10 "AT+CREG?\r\n"
591.473 AT read + 12 "\r\n+CREG: 2\r\n"
591.483 AT read + 13 "\r\n+CGREG: 2\r\n"
591.493 AT read + 12 "\r\n+CREG: 0\r\n"
591.503 AT read + 13 "\r\n+CGREG: 0\r\n"
591.513 AT read + 12 "\r\n+CREG: 2\r\n"
591.523 AT read + 13 "\r\n+CGREG: 2\r\n"
593.273 AT read + 14 "\r\n+CREG: 2,2\r\n"
593.283 AT read OK 6 "\r\nOK\r\n"
593.283 AT send 11 "AT+CGREG?\r\n"
593.293 AT read + 15 "\r\n+CGREG: 2,2\r\n"
593.303 AT read OK 6 "\r\nOK\r\n"
608.303 AT send 10 "AT+CREG?\r\n"
610.103 AT read + 14 "\r\n+CREG: 2,2\r\n"
610.113 AT read OK 6 "\r\nOK\r\n"
610.113 AT send 11 "AT+CGREG?\r\n"
610.123 AT read + 15 "\r\n+CGREG: 2,2\r\n"
610.133 AT read OK 6 "\r\nOK\r\n"
625.133 AT send 10 "AT+CREG?\r\n"
626.933 AT read + 14 "\r\n+CREG: 2,2\r\n"
626.943 AT read OK 6 "\r\nOK\r\n"
626.943 AT send 11 "AT+CGREG?\r\n"
626.953 AT read + 15 "\r\n+CGREG: 2,2\r\n"
626.963 AT read OK 6 "\r\nOK\r\n"
0000627003 src/system_task.cpp:101, void manage_network_connection(): WARN: Resetting WLAN due to WLAN_WD_TO()
[ Modem::powerOff ] = = = = = = = = = = = = = =
626.964 AT send 12 "AT+CPWROFF\r\n"
627.024 AT read OK 6 "\r\nOK\r\n"
0000627064 src/system_task.cpp:117, void manage_network_connection(): INFO: Network Connect: !SPARK_WLAN_STARTED
0000627065 src/system_network_internal.h:289, virtual void ManagedNetworkInterface::connect(bool): INFO: ready(): 0; connecting(): 0; listening(): 0; WLAN_SMART_CONFIG_START: 0
[ Modem::powerOn ] = = = = = = = = = = = = = =
627.335 AT send 4 "AT\r\n"
628.655 AT send 4 "AT\r\n"
629.975 AT send 4 "AT\r\n"
631.295 AT send 4 "AT\r\n"
631.305 AT read UNK 3 "AT\r"
631.315 AT read OK 6 "\r\nOK\r\n"
631.315 AT send 7 "AT E0\r\n"
631.325 AT read UNK 6 "AT E0\r"
631.335 AT read OK 6 "\r\nOK\r\n"
631.335 AT send 11 "AT+CMEE=2\r\n"
631.345 AT read OK 6 "\r\nOK\r\n"
631.345 AT send 19 "AT+CMER=1,0,0,2,1\r\n"
631.355 AT read OK 6 "\r\nOK\r\n"
631.355 AT send 15 "AT+IPR=115200\r\n"
631.365 AT read OK 6 "\r\nOK\r\n"
631.465 AT send 10 "AT+CPIN?\r\n"
631.475 AT read ERR 24 "\r\n+CME ERROR: SIM busy\r\n"
632.475 AT send 10 "AT+CPIN?\r\n"
632.485 AT read + 16 "\r\n+CPIN: READY\r\n"
632.495 AT read OK 6 "\r\nOK\r\n"
0000632535 src/system_network_internal.h:318, virtual void ManagedNetworkInterface::connect(bool): INFO: ARM_WLAN_WD 1
[ Modem::init ] = = = = = = = = = = = = = = =
632.495 AT send 9 "AT+CGSN\r\n"
632.516 AT read UNK 19 "\r\n352253061012984\r\n"
632.526 AT read OK 6 "\r\nOK\r\n"
632.526 AT send 9 "AT+CGMI\r\n"
632.536 AT read UNK 10 "\r\nu-blox\r\n"
632.546 AT read OK 6 "\r\nOK\r\n"
632.546 AT send 9 "AT+CGMM\r\n"
632.556 AT read UNK 13 "\r\nSARA-U270\r\n"
632.566 AT read OK 6 "\r\nOK\r\n"
632.566 AT send 9 "AT+CGMR\r\n"
632.576 AT read UNK 9 "\r\n23.20\r\n"
632.586 AT read OK 6 "\r\nOK\r\n"
632.586 AT send 9 "AT+CCID\r\n"
632.596 AT read + 31 "\r\n+CCID: 89410062304402239178\r\n"
632.606 AT read OK 6 "\r\nOK\r\n"
632.606 AT send 11 "AT+UPSV=1\r\n"
632.616 AT read OK 6 "\r\nOK\r\n"
632.616 AT send 11 "AT+CMGF=1\r\n"
632.626 AT read OK 6 "\r\nOK\r\n"
632.626 AT send 13 "AT+CNMI=2,1\r\n"
632.636 AT read OK 6 "\r\nOK\r\n"
632.636 AT send 9 "AT+CIMI\r\n"
632.646 AT read UNK 19 "\r\n410060440223917\r\n"
632.656 AT read OK 6 "\r\nOK\r\n"
[ Modem::register ] = = = = = = = = = = = = = =
632.656 AT send 10 "AT+CREG?\r\n"
632.666 AT read + 14 "\r\n+CREG: 0,0\r\n"
632.676 AT read OK 6 "\r\nOK\r\n"
632.676 AT send 11 "AT+CGREG?\r\n"
632.686 AT read + 15 "\r\n+CGREG: 0,0\r\n"
632.696 AT read OK 6 "\r\nOK\r\n"
632.696 AT send 12 "AT+CGREG=2\r\n"
632.706 AT read OK 6 "\r\nOK\r\n"
632.706 AT send 11 "AT+CREG=2\r\n"
The strange thing is that it was working perfectly fine and just stopped working. It does not make any sense. I suspect that it has got something to do with the battery. Battery appears to be working normally but since I noticed its charge percentage rising without any power source just before this issue occured I think this might have something to do with the connection problem. I have the device now connected to usb power and battery both.
Here are details of the device in question
Device: Electron 3G (South-east Asia)
System Firmware Version: 0.6.0
Thanks