<?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 Microcontrollers中的主题 Re: Re: Creating a new project - FRDM-KL02Z</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Creating-a-new-project-FRDM-KL02Z/m-p/316064#M13892</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That'd the interface I have been working with however, I don't get PTB2 and PTB1. The image I have provided only shows PTB4 and PTB3&lt;span class="lia-inline-image-display-wrapper" image-alt="UART0 screenshot.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/44459i41E388DE335753FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="UART0 screenshot.png" alt="UART0 screenshot.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jun 2014 09:23:37 GMT</pubDate>
    <dc:creator>markadamson</dc:creator>
    <dc:date>2014-06-11T09:23:37Z</dc:date>
    <item>
      <title>Creating a new project - FRDM-KL02Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Creating-a-new-project-FRDM-KL02Z/m-p/316056#M13884</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 have been able to get the example projects that where supplied with the package to work. I have also been able to edit the projects, adding my own c code (simple code, like creating integer arrays, basic loops). At the moment I am just practicing to program in C so nothing too complicated with the board. I have been using the putty terminal to practice programming in C. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem however is that I have tried to create my very own project and practice programming on a brand new project rather than editing the example projects. When I created my own project, I just put in a simple printf() statement, but I got errors saying saying something about WriteUARTN, ReadUARTN.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is how do I create a new project that I can put onto the board (maybe toggle LEDs for example)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 14:20:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Creating-a-new-project-FRDM-KL02Z/m-p/316056#M13884</guid>
      <dc:creator>markadamson</dc:creator>
      <dc:date>2014-06-09T14:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new project - FRDM-KL02Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Creating-a-new-project-FRDM-KL02Z/m-p/316057#M13885</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;You need to change the library you are using. Please follow the Jorge´s answer in this thread to achieve that: &lt;A href="https://community.nxp.com/message/391776"&gt;Re: MK10DX256VLK7 doesn't run standalone, just when debugging. Verified it's running from FLASH, not RAM.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this information can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. It would be nice!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 15:54:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Creating-a-new-project-FRDM-KL02Z/m-p/316057#M13885</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2014-06-09T15:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new project - FRDM-KL02Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Creating-a-new-project-FRDM-KL02Z/m-p/316058#M13886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm afraid that didn't work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been following the guides on the following links, and although the errors get fixed, when copy and paste the .s19 over to the board, nothing happens on the putty terminal. It should just print the words Hello World.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2013/02/07/tutorial-printf-with-and-without-processor-expert/" title="http://mcuoneclipse.com/2013/02/07/tutorial-printf-with-and-without-processor-expert/"&gt;Tutorial: Printf() with (and without) Processor Expert | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2013/04/17/printf-with-the-frdm-kl25z-board-and-without-processor-expert/" title="http://mcuoneclipse.com/2013/04/17/printf-with-the-frdm-kl25z-board-and-without-processor-expert/"&gt;printf() with the FRDM-KL25Z Board and without Processor Expert | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 16:37:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Creating-a-new-project-FRDM-KL02Z/m-p/316058#M13886</guid>
      <dc:creator>markadamson</dc:creator>
      <dc:date>2014-06-09T16:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new project - FRDM-KL02Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Creating-a-new-project-FRDM-KL02Z/m-p/316059#M13887</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;Are you using the Console component in Processor Expert? if yes, did you selected the PTB2/UART0_RX and the PTB1/UART0_TX in the pins of the component. These are the pins connected to the OpenSDA hardware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, what happens when you debug your project? It execute the printf function without problems?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 16:48:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Creating-a-new-project-FRDM-KL02Z/m-p/316059#M13887</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2014-06-09T16:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new project - FRDM-KL02Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Creating-a-new-project-FRDM-KL02Z/m-p/316060#M13888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I selected PTB4/UART0_RX and the PTB3/UART0_TX. How can I change the pins that you are specifying?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I compile the project, I get no errors. It builds the .elf file, .s19 file and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't I have to initialise the pins in the code itself?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 16:56:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Creating-a-new-project-FRDM-KL02Z/m-p/316060#M13888</guid>
      <dc:creator>markadamson</dc:creator>
      <dc:date>2014-06-09T16:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new project - FRDM-KL02Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Creating-a-new-project-FRDM-KL02Z/m-p/316061#M13889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using Processor Expert?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 19:34:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Creating-a-new-project-FRDM-KL02Z/m-p/316061#M13889</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2014-06-09T19:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new project - FRDM-KL02Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Creating-a-new-project-FRDM-KL02Z/m-p/316062#M13890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I am&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 08:59:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Creating-a-new-project-FRDM-KL02Z/m-p/316062#M13890</guid>
      <dc:creator>markadamson</dc:creator>
      <dc:date>2014-06-10T08:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Creating a new project - FRDM-KL02Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Creating-a-new-project-FRDM-KL02Z/m-p/316063#M13891</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;Processor Expert will do the appropriate initialization of the module, you just need to set correctly the values you want in the Processor Expert's interface. The image bellow shows you where to change the pins value for the ConsoleIO component: (the names and values do not correspond to your project because this picture is for another project I have but the steps are the same).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="UART pins.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/44470i71C6B944D984550D/image-size/large?v=v2&amp;amp;px=999" role="button" title="UART pins.png" alt="UART pins.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Select the Serial_LDD component.&lt;/P&gt;&lt;P&gt;2. Select UART0&lt;/P&gt;&lt;P&gt;3. Select PTB2/UART0_RX in the Receiver pin.&lt;/P&gt;&lt;P&gt;4. Select PTB1/UART0_TX in the Transmitter pin.&lt;/P&gt;&lt;P&gt;5. Generate processor expert code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this changes the UART0 is configured to send and receive data through the OpenSDA feature to a terminal in your PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this information can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. It would be nice!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 17:06:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Creating-a-new-project-FRDM-KL02Z/m-p/316063#M13891</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2014-06-10T17:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Creating a new project - FRDM-KL02Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Creating-a-new-project-FRDM-KL02Z/m-p/316064#M13892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That'd the interface I have been working with however, I don't get PTB2 and PTB1. The image I have provided only shows PTB4 and PTB3&lt;span class="lia-inline-image-display-wrapper" image-alt="UART0 screenshot.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/44459i41E388DE335753FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="UART0 screenshot.png" alt="UART0 screenshot.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 09:23:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Creating-a-new-project-FRDM-KL02Z/m-p/316064#M13892</guid>
      <dc:creator>markadamson</dc:creator>
      <dc:date>2014-06-11T09:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Creating a new project - FRDM-KL02Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Creating-a-new-project-FRDM-KL02Z/m-p/316065#M13893</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;Please check the image below, these are the configurations you should have in your Console component:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="UART pins_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/44476i027C76FE7769D1D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="UART pins_2.png" alt="UART pins_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I did a simple project to test this issue; in the attachments you can find my project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Be careful with the syntax of the printf function, it could be a problem sometimes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this information can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. It would be nice!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 15:45:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Creating-a-new-project-FRDM-KL02Z/m-p/316065#M13893</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2014-06-11T15:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new project - FRDM-KL02Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Creating-a-new-project-FRDM-KL02Z/m-p/316066#M13894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies for the late reply. Thank you for the example project and steps that you provided. I managed to follow it and create my own project, displaying Hello World. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 14:03:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Creating-a-new-project-FRDM-KL02Z/m-p/316066#M13894</guid>
      <dc:creator>markadamson</dc:creator>
      <dc:date>2014-06-16T14:03:15Z</dc:date>
    </item>
  </channel>
</rss>

