This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Modem never connects to LTE

Hello!

I've seen similar posts about this issue:
https://devzone.nordicsemi.com/f/nordic-q-a/57105/nrf9160-modem-stuck-in-searching
https://devzone.nordicsemi.com/f/nordic-q-a/55154/lte-network-detected-but-never-connected
https://devzone.nordicsemi.com/f/nordic-q-a/80359/nrf9160-modem-firmware-1-3-0-intermittent-fails-to-register-in-lte-network-lte-m

However, none of these have solved my issue. My Problem might be different from others.

So my software/firmware has been running perfectly fine for a while. What it basically does is take a picture with adafruit vc0706 every minute and send that picture to AWS through LTE divided into several packages. Until recently when I accidentally broke the vc0706 and replaced it with a new vc0706 (same model and version). I'm currently using an Icarus IoT board to control the camera and when booting it up after switching, it connected successfully, took a picture, waited a minute, and during the sending of the second image disconnected from MQTT and now it is not able to reconnect to LTE. I've tried this with 4 different Icarus IoT Boards now and they all experience the same faith. 

So this is what appears in the LTE link monitor:

2021-10-28T03:49:20.902Z DEBUG modem << *** Booting Zephyr OS build v2.3.0-rc1-ncs3  ***
2021-10-28T03:49:20.903Z DEBUG modem << Flash regionsDomainPermissions
2021-10-28T03:49:20.904Z DEBUG modem << 00 02 0x00000 0x18000 Securerwxl
2021-10-28T03:49:20.904Z DEBUG modem << 03 31 0x18000 0x100000 Non-Securerwxl
2021-10-28T03:49:20.904Z DEBUG modem << Non-secure callable region 0 placed in flash region 2 with size 32.
2021-10-28T03:49:21.187Z DEBUG modem << SRAM regionDomainPermissions
2021-10-28T03:49:21.188Z DEBUG modem << 00 07 0x00000 0x10000 Securerwxl
2021-10-28T03:49:21.189Z DEBUG modem << 08 31 0x10000 0x40000 Non-Securerwxl
2021-10-28T03:49:21.189Z DEBUG modem << PeripheralDomainStatus
2021-10-28T03:49:21.190Z DEBUG modem << 00 NRF_P0               Non-SecureOK
2021-10-28T03:49:21.190Z DEBUG modem << 01 NRF_CLOCK            Non-SecureOK
2021-10-28T03:49:21.191Z DEBUG modem << 02 NRF_RTC0             Non-SecureOK
2021-10-28T03:49:21.191Z DEBUG modem << 03 NRF_RTC1             Non-SecureOK
2021-10-28T03:49:21.192Z DEBUG modem << 04 NRF_NVMC             Non-SecureOK
2021-10-28T03:49:21.192Z DEBUG modem << 05 NRF_UARTE1           Non-SecureOK
2021-10-28T03:49:21.192Z DEBUG modem << 06 NRF_UARTE2           SecureSKIP
2021-10-28T03:49:21.193Z DEBUG modem << 07 NRF_TWIM2            Non-SecureOK
2021-10-28T03:49:21.193Z DEBUG modem << 08 NRF_SPIM3            Non-SecureOK
2021-10-28T03:49:21.193Z DEBUG modem << 09 NRF_TIMER0           Non-SecureOK
2021-10-28T03:49:21.194Z DEBUG modem << 10 NRF_TIMER1           Non-SecureOK
2021-10-28T03:49:21.195Z DEBUG modem << 11 NRF_TIMER2           Non-SecureOK
2021-10-28T03:49:21.195Z DEBUG modem << 12 NRF_SAADC            Non-SecureOK
2021-10-28T03:49:21.196Z DEBUG modem << 13 NRF_PWM0             Non-SecureOK
2021-10-28T03:49:21.197Z DEBUG modem << 14 NRF_PWM1             Non-SecureOK
2021-10-28T03:49:21.197Z DEBUG modem << 15 NRF_PWM2             Non-SecureOK
2021-10-28T03:49:21.197Z DEBUG modem << 16 NRF_PWM3             Non-SecureOK
2021-10-28T03:49:21.198Z DEBUG modem << 17 NRF_WDT              Non-SecureOK
2021-10-28T03:49:21.198Z DEBUG modem << 18 NRF_IPC              Non-SecureOK
2021-10-28T03:49:21.198Z DEBUG modem << 19 NRF_VMC              Non-SecureOK
2021-10-28T03:49:21.199Z DEBUG modem << 20 NRF_FPU              Non-SecureOK
2021-10-28T03:49:21.199Z DEBUG modem << 21 NRF_EGU1             Non-SecureOK
2021-10-28T03:49:21.200Z DEBUG modem << 22 NRF_EGU2             Non-SecureOK
2021-10-28T03:49:21.200Z DEBUG modem << 23 NRF_DPPIC            Non-SecureOK
2021-10-28T03:49:21.200Z DEBUG modem << 24 NRF_GPIOTE1          Non-SecureOK
2021-10-28T03:49:21.201Z DEBUG modem << 25 NRF_REGULATORS       Non-SecureOK
2021-10-28T03:49:21.201Z DEBUG modem << SPM: NS image at 0x1c200
2021-10-28T03:49:21.201Z DEBUG modem << SPM: NS MSP at 0x2002f208
2021-10-28T03:49:21.202Z DEBUG modem << SPM: NS reset vector at 0x1ea0d
2021-10-28T03:49:21.202Z DEBUG modem << SPM: prepare to jump to Non-Secure image.
2021-10-28T03:49:21.387Z DEBUG modem << *** Booting Zephyr OS build v2.3.0-rc1-ncs3  ***
2021-10-28T03:49:21.388Z DEBUG modem << Camera VC0706
2021-10-28T03:49:21.389Z DEBUG modem << Initializing camera
2021-10-28T03:49:24.395Z DEBUG modem << 640x480
2021-10-28T03:49:24.412Z DEBUG modem << Setting up compression ratio
2021-10-28T03:49:24.427Z DEBUG modem << Current compression ratio is 55
2021-10-28T03:49:24.429Z DEBUG modem << Provisioning certificates
2021-10-28T03:49:24.571Z DEBUG modem << LTE Link Connecting ...
2021-10-28T03:49:57.740Z DEBUG modem << +CEREG: 2,"0901","020A6016",7,0,0,"11100000","11100000"
2021-10-28T03:49:57.788Z DEBUG modem << +CSCON: 1
2021-10-28T03:49:59.660Z DEBUG modem << +CEREG: 5,"0901","020A6016",7,,,"11100000","11100000"
2021-10-28T03:49:59.665Z DEBUG modem << LTE Link Connected!
2021-10-28T03:49:59.820Z DEBUG modem << IPv4 Address found 16.170.29.125
2021-10-28T03:50:03.419Z DEBUG modem << [mqtt_evt_handler:271] MQTT client connected!
2021-10-28T03:50:03.420Z DEBUG modem << Connected with TLS
2021-10-28T03:50:04.412Z DEBUG modem << Exiting power saving mode
2021-10-28T03:50:05.435Z DEBUG modem << Taking picture
2021-10-28T03:50:05.451Z DEBUG modem << Reading picture length
2021-10-28T03:50:05.467Z DEBUG modem << Image size: 30052 bytes
2021-10-28T03:50:05.468Z DEBUG modem << Reading picture
2021-10-28T03:50:10.485Z DEBUG modem << Picture taken successfully
2021-10-28T03:50:10.487Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:11.696Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 42196
2021-10-28T03:50:11.697Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:12.336Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 16422
2021-10-28T03:50:12.337Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:12.977Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 37429
2021-10-28T03:50:12.977Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:13.361Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 58401
2021-10-28T03:50:13.376Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:14.021Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 5940
2021-10-28T03:50:14.022Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:14.672Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 26974
2021-10-28T03:50:14.672Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:15.301Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 48373
2021-10-28T03:50:15.301Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:15.940Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 3354
2021-10-28T03:50:15.940Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:16.592Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 24388
2021-10-28T03:50:16.593Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:17.231Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 45753
2021-10-28T03:50:17.231Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:18.687Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 1166
2021-10-28T03:50:18.703Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:19.396Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 49393
2021-10-28T03:50:19.396Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:19.792Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 6470
2021-10-28T03:50:19.793Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:20.192Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 19539
2021-10-28T03:50:20.193Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:20.581Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 32685
2021-10-28T03:50:20.581Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:20.994Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 45400
2021-10-28T03:50:20.994Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:21.415Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 58914
2021-10-28T03:50:21.415Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:21.862Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 7076
2021-10-28T03:50:21.863Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:22.180Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 21839
2021-10-28T03:50:22.182Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:22.596Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 32261
2021-10-28T03:50:22.612Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:23.001Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 46399
2021-10-28T03:50:23.001Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:23.379Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 59066
2021-10-28T03:50:23.380Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:23.715Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 6015
2021-10-28T03:50:23.731Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:24.114Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 17561
2021-10-28T03:50:24.115Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:24.503Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 30081
2021-10-28T03:50:24.504Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:24.900Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 42815
2021-10-28T03:50:24.900Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:25.305Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 55857
2021-10-28T03:50:25.306Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:25.620Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 3526
2021-10-28T03:50:25.620Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:26.041Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 13912
2021-10-28T03:50:26.042Z DEBUG modem << Publishing 358 bytes to topic: vistek/pilot len: 12
2021-10-28T03:50:26.421Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 27627
2021-10-28T03:50:26.421Z DEBUG modem << Picture sent successfully
2021-10-28T03:50:26.422Z DEBUG modem << Entering power saving mode
2021-10-28T03:50:26.422Z DEBUG modem << +CSCON: 0
2021-10-28T03:50:26.437Z DEBUG modem << +CEREG: 5,"0901","01E3500B",7,,,"11100000","11100000"
2021-10-28T03:50:26.441Z DEBUG modem << +CSCON: 1
2021-10-28T03:50:30.245Z DEBUG modem << +CSCON: 0
2021-10-28T03:51:04.405Z DEBUG modem << Exiting power saving mode
2021-10-28T03:51:05.429Z DEBUG modem << Taking picture
2021-10-28T03:51:05.445Z DEBUG modem << Reading picture length
2021-10-28T03:51:05.461Z DEBUG modem << Image size: 32216 bytes
2021-10-28T03:51:05.462Z DEBUG modem << Reading picture
2021-10-28T03:51:10.484Z DEBUG modem << Picture taken successfully
2021-10-28T03:51:10.485Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:51:11.056Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 42197
2021-10-28T03:51:11.056Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:51:11.381Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 60980
2021-10-28T03:51:11.381Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:51:11.695Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 6028
2021-10-28T03:51:11.696Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:51:12.015Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 16380
2021-10-28T03:51:12.016Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:51:12.340Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 26869
2021-10-28T03:51:12.340Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:51:12.658Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 37486
2021-10-28T03:51:12.658Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:51:12.978Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 47941
2021-10-28T03:51:12.979Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:51:13.311Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 58425
2021-10-28T03:51:13.311Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:51:13.630Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 3802
2021-10-28T03:51:13.630Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:51:13.939Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 14269
2021-10-28T03:51:13.939Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:51:14.264Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 24398
2021-10-28T03:51:14.264Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:51:14.568Z DEBUG modem << [mqtt_evt_handler:315] PUBACK packet id: 35015
2021-10-28T03:51:14.584Z DEBUG modem << Publishing 1026 bytes to topic: vistek/pilot len: 12
2021-10-28T03:51:17.121Z DEBUG modem << [mqtt_evt_handler:282] MQTT client disconnected -128
2021-10-28T03:51:17.122Z DEBUG modem << ERROR: mqtt_input -128
2021-10-28T03:51:17.122Z DEBUG modem << Error while sending picture
2021-10-28T03:51:17.122Z DEBUG modem << +CSCON: 1
2021-10-28T03:51:17.169Z DEBUG modem << +CEREG: 2,"0901","01E3500B",7,0,10,"11100000","11100000"
2021-10-28T03:51:18.433Z DEBUG modem << +CSCON: 0
2021-10-28T03:51:26.924Z DEBUG modem << *** Booting Zephyr OS build v2.3.0-rc1-ncs3  ***
2021-10-28T03:51:26.925Z DEBUG modem << Flash regionsDomainPermissions
2021-10-28T03:51:26.925Z DEBUG modem << 00 02 0x00000 0x18000 Securerwxl
2021-10-28T03:51:26.925Z DEBUG modem << 03 31 0x18000 0x100000 Non-Securerwxl
2021-10-28T03:51:26.926Z DEBUG modem << Non-secure callable region 0 placed in flash region 2 with size 32.
2021-10-28T03:51:27.208Z DEBUG modem << SRAM regionDomainPermissions
2021-10-28T03:51:27.209Z DEBUG modem << 00 07 0x00000 0x10000 Securerwxl
2021-10-28T03:51:27.209Z DEBUG modem << 08 31 0x10000 0x40000 Non-Securerwxl
2021-10-28T03:51:27.210Z DEBUG modem << PeripheralDomainStatus
2021-10-28T03:51:27.210Z DEBUG modem << 00 NRF_P0               Non-SecureOK
2021-10-28T03:51:27.210Z DEBUG modem << 01 NRF_CLOCK            Non-SecureOK
2021-10-28T03:51:27.210Z DEBUG modem << 02 NRF_RTC0             Non-SecureOK
2021-10-28T03:51:27.211Z DEBUG modem << 03 NRF_RTC1             Non-SecureOK
2021-10-28T03:51:27.211Z DEBUG modem << 04 NRF_NVMC             Non-SecureOK
2021-10-28T03:51:27.212Z DEBUG modem << 05 NRF_UARTE1           Non-SecureOK
2021-10-28T03:51:27.213Z DEBUG modem << 06 NRF_UARTE2           SecureSKIP
2021-10-28T03:51:27.213Z DEBUG modem << 07 NRF_TWIM2            Non-SecureOK
2021-10-28T03:51:27.213Z DEBUG modem << 08 NRF_SPIM3            Non-SecureOK
2021-10-28T03:51:27.214Z DEBUG modem << 09 NRF_TIMER0           Non-SecureOK
2021-10-28T03:51:27.214Z DEBUG modem << 10 NRF_TIMER1           Non-SecureOK
2021-10-28T03:51:27.215Z DEBUG modem << 11 NRF_TIMER2           Non-SecureOK
2021-10-28T03:51:27.215Z DEBUG modem << 12 NRF_SAADC            Non-SecureOK
2021-10-28T03:51:27.216Z DEBUG modem << 13 NRF_PWM0             Non-SecureOK
2021-10-28T03:51:27.216Z DEBUG modem << 14 NRF_PWM1             Non-SecureOK
2021-10-28T03:51:27.216Z DEBUG modem << 15 NRF_PWM2             Non-SecureOK
2021-10-28T03:51:27.217Z DEBUG modem << 16 NRF_PWM3             Non-SecureOK
2021-10-28T03:51:27.217Z DEBUG modem << 17 NRF_WDT              Non-SecureOK
2021-10-28T03:51:27.217Z DEBUG modem << 18 NRF_IPC              Non-SecureOK
2021-10-28T03:51:27.218Z DEBUG modem << 19 NRF_VMC              Non-SecureOK
2021-10-28T03:51:27.218Z DEBUG modem << 20 NRF_FPU              Non-SecureOK
2021-10-28T03:51:27.219Z DEBUG modem << 21 NRF_EGU1             Non-SecureOK
2021-10-28T03:51:27.219Z DEBUG modem << 22 NRF_EGU2             Non-SecureOK
2021-10-28T03:51:27.219Z DEBUG modem << 23 NRF_DPPIC            Non-SecureOK
2021-10-28T03:51:27.220Z DEBUG modem << 24 NRF_GPIOTE1          Non-SecureOK
2021-10-28T03:51:27.220Z DEBUG modem << 25 NRF_REGULATORS       Non-SecureOK
2021-10-28T03:51:27.220Z DEBUG modem << SPM: NS image at 0x1c200
2021-10-28T03:51:27.220Z DEBUG modem << SPM: NS MSP at 0x2002f208
2021-10-28T03:51:27.221Z DEBUG modem << SPM: NS reset vector at 0x1ea0d
2021-10-28T03:51:27.221Z DEBUG modem << SPM: prepare to jump to Non-Secure image.
2021-10-28T03:51:27.408Z DEBUG modem << *** Booting Zephyr OS build v2.3.0-rc1-ncs3  ***
2021-10-28T03:51:27.409Z DEBUG modem << Camera VC0706
2021-10-28T03:51:27.409Z DEBUG modem << Initializing camera
2021-10-28T03:51:30.416Z DEBUG modem << 640x480
2021-10-28T03:51:30.432Z DEBUG modem << Setting up compression ratio
2021-10-28T03:51:30.448Z DEBUG modem << Current compression ratio is 55
2021-10-28T03:51:30.449Z DEBUG modem << Provisioning certificates
2021-10-28T03:51:30.592Z DEBUG modem << LTE Link Connecting ...
2021-10-28T03:52:03.826Z DEBUG modem << +CEREG: 2,"0901","01E3500B",7,0,0,"11100000","11100000"
2021-10-28T03:52:03.874Z DEBUG modem << +CSCON: 1
2021-10-28T03:52:04.082Z DEBUG modem << +CEREG: 4,"0901","01E3500B",7,0,15,"11100000","11100000"
2021-10-28T03:52:05.330Z DEBUG modem << +CSCON: 0
2021-10-28T03:52:05.362Z DEBUG modem << +CEREG: 4,"FFFE","FFFFFFFF",7,0,15,"11100000","11100000"
2021-10-28T03:52:06.130Z DEBUG modem << +CEREG: 2,"76C1","030D6B01",7,0,15,"11100000","11100000"
2021-10-28T03:52:06.162Z DEBUG modem << +CSCON: 1
2021-10-28T03:52:06.482Z DEBUG modem << +CEREG: 0,"76C1","030D6B01",7,0,8,"11100000","11100000"
2021-10-28T03:52:07.730Z DEBUG modem << +CSCON: 0

Currently, I'm using the 1.3.1 modem firmware. I would also like to note that if allowed to run for a while the board eventually connects to LTE, but is not able to fetch any IP address and proceeds to disconnect again. I sadly do not have the error messages given, but I can try again and see what comes up. The error message is shown in the comments. I highly doubt the issue here is with the camera since the information it sends is still the same and has nothing to do with LTE, but I'm open to suggestions.

  • After letting the board search for a while I managed to get this message:

    2021-10-28T11:08:40.232Z DEBUG modem << *** Booting Zephyr OS build v2.3.0-rc1-ncs3  ***
    2021-10-28T11:08:40.233Z DEBUG modem << Camera VC0706
    2021-10-28T11:08:40.235Z DEBUG modem << Initializing camera
    2021-10-28T11:08:43.239Z DEBUG modem << 640x480
    2021-10-28T11:08:43.255Z DEBUG modem << Setting up compression ratio
    2021-10-28T11:08:43.271Z DEBUG modem << Current compression ratio is 55
    2021-10-28T11:08:43.273Z DEBUG modem << Provisioning certificates
    2021-10-28T11:08:44.759Z DEBUG modem << LTE Link Connecting ...
    2021-10-28T11:08:53.671Z DEBUG modem << +CEREG: 2,"76C1","030D6B01",7
    2021-10-28T11:18:44.822Z DEBUG modem << +CEREG: 0
    2021-10-28T11:19:44.179Z DEBUG modem << +CEREG: 2,"9DD1","030D6B65",9
    2021-10-28T11:20:36.272Z DEBUG modem << +CSCON: 1
    2021-10-28T11:20:36.802Z DEBUG modem << +CEREG: 0
    2021-10-28T11:20:46.816Z DEBUG modem << +CSCON: 0
    2021-10-28T11:28:44.836Z DEBUG modem << LTE Link Connected!
    2021-10-28T11:28:44.862Z DEBUG modem << ERROR: getaddrinfo failed -11
    2021-10-28T11:28:44.863Z DEBUG modem << Failed to initialize broker connection
    2021-10-28T11:28:44.863Z DEBUG modem << ERROR: client_init -10

    The time from boot till the connection is very close to exactly 20 min. Is there maybe some kind of setting that needs to be changed?

  • Hi,

     

    It seems that you're running an older version of ncs, based on the zephyr boot banner print.

    Could you try updating to a newer version? There's been plenty of bug fixes in ncs since v1.3.0.

     

    Kind regards,

    Håkon

  • I'm not able to use a newer version because that messes with the UART connection with the camera for some unknown reason (https://forums.adafruit.com/viewtopic.php?f=19&t=183229). But does the version matter though, given that it's been working perfectly fine before, the only difference is that it's a new camera but the same model and version, could it somehow interfere with the modem?

  • Hi,

     

    Are you by any chance using a iBasis SIM card? Note that this has a limit of 10 MByte.

    It seems that you have problems registering after a reset:

    2021-10-28T03:52:03.826Z DEBUG modem << +CEREG: 2,"0901","01E3500B",7,0,0,"11100000","11100000"
    2021-10-28T03:52:03.874Z DEBUG modem << +CSCON: 1
    2021-10-28T03:52:04.082Z DEBUG modem << +CEREG: 4,"0901","01E3500B",7,0,15,"11100000","11100000"
    2021-10-28T03:52:05.330Z DEBUG modem << +CSCON: 0
    2021-10-28T03:52:05.362Z DEBUG modem << +CEREG: 4,"FFFE","FFFFFFFF",7,0,15,"11100000","11100000"
    2021-10-28T03:52:06.130Z DEBUG modem << +CEREG: 2,"76C1","030D6B01",7,0,15,"11100000","11100000"
    2021-10-28T03:52:06.162Z DEBUG modem << +CSCON: 1
    2021-10-28T03:52:06.482Z DEBUG modem << +CEREG: 0,"76C1","030D6B01",7,0,8,"11100000","11100000"
    2021-10-28T03:52:07.730Z DEBUG modem << +CSCON: 0

    The "15" and the "8" just before the bitmask is indicating that there's an error returned by the network (EMM/ESM cause codes).

    8 = EPS services and non-EPS services not allowed

    15 = No suitable cells in tracking area

     

    Could be that you're out of data on your sim card.

     

    Kind regards,

    Håkon

  • The sim card I'm using is bought through gudbrandsdalen energi/mobil, currently, I've used 0.12/99GB this month. So it is not the data on the sim card. I have also tried switching the sim card with my own (both cards have pin disabled). For some reason though, my very first prototype is still working and running as it should, and that one uses a "twin" sim card. I even switched back and forth the cards to make sure that the sim was not the problem.

Related