<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>My devices restart app but no log</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124451/my-devices-restart-app-but-no-log</link><description>When my device receives data from the Xiaomi Zigbee switch, sometimes it reboots without any logs. 
 (Note: Normally, when there’s a bug, the device pushes logs to UART, but in this case, there’s nothing.) 
 ``` 
 #:[00:01:12.909] APP_DBG callback_handle</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Sep 2025 11:00:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124451/my-devices-restart-app-but-no-log" /><item><title>RE: My devices restart app but no log</title><link>https://devzone.nordicsemi.com/thread/549410?ContentTypeID=1</link><pubDate>Mon, 22 Sep 2025 11:00:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b04f0313-7289-48d4-abd8-cae4e31387fa</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Reset reason = 0x40 is a software reset:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1758538603915v1.png" alt=" " /&gt;&lt;/p&gt;
[quote user="BuuPQ"] If there&amp;#39;s a RAM overflow or invalid memory access, there should be a log, right?[/quote]
&lt;p&gt;I would think so. If it isn&amp;#39;t already, can you please try to add CONFIG_ASSERT=y in your prj.conf?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You should also check your application folder. Do a search for &amp;quot;NVIC_SystemReset()&amp;quot; and &amp;quot;sys_reboot()&amp;quot;, to see if there is anywhere in your application that any of these are called by accident.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My devices restart app but no log</title><link>https://devzone.nordicsemi.com/thread/549362?ContentTypeID=1</link><pubDate>Sat, 20 Sep 2025 09:51:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76823a43-963e-42ca-b7c0-ff96180cada1</guid><dc:creator>BuuPQ</dc:creator><description>&lt;p&gt;My devices reboot when I send multiple noti. If there&amp;#39;s a RAM overflow or invalid memory access, there should be a log, right?&lt;/p&gt;
&lt;div id="simple-translate" class="simple-translate-system-theme"&gt;
&lt;div&gt;
&lt;div class="simple-translate-button isShow" style="height:22px;left:292px;top:25px;width:22px;"&gt;&lt;/div&gt;
&lt;div class="simple-translate-panel " style="font-size:13px;height:200px;left:0px;top:0px;width:300px;"&gt;
&lt;div class="simple-translate-result-wrapper" style="overflow:hidden;"&gt;
&lt;div class="simple-translate-move"&gt;&lt;/div&gt;
&lt;div class="simple-translate-result-contents"&gt;
&lt;p class="simple-translate-result" dir="auto"&gt;&lt;/p&gt;
&lt;p class="simple-translate-candidate" dir="auto"&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My devices restart app but no log</title><link>https://devzone.nordicsemi.com/thread/549361?ContentTypeID=1</link><pubDate>Sat, 20 Sep 2025 09:47:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e144b33-660d-4aa6-9890-18fc29eb39d8</guid><dc:creator>BuuPQ</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/edvin-holmseth"&gt;Edvin&lt;/a&gt;&amp;nbsp;,&amp;nbsp; my reset code is &amp;quot;&lt;span&gt;Reset reason: 0x00000040&amp;quot;. And i use&amp;nbsp;Zigbee R23 add-on + Zephyr OS v3.7.99. My hardware is nrf54l15dk&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My devices restart app but no log</title><link>https://devzone.nordicsemi.com/thread/549328?ContentTypeID=1</link><pubDate>Fri, 19 Sep 2025 13:31:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2dbb6bde-d606-4c76-aebc-6a302726899a</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]Is it possible that the device was rebooted by the ZBOSS library without any logs being pushed to UART?[/quote]
&lt;p&gt;I have not seen cases of that earlier, at least.&lt;/p&gt;
&lt;p&gt;ARe you using the Zigbee Addon? Or another version of NCS?&lt;/p&gt;
&lt;p&gt;Can you check your reset reason? You can use this snippet close to the start of your main() function:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;    uint32_t my_resetreason = NRF_RESET-&amp;gt;RESETREAS;
    printk(&amp;quot;Reset reason: 0x%08x\n&amp;quot;, my_resetreason);
    NRF_RESET-&amp;gt;RESETREAS = my_resetreason;  // This register is retained accross resets. Clearing the bits for this reset for next time.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;What does it say when it boots up after a reset without any logs?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You can also look up the reasons in this register here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/chapters/power-and-clock/reset/doc/reset.html#ariaid-title13"&gt;https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/chapters/power-and-clock/reset/doc/reset.html#ariaid-title13&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>