WP7702 keeps disconnecting

I’m having an issue where our board keeps disconnecting after a couple of seconds. I’ve managed to reproduce the issue using the cm data command:
cm data connect
ping google.com
[several successful ping commands]
ping: sendto: Network is unreachable

What are some things I can check to see what is happening and to fix the connection issues?

Here is a log of the following steps:
cm radio on
cm data connect
ping google.com
2022-10-06 connection cleared log.txt (24.4 KB)

If i look at AT!GSTATUS (before, during and after connection active) I see no obvious changes either

can you try with other network operator?
Do you see problem on LTE network?
What FW are you using?

I’m not sure how to switch network operator.

for the RAT it was set to AUTO, after switching to LTE it failed to set up the connection at first. When I got it to work it still disconnects after a while.
2022-10-06 connection cleared log LTE.txt (51.2 KB)

FW:
root@swi-mdm9x28-wp:~# cm info
Device: WP7702
IMEI: 352653090293374
IMEISV: 6
FSN: 4L029586170210
Firmware Version: SWI9X06Y_02.36.06.00 63d944 jenkins 2020/12/10 19:12:28
Bootloader Version: SWI9X06Y_02.36.06.00 63d944 jenkins 2020/12/10 19:12:28
MCU Version: 002.015
PRI Part Number (PN): 9909138
PRI Revision: 001.009
Carrier PRI Name: GENERIC
Carrier PRI Revision: 001.071_001
SKU: 1104405
Last Reset Cause: Reset, User Requested
Resets Count: Expected: 286 Unexpected: 0

how is “cm radio” response??

Have you tried the R15 in leaf?

│ swi-wp77_6.0.0.beta │ SDK for WP77 (Release 15 + Legato 21.05.0)

Radio is registered, then i do the cm data connect and it is connected, and then after <1 minute it disconnects and the radio stays registerd

root@swi-mdm9x28-wp:~# cm radio
Power:                         ON
Current Network Operator:      DATA ONLY
Current RAT:                   LTE network (LE_MRC_RAT_LTE)
Status:                        Registered, home network (LE_MRC_REG_HOME)
Signal:                        Very strong signal strength (5)
PS:                            Packet Switched Registered, home network (LE_MRC_REG_HOME)

root@swi-mdm9x28-wp:~# cm data connect
Setting up profile 1
Connecting ... ok
Checking if device 'rmnet_data0' is up ... ok
Routing inet ... ok
Updating /etc/resolv.conf ... ok
root@swi-mdm9x28-wp:~# cm data
Index:                         1
APN:                           nextM2M
PDP Type:                      IPV4V6
Connected:                     yes
Interface:                     rmnet_data0
Family[IPv4]:                  inet
IP[IPv4]:                      10.104.1.139
Gateway[IPv4]:                 10.104.1.140
Dns1[IPv4]:                    192.168.230.10
Dns2[IPv4]:                    N/A
root@swi-mdm9x28-wp:~# cm data
Index:                         1
APN:                           nextM2M
PDP Type:                      IPV4V6
Connected:                     no
root@swi-mdm9x28-wp:~# cm radio
Power:                         ON
Current Network Operator:      DATA ONLY
Current RAT:                   LTE network (LE_MRC_RAT_LTE)
Status:                        Registered, home network (LE_MRC_REG_HOME)
Signal:                        Very strong signal strength (5)
PS:                            Packet Switched Registered, home network (LE_MRC_REG_HOME)

root@swi-mdm9x28-wp:~#

I will see about trying a newer release, I would rather avoid that as updating that in the field would be a hassle (especially if the connection has this issue)

do you try other SIM card?

Have you tried the R15 in leaf?

A different sim gave similar results.

The │ swi-wp77_6.0.0.beta │ SDK for WP77 (Release 15 + Legato 21.05.0) you suggested is giving the following error during install:

[1/6] Installing wp77-toolchain_SWI9X06Y_03.00.03.00-linux64
Run install steps for wp77-toolchain_SWI9X06Y_03.00.03.00-linux64
Configuring the toolchain for your environment, this may take a few minutes...
Error during installation: Error during install step for wp77-toolchain_SWI9X06Y_03.00.03.00-linux64 (command returned 1)
ERROR:
  Profile provisioning interrupted
CAUSED BY:
  Error during install step for wp77-toolchain_SWI9X06Y_03.00.03.00-linux64 (command returned 1)
HINT:
  try leaf profile sync to resume

Both in my current leaf profile and a new one I created just for this

you can see here:

you can also try sample application Modemdemo and see if only cm tool has problem:

app runProc modemDemo1 send --exe=send -- 1234567 "Online"