<?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: TCP/IP ==&amp;gt; MQX_UNHANDLED_INTERRUPT (0x0041) in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/TCP-IP-gt-MQX-UNHANDLED-INTERRUPT-0x0041/m-p/190108#M3613</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get this MQX error so often I now consider myself an expert.&lt;/P&gt;&lt;P&gt;I would turn on my&amp;nbsp;"generate Listing file" on the Linker compiler settings then do something like this:&lt;/P&gt;&lt;P&gt;Set up a com channel for debug.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;_io_set_handle(IO_STDIN, ch1_fh);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;_io_set_handle(IO_STDOUT, ch1_fh);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;_int_install_unexpected_isr();&amp;nbsp;&lt;/P&gt;&lt;P&gt;The port will spit out the details in particular the program counter where the error occurs.&lt;/P&gt;&lt;P&gt;Find it in you list file and all will be revealed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Dec 2011 22:28:40 GMT</pubDate>
    <dc:creator>boogy</dc:creator>
    <dc:date>2011-12-13T22:28:40Z</dc:date>
    <item>
      <title>TCP/IP ==&gt; MQX_UNHANDLED_INTERRUPT (0x0041)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/TCP-IP-gt-MQX-UNHANDLED-INTERRUPT-0x0041/m-p/190107#M3612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem is very stange.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got MQX project with RTCS and it works fine (RTCS init and bind normally).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I add some code (in function compeletly not connected with RTCS, function executed after RTCS init and bind or even never executed!) and RTCS crashes on:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RTCS_create()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it waits &lt;SPAN&gt;&lt;SPAN&gt;indefinitely in this function. So I stop debugger and look into MQX toolkit:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;On taks list:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;TCP/IP MQX_UNHANDLED_INTERRUPT (0x0041)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stack usage:&lt;/P&gt;&lt;P&gt;TCP/IP 5%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What does it mean?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 20:39:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/TCP-IP-gt-MQX-UNHANDLED-INTERRUPT-0x0041/m-p/190107#M3612</guid>
      <dc:creator>master_szumi</dc:creator>
      <dc:date>2011-12-13T20:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: TCP/IP ==&gt; MQX_UNHANDLED_INTERRUPT (0x0041)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/TCP-IP-gt-MQX-UNHANDLED-INTERRUPT-0x0041/m-p/190108#M3613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get this MQX error so often I now consider myself an expert.&lt;/P&gt;&lt;P&gt;I would turn on my&amp;nbsp;"generate Listing file" on the Linker compiler settings then do something like this:&lt;/P&gt;&lt;P&gt;Set up a com channel for debug.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;_io_set_handle(IO_STDIN, ch1_fh);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;_io_set_handle(IO_STDOUT, ch1_fh);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;_int_install_unexpected_isr();&amp;nbsp;&lt;/P&gt;&lt;P&gt;The port will spit out the details in particular the program counter where the error occurs.&lt;/P&gt;&lt;P&gt;Find it in you list file and all will be revealed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 22:28:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/TCP-IP-gt-MQX-UNHANDLED-INTERRUPT-0x0041/m-p/190108#M3613</guid>
      <dc:creator>boogy</dc:creator>
      <dc:date>2011-12-13T22:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: TCP/IP ==&gt; MQX_UNHANDLED_INTERRUPT (0x0041)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/TCP-IP-gt-MQX-UNHANDLED-INTERRUPT-0x0041/m-p/190109#M3614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you explain how to do this?&lt;/P&gt;&lt;P&gt;I found a setting "Generate assembler listing" under Cross ARM C Compiler / Miscellaneous -- is this the right one?&lt;/P&gt;&lt;P&gt;When I add the _io_set_handle calls I get errors. Where is this function defined, where is IO_STDIN and IO_STDOUT defined, and what did you set ch1_fh to? Also, would you add these lines at the start of your main task or somewhere else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 14:06:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/TCP-IP-gt-MQX-UNHANDLED-INTERRUPT-0x0041/m-p/190109#M3614</guid>
      <dc:creator>barrymcnamara</dc:creator>
      <dc:date>2016-08-18T14:06:46Z</dc:date>
    </item>
  </channel>
</rss>

