<?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 compile code on K66 ? in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-can-I-compile-code-on-K66/m-p/618752#M7863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Benjamin,&lt;/P&gt;&lt;P&gt;Please tell me the whole part number of you chip , I will help you to check&lt;/P&gt;&lt;P&gt;whether it support KSDK.&lt;/P&gt;&lt;P&gt;If the Processor Expert&amp;nbsp; support your chip , yes,&amp;nbsp; you&amp;nbsp; can use it ,&amp;nbsp; you can also don't use ,&lt;/P&gt;&lt;P&gt;it depends on your requirement.&lt;/P&gt;&lt;P&gt;Which version of KDS ?&amp;nbsp; After you finish your code ,just click build , it will compile your project .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Apr 2017 00:18:47 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2017-04-19T00:18:47Z</dc:date>
    <item>
      <title>How can I compile code on K66 ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-can-I-compile-code-on-K66/m-p/618751#M7862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the K66 board and Kinetis. I try to configure my Kinetis environment but It's not easy.&lt;/P&gt;&lt;P&gt;Project configurations:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- Kinetis SDK 2x. Project&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- SDK_2.0_FRDM-K66F&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- Board: FRDM-K66F (not the microprocessor)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- Current Toolchain: Cross ARM GCC&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- Gnu Make Builder&lt;/P&gt;&lt;P&gt;My board is linked to USB port with the good cable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;And with a terminal like Teraterm, I checked if the board was&amp;nbsp;able to receive data. It works.&lt;/P&gt;&lt;P&gt;Indeed I received x and y positions thanks to the code which is already inside.&lt;/P&gt;&lt;P&gt;The first question: The parameters sound good for you?&lt;/P&gt;&lt;P&gt;The second one: I am obliged to use Processor Expert to run the program on my k66?&lt;/P&gt;&lt;P&gt;The third one: How can I compile C code on K66?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you by advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2017 12:47:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-can-I-compile-code-on-K66/m-p/618751#M7862</guid>
      <dc:creator>benjaminheder</dc:creator>
      <dc:date>2017-04-18T12:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compile code on K66 ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-can-I-compile-code-on-K66/m-p/618752#M7863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Benjamin,&lt;/P&gt;&lt;P&gt;Please tell me the whole part number of you chip , I will help you to check&lt;/P&gt;&lt;P&gt;whether it support KSDK.&lt;/P&gt;&lt;P&gt;If the Processor Expert&amp;nbsp; support your chip , yes,&amp;nbsp; you&amp;nbsp; can use it ,&amp;nbsp; you can also don't use ,&lt;/P&gt;&lt;P&gt;it depends on your requirement.&lt;/P&gt;&lt;P&gt;Which version of KDS ?&amp;nbsp; After you finish your code ,just click build , it will compile your project .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 00:18:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-can-I-compile-code-on-K66/m-p/618752#M7863</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-04-19T00:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compile code on K66 ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-can-I-compile-code-on-K66/m-p/618753#M7864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alice,&lt;/P&gt;&lt;P&gt;My chip is&lt;STRONG&gt; MK66FN2M0VMD18 / 0N65N / CTAD1530E&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I saw on NXP, KSDK was supported. The good version of SDK for that IDE is&amp;nbsp;&lt;STRONG&gt;SDK_2.0_FRDM-K66F&lt;/STRONG&gt;.&lt;BR /&gt;It is recommended on the quick started on nxp.com.&lt;BR /&gt;About the project, I choose a Kinetis SDK 2.x Project, and the&amp;nbsp;processor MK66FN2M0xxx18, "All drivers" and "none" for Selected RTOS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the first problem I have is that debugger don't work (OCD, PNE, Segger). I have different problem for each.&lt;/P&gt;&lt;P&gt;The second one is that Kinetis can't compile C code on my board. I mean I try but I can't.&lt;/P&gt;&lt;P&gt;My code is very simple. I just add to the main script a printf and obviously the #include &amp;lt;stdio.h&amp;gt;.&lt;/P&gt;&lt;P&gt;No error in my code so&lt;STRONG&gt; BUILD&lt;/STRONG&gt;&amp;nbsp;is ok. I have the message on the console. However I have no message on the console for &lt;STRONG&gt;RUN.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So&amp;nbsp;I check the board with a serial port connection on a terminal like TeraTerm, and I only see values of the basics program which are x and y positions.&lt;/P&gt;&lt;P&gt;So my program has not been compiled&amp;nbsp;on the board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I compile code on my board?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you by advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 07:17:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-can-I-compile-code-on-K66/m-p/618753#M7864</guid>
      <dc:creator>benjaminheder</dc:creator>
      <dc:date>2017-04-19T07:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compile code on K66 ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-can-I-compile-code-on-K66/m-p/618754#M7865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Benjamin,&lt;/P&gt;&lt;P&gt;Processor Expert is not supported for KSDK 2.x&lt;/P&gt;&lt;P&gt;If you have KDS 3.2 installed:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;update New Project Wizard from update site&amp;nbsp;(Help - Check for Updates; and select New Project Wizard only)&lt;/LI&gt;&lt;LI&gt;File - New - Kinetis SDK 2.x Project;&lt;/LI&gt;&lt;LI&gt;Enter project name and select&amp;nbsp;SDK folder where the SDK package is unpacked; [Next&amp;gt;]&lt;/LI&gt;&lt;LI&gt;Select board [Finish]&lt;/LI&gt;&lt;LI&gt;Project - Build All&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 07:55:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-can-I-compile-code-on-K66/m-p/618754#M7865</guid>
      <dc:creator>MarekTrmac</dc:creator>
      <dc:date>2017-04-19T07:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compile code on K66 ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-can-I-compile-code-on-K66/m-p/618755#M7866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you connected your Freedom FRDM-K66F board to the left USB connector (J26)? This is the debug M20xxxxx controller. If you setup a debugger in Kinetis add a new debug configuration of type GDB Segger J-Link. Edit this and check if the elf-file is&amp;nbsp;defined and under debugger tab check the device name should be MK66FN2M0xxx18. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to compile plain C-code: the file extension must be .c to compile with the c compiler. If it is .cpp it will be compiled by c++ compiler.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 10:02:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-can-I-compile-code-on-K66/m-p/618755#M7866</guid>
      <dc:creator>meisterbyte</dc:creator>
      <dc:date>2017-04-19T10:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compile code on K66 ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-can-I-compile-code-on-K66/m-p/618756#M7867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, I finally found the solution.&lt;BR /&gt;1) I used Kinetis Project Generator. Then I chose my board and simply created a project.&lt;/P&gt;&lt;P&gt;2) On Kinetis Development Studio: Import -&amp;gt; General -&amp;gt; Existing project into Workshop -&amp;gt; In select Root Directory choose the KDS project folder&lt;/P&gt;&lt;P&gt;3) Build and then Flash with JLink debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works ! I checked it with Teraterm.&lt;/P&gt;&lt;P&gt;The snag was when I used OpenOCD as debugger. The suitest one is Segger JLink.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you everybody&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 13:47:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-can-I-compile-code-on-K66/m-p/618756#M7867</guid>
      <dc:creator>benjaminheder</dc:creator>
      <dc:date>2017-04-19T13:47:53Z</dc:date>
    </item>
  </channel>
</rss>

