Device rebooting every hour

Hi,

My FX30S device keeps rebooting every hour. These are the last lines written to logread before the device reboots:

Apr 17 13:59:54 fx30s user.debug lowtempfix: tmrHandler returns temperature as 32
Apr 17 13:59:54 fx30s user.info Legato:  INFO | dcsDaemon[1321]/dcsCellular T=main | dcsCellular.c DcsCellularConnEventStateHandler() 257 | State of connection 1 transitioned from up to down
Apr 17 13:59:54 fx30s user.info Legato:  INFO | dcsDaemon[1321]/dcsCellular T=main | dcsCellular.c le_dcsCellular_RetryConn() 1332 | Initiated retrying connection 1; retry attempt 1, backoff 1 secs
Apr 17 13:59:54 fx30s user.info Legato:  INFO | dcsDaemon[1321]/dcsCellular T=main | dcsCellular.c DcsCellularConnEventStateHandler() 315 | Wait for the next retry before failing connection 1
Apr 17 13:59:54 fx30s user.info Legato:  INFO | dcsDaemon[1321]/dcsDaemon T=main | dcsServer.c ChannelEventHandler() 909 | Received for channel reference 0x33 event Temporary Down
Apr 17 13:59:54 fx30s user.info Legato:  INFO | dcsDaemon[1321]/dcsNet T=main | dcsNet.c net_RestoreDefaultGW() 656 | Default IPv4 GW address  on interface  restored

I can see that the reboot reason is Reset, User expected when I run cm info:

Device:                        FX30S(WP7702)
IMEI:                          ############
IMEISV:                        8
FSN:                           ############
Firmware Version:              SWI9X06Y_02.36.08.09 c094f4 jenkins 2022/06/24 03:14:28
Bootloader Version:            SWI9X06Y_02.36.08.09 c094f4 jenkins 2022/06/24 03:14:28
MCU Version:                   002.015
PRI Part Number (PN):          9907957
PRI Revision:                  001.000
Carrier PRI Name:              GENERIC
Carrier PRI Revision:          001.079_000
SKU:                           1103882
Last Reset Cause:              Reset, User Requested
Resets Count:                  Expected: 141    Unexpected: 5
FX30 Version:                  R15.1.0.004

The device is running a custom app that sends data to Azure iot hub, I can see that the app runs fine in between these reboots and the data connection is up.

How can I identify why the device is rebooting? Is it possible to disable the auto-reboot to keep the device in the faulty state and debug it?

How did you establish data connection?

How about using “cm data connect &” before connecting azure server?

When the app starts it calls le_data_Request() to start the data connection.

How about using “cm data connect &” before connecting azure server?

Do you see this isse in previous FW R14?

How about disable edrx feature?

AT+CEDRXS=0

EDRX is already disabled.
We started developing the app on release 15, we have not tried it on release 14.

How can I get more info about the reboot reason?

Did you have the uart console?
It should print more debug message if module crashes.

Did you run in sandboxed app?

How about using “cm data connect &” before connecting azure server?

The app is unsandboxed.
The uart console is not attached but I save the logs to the internal flash with

logread -f >>/home/root/logreadDir/continuouslog

Will the console print more data than what logread outputs?

I think it will print where it crashes

Why don’t you try sandboxed app?

How about using “cm data connect &” before connecting azure server?

It is also worth to try in fw r14 to get more clue