<?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>Kinetis Software Development KitのトピックRe: K64F: RTOS + LiWP - tcp echo and http server</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64F-RTOS-LiWP-tcp-echo-and-http-server/m-p/798946#M7835</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone please confirm for me that the recently updated EthernetInterface library works on the FRDM-K64F platform? I am presently struggling to get the TCPSocket_Helloworld example application to run. It hangs when init() is called.&lt;/P&gt;&lt;P&gt;&lt;A href="https://subwaysurfers.vip/"&gt;Subway Surfers&lt;/A&gt;&amp;nbsp;&lt;A href="https://psiphon.vip/"&gt;Psiphon&lt;/A&gt;&amp;nbsp;&lt;A href="https://hillclimbracing.vip/"&gt;Hill Climb Racing&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jul 2018 09:17:49 GMT</pubDate>
    <dc:creator>kalei_joanel</dc:creator>
    <dc:date>2018-07-31T09:17:49Z</dc:date>
    <item>
      <title>K64F: RTOS + LiWP - tcp echo and http server</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64F-RTOS-LiWP-tcp-echo-and-http-server/m-p/798944#M7833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;Is it possible to deinitialize the tcpip with liwp?&lt;/P&gt;&lt;P&gt;I'am using the tcp echo example.&lt;/P&gt;&lt;P&gt;I'd like to close tcp taks and then open the http server (also from http server example) - after pressing the button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So first i initialized tcpecho and switch IRQ. It works.&amp;nbsp;Then I press the button - now i'd like to initialize http server.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i try use both in one project (http server initialization after pressing a button), I have this statement:&lt;/P&gt;&lt;P&gt;"tcp_slowtmr: active pcb-&amp;gt;state != CLOSED".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I try to delete tcp connection and tcp task:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="token function"&gt;netconn_close&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;conn&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;netconn_delete&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;conn&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;vTaskDelete&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;xHandle_TCP_task&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And after that initialize the http server:&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;xTaskCreate&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;http_server&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"http_server"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;5000&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; NULL&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;16&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; NULL&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;!=&lt;/SPAN&gt; pdPASS&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class="token function"&gt;PRINTF&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Task creation failed!(main)\r\n"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I dont have "&lt;SPAN&gt;tcp_slowtmr: active pcb-&amp;gt;state != CLOSED&lt;/SPAN&gt;", but &lt;SPAN&gt;u&lt;/SPAN&gt;&lt;SPAN&gt;nfortunately,&amp;nbsp;&lt;/SPAN&gt;still not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both of&amp;nbsp;exampkes work separately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, what i should to do? Is it possible to use http server after closing some tcpip application?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2018 11:34:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64F-RTOS-LiWP-tcp-echo-and-http-server/m-p/798944#M7833</guid>
      <dc:creator>grochal7</dc:creator>
      <dc:date>2018-07-30T11:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: K64F: RTOS + LiWP - tcp echo and http server</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64F-RTOS-LiWP-tcp-echo-and-http-server/m-p/798945#M7834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="308892" data-username="grochal7" href="https://community.nxp.com/people/grochal7"&gt;grochal7&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible to run tcp echo and http server simultaneously.&lt;/P&gt;&lt;P&gt;I added function tcpecho_init based http server demo. Please see below picture. Both echo server and http server work normally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/73173i2F3AB8E815F7D07D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But deinitialize the tcpip is not a normal behavior.&amp;nbsp; On most embedded system, when you start the TCP/IP stack, you never stop it. A lot of the memory that LwIP uses comes from statically allocated pools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 07:06:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64F-RTOS-LiWP-tcp-echo-and-http-server/m-p/798945#M7834</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2018-07-31T07:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: K64F: RTOS + LiWP - tcp echo and http server</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64F-RTOS-LiWP-tcp-echo-and-http-server/m-p/798946#M7835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone please confirm for me that the recently updated EthernetInterface library works on the FRDM-K64F platform? I am presently struggling to get the TCPSocket_Helloworld example application to run. It hangs when init() is called.&lt;/P&gt;&lt;P&gt;&lt;A href="https://subwaysurfers.vip/"&gt;Subway Surfers&lt;/A&gt;&amp;nbsp;&lt;A href="https://psiphon.vip/"&gt;Psiphon&lt;/A&gt;&amp;nbsp;&lt;A href="https://hillclimbracing.vip/"&gt;Hill Climb Racing&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 09:17:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64F-RTOS-LiWP-tcp-echo-and-http-server/m-p/798946#M7835</guid>
      <dc:creator>kalei_joanel</dc:creator>
      <dc:date>2018-07-31T09:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: K64F: RTOS + LiWP - tcp echo and http server</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64F-RTOS-LiWP-tcp-echo-and-http-server/m-p/798947#M7836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using SDK 2.3.0 for my k64f board and all of examples (with freertos and without) from this SDK work (SDK 2.2.0 works too)&lt;/P&gt;&lt;P&gt;Whitch one not working for u?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 06:18:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64F-RTOS-LiWP-tcp-echo-and-http-server/m-p/798947#M7836</guid>
      <dc:creator>grochal7</dc:creator>
      <dc:date>2018-08-01T06:18:03Z</dc:date>
    </item>
  </channel>
</rss>

