<?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: helloworld example on TWR-K64F120M in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/helloworld-example-on-TWR-K64F120M/m-p/372740#M757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured it out.&amp;nbsp; The first problem was I was not initializing the JLink GDB server properly.&amp;nbsp; I needed to provided some switches: ./JLinkGDBServer -select USB -device MK64FN1M0xxx12 -if SWD -speed 1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The next problem was the J10/J15 jumpers on the board were not what I expected.&amp;nbsp; Based on the documentation, I had to do the opposite of what I would expect to route UART1 to the virtual serial port.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Jan 2015 15:21:16 GMT</pubDate>
    <dc:creator>kalden_srcinc</dc:creator>
    <dc:date>2015-01-23T15:21:16Z</dc:date>
    <item>
      <title>helloworld example on TWR-K64F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/helloworld-example-on-TWR-K64F120M/m-p/372738#M755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to get the serial terminal working with the TWR-K64F120M.&amp;nbsp; I have the hello world demo program building and running on the target, but I can never see anything coming out on my PC.&amp;nbsp; I have the JLink openSDA application running on the board and gdb is able to connect, load a program, and step through code no problem.&amp;nbsp; I can see things initialize and the code gets to my PRINTF line.&amp;nbsp; I can also see the activity LED on the board go crazy while printf is executing, so I believe everything on the board is actually running properly.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, on the linux side, when I plug into the USB debug port on the board I see a /dev/ttyACM0 device appear.&amp;nbsp; I believe this is meant to be the virtual serial port connected to the K64.&amp;nbsp; I am running the following to open a terminal to it:&amp;nbsp; sudo screen /dev/ttyACM0 115200&lt;/P&gt;&lt;P&gt;Nothing ever shows up though.&amp;nbsp; Am I going about this wrong?&amp;nbsp; Maybe I have a jumper on the board set wrong?&amp;nbsp; Any tips would be appreciated.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 14:06:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/helloworld-example-on-TWR-K64F120M/m-p/372738#M755</guid>
      <dc:creator>kalden_srcinc</dc:creator>
      <dc:date>2015-01-23T14:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: helloworld example on TWR-K64F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/helloworld-example-on-TWR-K64F120M/m-p/372739#M756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My mistake.&amp;nbsp; It appears that it is getting stuck at fput_pad (print_scan.c:509&amp;nbsp; inside _doprint) within the PRINTF call&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 14:47:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/helloworld-example-on-TWR-K64F120M/m-p/372739#M756</guid>
      <dc:creator>kalden_srcinc</dc:creator>
      <dc:date>2015-01-23T14:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: helloworld example on TWR-K64F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/helloworld-example-on-TWR-K64F120M/m-p/372740#M757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured it out.&amp;nbsp; The first problem was I was not initializing the JLink GDB server properly.&amp;nbsp; I needed to provided some switches: ./JLinkGDBServer -select USB -device MK64FN1M0xxx12 -if SWD -speed 1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The next problem was the J10/J15 jumpers on the board were not what I expected.&amp;nbsp; Based on the documentation, I had to do the opposite of what I would expect to route UART1 to the virtual serial port.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 15:21:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/helloworld-example-on-TWR-K64F120M/m-p/372740#M757</guid>
      <dc:creator>kalden_srcinc</dc:creator>
      <dc:date>2015-01-23T15:21:16Z</dc:date>
    </item>
  </channel>
</rss>

