<?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: K60 TCP/IP Demo in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-TCP-IP-Demo/m-p/251568#M7136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mike:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;For MQX all the TCP/IP example projects are on the next path C:\Freescale\Freescale_MQX_4_0\demo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;The ones that use TCP/IP are hvac, hvac_error, security_email, security_telnet, security_webserver, web_hvac&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;I personally recommend you the web_hvac demo. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;In version MQX 4.0.1, the pre-built libraries are not distributed in the MQX release package and it is necessary to compile all MQX libraries for particular board before the first use.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;In order to build libraries you need to follow the below steps:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;1. &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Navigate to C:\Freescale\Freescale MQX 4.0\config\&amp;lt;board_name&amp;gt; and drag &amp;lt;board&amp;gt;.wsd to the CodeWarrior. All BSP libraries will be loaded to your environment automatically.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;2. &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Hit the icon to build all MQX libraries &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Now in order to run the TCP/IP examples you have to do next.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Inside the folder of the project you will find a folder called “cw10” and inside you will find another folder named “name_od_demo_yourMCU”. So let’s say&amp;nbsp; you want to use the web_hvac example, then you have to go to:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;C:\Freescale\Freescale_MQX_4_0\demo\web_hvac\cw10\web_hvac_twrk60n512&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;And drag the .project file to your CW.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Build the project. At this point you should be able to compile the example without issues.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Please let me know if this helps!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Sol&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Aug 2013 22:14:24 GMT</pubDate>
    <dc:creator>soledad</dc:creator>
    <dc:date>2013-08-14T22:14:24Z</dc:date>
    <item>
      <title>K60 TCP/IP Demo</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-TCP-IP-Demo/m-p/251566#M7134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been struggling today to get any sort of TCP/IP demo working for the TWR-K60D100M + TWR-SER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's what I've tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) I'm using the special edition of CodeWarrior (maybe that's an issue for some of the demos I've tried??) &lt;/P&gt;&lt;P&gt;2) I started trying to get FreeRTOS working.&amp;nbsp; There is example code included in KINETIS512_SC.zip that is downloadable from freescale.com.&amp;nbsp; There is a FreeRTOS example that appears have an http server or some sort of TCIP using either uIP or lwIP.&amp;nbsp; However, the example isn't a CodeWarrior project, rather a IAR project.&amp;nbsp; I tried porting it over to CodeWarrior by downloading FreeRTOS and setting up a new project.&amp;nbsp; I tried both the Freescale compiler and the GCC comiler and couldn't get it to compile all the way with either.&lt;/P&gt;&lt;P&gt;3) After no success with FreeRTOS, I started looking for other options and started trying MQX.&amp;nbsp; I downloaded MQX and was able to create the vairous projects that form the basis of the RTOS.&amp;nbsp; However, when I tried to import any of the demos, I can't get them to both compile and run.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a) telnet2ser seems like a straightforward example, but has hundreds of compile errors.&amp;nbsp; I think it might not be referencing the built libraries correctly?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b) Several of the examples have #error directives in them that prevent them from compiling because they are apparently deprecated.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c) Tried httpsrv in rtsc examples and it gives error: "Overflow in segment: rom from section: .main_application Segment reserved size is: 0x0000fbe0 -- Overflow of: 0x00021dd8"&amp;nbsp; (Even though I'm using the project specifically for the K60D100M.&amp;nbsp; Maybe this is the CW special edition size limit?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind of seems like I'm going in circles.&amp;nbsp; If anyone could point me in the right direction of any sort of TCP/IP demo for the TWR-K60D100M + TWR-SER using CodeWarrior, I'd be most appreciative.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 23:17:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-TCP-IP-Demo/m-p/251566#M7134</guid>
      <dc:creator>mikesutton</dc:creator>
      <dc:date>2013-08-12T23:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: K60 TCP/IP Demo</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-TCP-IP-Demo/m-p/251567#M7135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the FNET project, which seems to be more along the lines of what I'm after.&amp;nbsp; I have been able to get the shell up and running for basic ping and http functionality.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 18:58:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-TCP-IP-Demo/m-p/251567#M7135</guid>
      <dc:creator>mikesutton</dc:creator>
      <dc:date>2013-08-14T18:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: K60 TCP/IP Demo</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-TCP-IP-Demo/m-p/251568#M7136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mike:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;For MQX all the TCP/IP example projects are on the next path C:\Freescale\Freescale_MQX_4_0\demo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;The ones that use TCP/IP are hvac, hvac_error, security_email, security_telnet, security_webserver, web_hvac&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;I personally recommend you the web_hvac demo. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;In version MQX 4.0.1, the pre-built libraries are not distributed in the MQX release package and it is necessary to compile all MQX libraries for particular board before the first use.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;In order to build libraries you need to follow the below steps:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;1. &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Navigate to C:\Freescale\Freescale MQX 4.0\config\&amp;lt;board_name&amp;gt; and drag &amp;lt;board&amp;gt;.wsd to the CodeWarrior. All BSP libraries will be loaded to your environment automatically.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;2. &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Hit the icon to build all MQX libraries &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Now in order to run the TCP/IP examples you have to do next.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Inside the folder of the project you will find a folder called “cw10” and inside you will find another folder named “name_od_demo_yourMCU”. So let’s say&amp;nbsp; you want to use the web_hvac example, then you have to go to:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;C:\Freescale\Freescale_MQX_4_0\demo\web_hvac\cw10\web_hvac_twrk60n512&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;And drag the .project file to your CW.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Build the project. At this point you should be able to compile the example without issues.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Please let me know if this helps!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Sol&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 22:14:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-TCP-IP-Demo/m-p/251568#M7136</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2013-08-14T22:14:24Z</dc:date>
    </item>
  </channel>
</rss>

