<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic jn5169  restart in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/jn5169-restart/m-p/917883#M6901</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" data-group="0-0" data-section="0" data-sentence="0" style="color: #333333; background-color: #f7f8fa; font-size: 14px;"&gt;I have been developing jn5169 zigbee recently, using jn-an-1220 as an example.&lt;/SPAN&gt;&lt;SPAN class="" data-group="0-1" data-section="0" data-sentence="1" style="color: #333333; background-color: #f7f8fa; font-size: 14px;"&gt;But I found that the program was restarted after running for a period of time. I didn't understand that the program was already running normally. Why did I suddenly restart the chip?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jul 2019 01:49:29 GMT</pubDate>
    <dc:creator>1516998341</dc:creator>
    <dc:date>2019-07-15T01:49:29Z</dc:date>
    <item>
      <title>jn5169  restart</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/jn5169-restart/m-p/917883#M6901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" data-group="0-0" data-section="0" data-sentence="0" style="color: #333333; background-color: #f7f8fa; font-size: 14px;"&gt;I have been developing jn5169 zigbee recently, using jn-an-1220 as an example.&lt;/SPAN&gt;&lt;SPAN class="" data-group="0-1" data-section="0" data-sentence="1" style="color: #333333; background-color: #f7f8fa; font-size: 14px;"&gt;But I found that the program was restarted after running for a period of time. I didn't understand that the program was already running normally. Why did I suddenly restart the chip?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2019 01:49:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/jn5169-restart/m-p/917883#M6901</guid>
      <dc:creator>1516998341</dc:creator>
      <dc:date>2019-07-15T01:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: jn5169  restart</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/jn5169-restart/m-p/917884#M6902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;Hi Xiansheng Zhou, I hope you're doing well!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is an API command that resets the device when certain events are detected during program execution in JN devices.&lt;/P&gt;&lt;P&gt;Examples of when these events happen are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;When the device is issued a Request to Leave&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;When a factory reset is issued to a device&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;When the watchdog timer runs out because an issue happened&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please provide the terminal log for the device that's resetting itself?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2019 20:53:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/jn5169-restart/m-p/917884#M6902</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2019-07-15T20:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: jn5169  restart</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/jn5169-restart/m-p/917885#M6903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[20:01:40]APP_ZCL: Stopped Poll&lt;BR /&gt;[20:01:40]APP Stopping poll timer&lt;BR /&gt;[20:01:40]APP NWK Event Handler: Poll Response&lt;BR /&gt;[20:01:40]APP NWK Event Handler: Poll Response&lt;BR /&gt;[20:01:40]APP Sleep Handler: Osc on, sleeping for 384000 ticks&lt;BR /&gt;[20:01:47]APP Start: Sleeping, Tick Timer = 255PP Start: Switch Power Up&lt;BR /&gt;[20:01:47]APP Entering APP_vSetUpHardware()&lt;BR /&gt;[20:01:47]APP Entering APP_vInitResources()APP: Entering APP_vInitialise()&lt;BR /&gt;[20:01:47]APP Sensor Node: APP_vInitialiseNode*eStatusOTAReload=0 size 176&lt;BR /&gt;[20:01:47]APP Sensor Node: ZPS_eAplAfInit&lt;BR /&gt;[20:01:47]APP_ZCL: Chan Mask 07fff800&lt;BR /&gt;[20:01:47]APP_ZCL: RxIdle TRUEMAC Address at address = 00080040&lt;BR /&gt;[20:01:47]ff ff ff ff ff ff ff ff &lt;BR /&gt;[20:01:47] Link Key 5a 69 67 42 65 65 41 6c 6c 69 61 6e 63 65 30 39 &lt;BR /&gt;[20:01:47]Current Image Details &lt;BR /&gt;[20:01:47]File ID = 0x0beef11e&lt;BR /&gt;[20:01:47]Header Ver ID = 0x0100&lt;BR /&gt;[20:01:47]Header Length ID = 0x0000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" data-group="0-0" style="color: #333333; background-color: #f7f8fa; font-size: 14px;"&gt;Above is my running log. I don't know what caused the program to restart suddenly.&lt;/SPAN&gt;&lt;SPAN class="" data-group="0-1" style="color: #333333; background-color: #f7f8fa; font-size: 14px;"&gt;I found that the program sometimes crashed directly, the log output is as follows：&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[20:01:50]File ID = 0x0beef11e&lt;BR /&gt;[20:01:50]Header Ver ID = 0x0100&lt;BR /&gt;[20:01:50]Header Length ID = 0x0000&lt;BR /&gt;[20:01:50]Header Control Filed = 0x0000&lt;BR /&gt;[20:01:50]Manufac Code = 0x1037&lt;BR /&gt;[20:01:50]Image Type = 0x0400&lt;BR /&gt;[20:01:50]File Ver = 0x00000001&lt;BR /&gt;[20:01:50]Stack Ver = 0x0002&lt;BR /&gt;[20:01:50]Image Len = 0x000286de&lt;BR /&gt;[20:01:50]&lt;BR /&gt;[20:01:50]ERROR: Extended status 89&lt;BR /&gt;[20:01:50]&lt;BR /&gt;[20:01:50]!!! Bus error&lt;BR /&gt;[20:01:50]u32PICMR = 0 : u32PICSR = 8008&lt;BR /&gt;[20:01:50]u32PICMSR = 0 : u32IPMR = 0&lt;BR /&gt;[20:01:50]u32IHPR = f : u32AINT = 8008 u32PINT 0&lt;BR /&gt;[20:01:50]EPCR = 82804 : EEAR = badadd04&lt;BR /&gt;[20:01:50]Stack dump:&lt;BR /&gt;[20:01:50] 4007b74 : 000828dd&lt;BR /&gt;[20:01:50] 4007b78 : 0008276f&lt;BR /&gt;[20:01:50] 4007b7c : 04000220&lt;BR /&gt;[20:01:50] 4007b80 : 00082804&lt;BR /&gt;[20:01:50] 4007b84 : badadd04&lt;BR /&gt;[20:01:50] 4007b88 : 00000000&lt;BR /&gt;[20:01:50] 4007b8c : 0000000f&lt;BR /&gt;[20:01:50] 4007b90 : 00000000&lt;BR /&gt;[20:01:50] 4007b94 : 00008008&lt;BR /&gt;[20:01:50] 4007b98 : 00000000&lt;BR /&gt;[20:01:50] 4007b9c : 00000000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2019 01:23:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/jn5169-restart/m-p/917885#M6903</guid>
      <dc:creator>1516998341</dc:creator>
      <dc:date>2019-07-19T01:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: jn5169  restart</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/jn5169-restart/m-p/917886#M6904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiansheng Zhou,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error the log is reporting is related to APSD configuration (you can check the meaning of error codes like this in the &lt;A href="https://www.nxp.com/docs/en/user-guide/JN-UG-3101.pdf"&gt;Zigbee PRO Stack User Guide&lt;/A&gt; document, on chapter 9.2).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On that same document, there is a list of the configurable parameters regarding APSD, and the one that seems to be related to your problem is the "Maximum Number of Simultaneous Data Requests" value (which by default is 5). Could you please try changing that value to a higher number and see if that helps the problem? Depending on if you're using acknowledge, you'll need to either modify the Maximum Number of Simultaneous Data Requests or the Maximum Number of Simultaneous Data Requests with Acks values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2019 20:06:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/jn5169-restart/m-p/917886#M6904</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2019-07-19T20:06:22Z</dc:date>
    </item>
  </channel>
</rss>

