<?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 Re: How can I handle '!!! xxxerror'(reboot) and find reason? in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/How-can-I-handle-xxxerror-reboot-and-find-reason/m-p/932820#M7230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply. I use AN1229 only for Zigbee Pro not 3.0.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you tell me how to analyse this kind of problem? Now I find problem occuring when handle list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Aug 2019 02:06:37 GMT</pubDate>
    <dc:creator>1039521082</dc:creator>
    <dc:date>2019-08-13T02:06:37Z</dc:date>
    <item>
      <title>How can I handle '!!! xxxerror'(reboot) and find reason?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-can-I-handle-xxxerror-reboot-and-find-reason/m-p/932818#M7228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We meet three unexpected error and reboot. They are&amp;nbsp; (1)!!! bus error, (2)!!! Alignment error, (3)Unclaimed Interrupt&lt;/P&gt;&lt;P&gt;And our environment is introduced in&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/message/1185211"&gt;https://community.nxp.com/message/1185211&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.!!! Bus error&lt;/P&gt;&lt;P&gt;Our Coord connect with host via Uart1, and pass Zigbee Packet between host and child. The largest number of wireless packet can up to 30 packets per second.&amp;nbsp; Sometimes, average 12hour, Coord meet&amp;nbsp;&lt;SPAN&gt;Bus error and reboot.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I dump the content of Stack, and use addr2line. I find the top of Stack is point to some Func(Always the 2nd address value). Can I confirm the question occured when running these Func?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I guess it mat be caused by RF conflict with Uart.&amp;nbsp; How can I confirm? Or other possible reason?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.!!! Alignment error&lt;/P&gt;&lt;P&gt;It is appeared under the same&amp;nbsp;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;circumstance with the above question. But this problem we meet about 2 day per occuring. How can I find reason of this problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Stack content of this question shows the function being SDK Func, not application Func. Can I thin this problem caused by SDK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&lt;SPAN&gt;Unclaimed Interrupt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I init chip, I don't init other peripheral except we using. When this problem appears, How can I confirm which&amp;nbsp;p&lt;SPAN&gt;eripheral is interrupted?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I guess I can register every&amp;nbsp;p&lt;SPAN&gt;eripheral&lt;SPAN&gt;&amp;nbsp;ISR&lt;/SPAN&gt;&lt;/SPAN&gt; in&amp;nbsp;PIC_SwVectTable. When some p&lt;SPAN&gt;eripheral&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;interrupted, I can find which&amp;nbsp;p&lt;SPAN&gt;eripheral. Does it work?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2019 13:01:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-can-I-handle-xxxerror-reboot-and-find-reason/m-p/932818#M7228</guid>
      <dc:creator>1039521082</dc:creator>
      <dc:date>2019-07-31T13:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can I handle '!!! xxxerror'(reboot) and find reason?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-can-I-handle-xxxerror-reboot-and-find-reason/m-p/932819#M7229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try with the JN-AN-1216 Control Bridge or the JN-AN-1217 Base Device?&lt;/P&gt;&lt;P&gt;Could you please capture the packets in the air?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2019 21:02:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-can-I-handle-xxxerror-reboot-and-find-reason/m-p/932819#M7229</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2019-08-06T21:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: How can I handle '!!! xxxerror'(reboot) and find reason?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-can-I-handle-xxxerror-reboot-and-find-reason/m-p/932820#M7230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply. I use AN1229 only for Zigbee Pro not 3.0.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you tell me how to analyse this kind of problem? Now I find problem occuring when handle list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2019 02:06:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-can-I-handle-xxxerror-reboot-and-find-reason/m-p/932820#M7230</guid>
      <dc:creator>1039521082</dc:creator>
      <dc:date>2019-08-13T02:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can I handle '!!! xxxerror'(reboot) and find reason?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-can-I-handle-xxxerror-reboot-and-find-reason/m-p/932821#M7231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xuanpu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;1.!!! Bus error&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I am not sure if you are trying to access a not populated memory. I am assuming that you are working on EEPROM memory. What is the priority that you have in your system?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Could you please provide more details?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;2.!!! Alignment error&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Alignment exceptions are generated when software attempts to access objects that are not aligned to natural word boundaries. 16-bit objects must be stored on even byte boundaries, while 32-bit objects must be stored on quad byte boundaries. For instance, attempting to read a 16-bit object from address 0xFFF1 will trigger an alignment exception as will a read of a 32-bit object from 0xFFF1, 0xFFF2 or 0xFFF3. Examples of legal 32-bit object addresses are 0xFFF0, 0xFFF4, 0xFFF8 etc.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/data-sheet/JN516X.pdf" title="https://www.nxp.com/docs/en/data-sheet/JN516X.pdf"&gt;https://www.nxp.com/docs/en/data-sheet/JN516X.pdf&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;3.&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;Unclaimed Interrupt&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; "&gt;You are calling or requesting some interrupt from a peripheral that you don't have to initialize, You could look at the next API&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;vUnclaimedInterrupt and be sure that you previously init the peripheral.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Mario&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2019 00:04:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-can-I-handle-xxxerror-reboot-and-find-reason/m-p/932821#M7231</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2019-08-14T00:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: How can I handle '!!! xxxerror'(reboot) and find reason?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-can-I-handle-xxxerror-reboot-and-find-reason/m-p/932822#M7232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much for your help. Now I think I handle this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before handling, I find that&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Bus error and&amp;nbsp;&lt;SPAN&gt;Alignment error occurred when operating list. And I find I didn't align the structure of node in list. So I add&amp;nbsp;&amp;nbsp;__attribute__ ((aligned(4))) after a structure defined. This is one reason.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Another reason, I find a copy byte over buffer length, which means&amp;nbsp;oversteping the boundary. I fix it.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Thanks again&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Gu Xuanpu&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2019 11:29:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-can-I-handle-xxxerror-reboot-and-find-reason/m-p/932822#M7232</guid>
      <dc:creator>1039521082</dc:creator>
      <dc:date>2019-08-20T11:29:21Z</dc:date>
    </item>
  </channel>
</rss>

