# WatchDog timer crash - System reboots to old image / recovery image

**URL:** <https://mangoh.discourse.group/t/watchdog-timer-crash-system-reboots-to-old-image-recovery-image/6131>\
**Category:** mangOH Red\
**Created:** [February 9, 2021, 8:44am UTC](https://mangoh.discourse.group/t/watchdog-timer-crash-system-reboots-to-old-image-recovery-image/6131 "2021-02-09T08:44:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tejaswisj](https://avatars.discourse-cdn.com/v4/letter/t/ee7513/32.png) [@tejaswisj](https://mangoh.discourse.group/u/tejaswisj)\
**Post date:** [February 9, 2021, 8:44am UTC](https://mangoh.discourse.group/t/watchdog-timer-crash-system-reboots-to-old-image-recovery-image/6131/1 "2021-02-09T08:44:02Z")

</div>

Hi,

On our custom WP76xx board, the current or default image is as below.  
We have added 2 legato applications for wifi working. Added this app using command line update.

We observed that on 4 out of 10 boards watch dog timer crash happens and it reboots. But when it reboots, on the board the user legato applications which were installed, is now uninstalled on the board.

Can you help resolve this issue ?

root@swi-mdm9x28-wp:~# cm info  
Device: WP7607  
IMEI: 359779080351469  
IMEISV: 5  
FSN: [33.717828] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0  
V3021586291610  
Firmware Version: SWI9X07Y\_02.18.05.00 000000 jenkins 2018/07/19 17:40:21  
Bootloader Version: SWI9X07Y\_02.18.05.00 000000 jenkins 2018/07/19 17:40:21  
MCU Version: 002.009  
PRI Part Number (PN): 9908663  
PRI Revision: 001.002  
Carrier PRI Name: GENERIC  
Carrier PRI Revision: 002.041\_002  
SKU: 1104192  
Last Reset Cause: Crash  
Resets Count: Expected: 30 Unexpected: 6  
root@swi-mdm9x28-wp:~# [37.210163] usb 1-1: device descriptor read/64, error -110

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [February 9, 2021, 10:24am UTC](https://mangoh.discourse.group/t/watchdog-timer-crash-system-reboots-to-old-image-recovery-image/6131/2 "2021-02-09T10:24:03Z")

</div>

does your application cause the watchdog timer crash?

Please also see here:  
[https://docs.legato.io/latest/toolsTarget\_update.html](https://docs.legato.io/latest/toolsTarget_update.html)

“Updated or modified systems enter a probationary period (default 30 minutes) during which time an app or framework daemon failure will result in a roll-back to the previous “good” system. For development and testing, you can mark a system good (pass), bad (fail) or defer.”

---

<div class="post-metadata">

**Author:** ![tejaswisj](https://avatars.discourse-cdn.com/v4/letter/t/ee7513/32.png) [@tejaswisj](https://mangoh.discourse.group/u/tejaswisj)\
**Post date:** [February 9, 2021, 11:26am UTC](https://mangoh.discourse.group/t/watchdog-timer-crash-system-reboots-to-old-image-recovery-image/6131/3 "2021-02-09T11:26:22Z")

</div>

the legato apps does not cause any crash, it just waits for at commands on a socket.

If the udpate -g is entered, this will include the apps which are updated later ? like the user legato apps when the watchdog crash happens and recovers , the installed app will be up after reboot ?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [February 9, 2021, 11:35am UTC](https://mangoh.discourse.group/t/watchdog-timer-crash-system-reboots-to-old-image-recovery-image/6131/4 "2021-02-09T11:35:32Z")

</div>

I think so, but in case it still disappear, you need to build your application to legato.cwe, just like the user legato apps
