<?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>MQX Software SolutionsのトピックMQX_UNHANDLED_INTERRUPT HTTP Server</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-UNHANDLED-INTERRUPT-HTTP-Server/m-p/359906#M11788</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;I've taken the webserver example and modified it somewhat for my needs. There is a task that starts RTCS and the HTTP server and both start just fine. At the end of the original example code a call to _task_block() is made. Due to my rearrangement of things none of the variables--like the parameters passed to the HTTP server start function--are on the stack so I thought I could remove _task_block() and let that task expire. However now I get the MQX_UNHANDLED_INTERRUPT when I try to connect to the server from a browser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using _int_install_expected_isr() but it does seem to want to print anything. Breaking in that routines shows vector 3 which I need to look up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If interrupts are installed by the routines that configure and start the network are they somehow uninstalled if that task expires? Since the TCP/IP and HTTP tasks are spawned from this "boot" task why can't it go away?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kenny&lt;/P&gt;&lt;P&gt;K64 IAR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Sep 2014 18:46:48 GMT</pubDate>
    <dc:creator>razed11</dc:creator>
    <dc:date>2014-09-11T18:46:48Z</dc:date>
    <item>
      <title>MQX_UNHANDLED_INTERRUPT HTTP Server</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-UNHANDLED-INTERRUPT-HTTP-Server/m-p/359906#M11788</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;I've taken the webserver example and modified it somewhat for my needs. There is a task that starts RTCS and the HTTP server and both start just fine. At the end of the original example code a call to _task_block() is made. Due to my rearrangement of things none of the variables--like the parameters passed to the HTTP server start function--are on the stack so I thought I could remove _task_block() and let that task expire. However now I get the MQX_UNHANDLED_INTERRUPT when I try to connect to the server from a browser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using _int_install_expected_isr() but it does seem to want to print anything. Breaking in that routines shows vector 3 which I need to look up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If interrupts are installed by the routines that configure and start the network are they somehow uninstalled if that task expires? Since the TCP/IP and HTTP tasks are spawned from this "boot" task why can't it go away?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kenny&lt;/P&gt;&lt;P&gt;K64 IAR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 18:46:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-UNHANDLED-INTERRUPT-HTTP-Server/m-p/359906#M11788</guid>
      <dc:creator>razed11</dc:creator>
      <dc:date>2014-09-11T18:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: MQX_UNHANDLED_INTERRUPT HTTP Server</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-UNHANDLED-INTERRUPT-HTTP-Server/m-p/359907#M11789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kenny:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this issue is resulted from memory. main_task allocated some memory with _mem_alloc_zero, when the task is terminated, MQX RTOS returns the task's private memory blocks to memory. You can change the _mem_alloc_zero to _mem_alloc_system_zero, then the main task can be expired. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the following line.&lt;/P&gt;&lt;P&gt;In main_task, &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;indexes[i] = (char*) _mem_alloc_zero(sizeof("\\index_x.html"));&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In HTTPSRV_init, there are also 3 lines need to be changed&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 02:42:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-UNHANDLED-INTERRUPT-HTTP-Server/m-p/359907#M11789</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2014-10-09T02:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: MQX_UNHANDLED_INTERRUPT HTTP Server</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-UNHANDLED-INTERRUPT-HTTP-Server/m-p/359908#M11790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Daniel. I hope to give this a try soon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 23:28:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-UNHANDLED-INTERRUPT-HTTP-Server/m-p/359908#M11790</guid>
      <dc:creator>razed11</dc:creator>
      <dc:date>2014-10-09T23:28:10Z</dc:date>
    </item>
  </channel>
</rss>

