<?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: Linux, gcc, and the FRDM-KL25Z</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231338#M5022</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you might need the updated bootloader P&amp;amp;E has relased (BOOTUPDATEAPP.SDA):&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.pemicro.com/opensda/" title="https://www.pemicro.com/opensda/"&gt;PEMicro.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Most boards I have seen shipping come with v1.02 or v1.01, so you probably need update to v1.08.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the bootloader release notes:&lt;/P&gt;&lt;P&gt;v1.05 Fixed binary files download to bootloader. Wrong address was used (0x0000 instead of 0x8000)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fixed led not coming on upon an error&lt;/P&gt;&lt;P&gt;v1.07 Added Bootloader support for Linux&lt;/P&gt;&lt;P&gt;v1.08 Future feature additions (undocumented)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 May 2013 08:59:29 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2013-05-02T08:59:29Z</dc:date>
    <item>
      <title>Linux, gcc, and the FRDM-KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231332#M5016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It took me a while to figure out how to build even a blinky-LED app for the FRDM-KL25Z using gcc from the Linux command-line, so maybe someone else will find the attached tar file useful.&amp;nbsp; It contains a Makefile, header file, startup code, linker script, and blinky-LED app which I put together from various places.&amp;nbsp; At least for me, I can now type "make" and "cp main.srec /media/FRDM-KL25Z" to build and upload.&amp;nbsp; I used the Linux ARM GCC binaries from &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Flaunchpad.net%2Fgcc-arm-embedded%2F" rel="nofollow" target="_blank"&gt;GCC ARM Embedded in Launchpad&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have fun,&lt;/P&gt;&lt;P&gt;G.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337576"&gt;test-frdm-kl25z.tar.gz&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jan 2013 11:20:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231332#M5016</guid>
      <dc:creator>gdb</dc:creator>
      <dc:date>2013-01-20T11:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Linux, gcc, and the FRDM-KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231333#M5017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's an updated version which fixes the Makefile so you can use operators like "/" and "%" in your code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jan 2013 15:11:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231333#M5017</guid>
      <dc:creator>gdb</dc:creator>
      <dc:date>2013-01-20T15:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Linux, gcc, and the FRDM-KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231334#M5018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's a more complete code/bare metal/starutp example, that I just posted:&amp;nbsp; &lt;A href="https://github.com/payne92/bare-metal-arm" title="https://github.com/payne92/bare-metal-arm"&gt;https://github.com/payne92/bare-metal-arm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Feb 2013 19:34:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231334#M5018</guid>
      <dc:creator>andrewpayne</dc:creator>
      <dc:date>2013-02-02T19:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Linux, gcc, and the FRDM-KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231335#M5019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is such a big help :smileygrin: Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 17:27:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231335#M5019</guid>
      <dc:creator>drew887</dc:creator>
      <dc:date>2013-04-03T17:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Linux, gcc, and the FRDM-KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231336#M5020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WOW - thanks for the effort (all in the thread).&amp;nbsp; One question though:&amp;nbsp; How do you get the board to be recognized as mass storage from Linux to begin with? I just got 2 from Farnell and they never get recognized as mass storage under Ubuntu 13.04 (64bit) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 08:42:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231336#M5020</guid>
      <dc:creator>larsknudsen</dc:creator>
      <dc:date>2013-05-02T08:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Linux, gcc, and the FRDM-KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231337#M5021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you VERY much.&amp;nbsp; Now, there is a chance we can use the FRDM-KL25Z for our education project:&amp;nbsp; &lt;A href="http://www.empirikit.com/" title="http://www.empirikit.com/"&gt;empiriKit&lt;/A&gt;&amp;nbsp; and &lt;A href="http://blog.dothisathome.com/2013/02/introducing-education-kit.html" title="http://blog.dothisathome.com/2013/02/introducing-education-kit.html"&gt;Do this at home: Introducing the Education Kit&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 08:50:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231337#M5021</guid>
      <dc:creator>larsknudsen</dc:creator>
      <dc:date>2013-05-02T08:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Linux, gcc, and the FRDM-KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231338#M5022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you might need the updated bootloader P&amp;amp;E has relased (BOOTUPDATEAPP.SDA):&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.pemicro.com/opensda/" title="https://www.pemicro.com/opensda/"&gt;PEMicro.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Most boards I have seen shipping come with v1.02 or v1.01, so you probably need update to v1.08.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the bootloader release notes:&lt;/P&gt;&lt;P&gt;v1.05 Fixed binary files download to bootloader. Wrong address was used (0x0000 instead of 0x8000)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fixed led not coming on upon an error&lt;/P&gt;&lt;P&gt;v1.07 Added Bootloader support for Linux&lt;/P&gt;&lt;P&gt;v1.08 Future feature additions (undocumented)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 08:59:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231338#M5022</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-05-02T08:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Linux, gcc, and the FRDM-KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231339#M5023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! -&amp;nbsp; ... if it works for one board, I just need to figure out how to scale it up to the 1000s :smileywink:&amp;nbsp; it would be great if the schools could just order the stuff directly.... but we will figure it out.. somehow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The github project (&lt;A href="https://github.com/payne92/bare-metal-arm" title="https://github.com/payne92/bare-metal-arm"&gt;payne92/bare-metal-arm · GitHub&lt;/A&gt;) should be promoted to the front page for the KL25Z on the farnell and freescale pages.&amp;nbsp; If it works, it's - by far - the simplest solution to get stuff done.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 09:06:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231339#M5023</guid>
      <dc:creator>larsknudsen</dc:creator>
      <dc:date>2013-05-02T09:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Linux, gcc, and the FRDM-KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231340#M5024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm struggling to get the suggestions mentioned above to work. I've built the "bare-metal-arm" and went through the following to try and get things working-&lt;/P&gt;&lt;P&gt;1. git clone &lt;A href="https://github.com/payne92/bare-metal-arm" title="https://github.com/payne92/bare-metal-arm"&gt;https://github.com/payne92/bare-metal-arm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. &lt;CODE&gt;cd bare-metal-arm; make gcc-arm&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;3. make&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;4. cd /dev; ls sd*; --&amp;gt; provides me with the sd port (for example 'sdb')&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;5. plug in the micro usb to the SDA port&lt;/P&gt;&lt;P&gt;6. mkdir ~/kl25z&lt;/P&gt;&lt;P&gt;7. sudo mount -t vfat /dev/sdb ~/kl25z&lt;/P&gt;&lt;P&gt;8. cp ~/bare-metal-arm/demo.srec ~/kl25z&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The RBG led turns green which makes me think the program has loaded correctly... I tried to run 'screen /dev/sdb 115200' but it fails. Could someone please tell me how to get output from the KL25Z board?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I updated the OpenSDA firmware to 1.06 and now I can only see the SDA block in debug mode (holding reset while plugging in the board).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 19:18:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231340#M5024</guid>
      <dc:creator>gbd</dc:creator>
      <dc:date>2013-05-28T19:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Linux, gcc, and the FRDM-KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231341#M5025</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;The device you are listening on seems wrong. Try /dev/ttyACMn, where n is&lt;/P&gt;&lt;P&gt;the one assigned to the serial connection for the board (check system&lt;/P&gt;&lt;P&gt;messages for which one it is for you)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Be&lt;/P&gt;&lt;P&gt;Lars&lt;/P&gt;&lt;P&gt;On May 28, 2013 12:19 PM, "gregdeemer" &amp;lt;admin@community.freescale.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 21:04:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231341#M5025</guid>
      <dc:creator>larsknudsen</dc:creator>
      <dc:date>2013-05-28T21:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Linux, gcc, and the FRDM-KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231342#M5026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should I start by loading DEBUG-APP.SDA or MSD-FRDM.SDA or does it matter? When I run 'dmesg | grep tty' I don't see a ttyAMCn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 21:56:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231342#M5026</guid>
      <dc:creator>gbd</dc:creator>
      <dc:date>2013-05-28T21:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Linux, gcc, and the FRDM-KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231343#M5027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you upgrade both bootloader and OpenSDA to the latest? (just to make sure it should run fine with linux)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway - when I attach the board, I get the following in dmesg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ 4821.894745] usb 1-1.2: new full-speed USB device number 6 using ehci_hcd&lt;/P&gt;&lt;P&gt;[ 4821.990413] cdc_acm 1-1.2:1.0: This device cannot do calls on its own. It is not a modem.&lt;/P&gt;&lt;P&gt;[ 4821.990452] cdc_acm 1-1.2:1.0:&lt;STRONG&gt; ttyACM3&lt;/STRONG&gt;: USB ACM device&lt;/P&gt;&lt;P&gt;[ 4822.033932] Initializing USB Mass Storage driver...&lt;/P&gt;&lt;P&gt;[ 4822.034256] scsi6 : usb-storage 1-1.2:1.2&lt;/P&gt;&lt;P&gt;[ 4822.034422] usbcore: registered new interface driver usb-storage&lt;/P&gt;&lt;P&gt;[ 4822.034424] USB Mass Storage support registered.&lt;/P&gt;&lt;P&gt;[ 4823.034359] scsi 6:0:0:0: Direct-Access&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FSL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FSL/PEMICRO MSD&amp;nbsp; 0001 PQ: 0 ANSI: 4&lt;/P&gt;&lt;P&gt;[ 4823.036203] sd 6:0:0:0: Attached scsi generic sg2 type 0&lt;/P&gt;&lt;P&gt;[ 4823.037024] sd 6:0:0:0: [sdb] 1983999 512-byte logical blocks: (1.01 GB/968 MiB)&lt;/P&gt;&lt;P&gt;[ 4823.037703] sd 6:0:0:0: [sdb] Write Protect is off&lt;/P&gt;&lt;P&gt;[ 4823.037710] sd 6:0:0:0: [sdb] Mode Sense: 00 00 00 00&lt;/P&gt;&lt;P&gt;[ 4823.038361] sd 6:0:0:0: [sdb] Asking for cache data failed&lt;/P&gt;&lt;P&gt;[ 4823.038369] sd 6:0:0:0: [sdb] Assuming drive cache: write through&lt;/P&gt;&lt;P&gt;[ 4823.042094] sd 6:0:0:0: [sdb] Asking for cache data failed&lt;/P&gt;&lt;P&gt;[ 4823.042100] sd 6:0:0:0: [sdb] Assuming drive cache: write through&lt;/P&gt;&lt;P&gt;[ 4823.053063]&amp;nbsp; sdb:&lt;/P&gt;&lt;P&gt;[ 4823.056193] sd 6:0:0:0: [sdb] Asking for cache data failed&lt;/P&gt;&lt;P&gt;[ 4823.056200] sd 6:0:0:0: [sdb] Assuming drive cache: write through&lt;/P&gt;&lt;P&gt;[ 4823.056205] sd 6:0:0:0: [sdb] Attached SCSI removable disk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It attaches both as a mass storage on /dev/sdb and a "modem" on /dev/ttyACM3 (on mine)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can communicate with the serial comm using minicom or node.js + serialport (remember to set the correct baud rate, etc.)&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 09:43:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231343#M5027</guid>
      <dc:creator>larsknudsen</dc:creator>
      <dc:date>2013-06-03T09:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Linux, gcc, and the FRDM-KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231344#M5028</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;Maybe my question is a little off-topic. I want to run an open source project on Windows as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I downloaded Github project &lt;A href="https://github.com/payne92/bare-metal-arm" title="https://github.com/payne92/bare-metal-arm"&gt;payne92/bare-metal-arm · GitHub&lt;/A&gt;, and tried to build it in Windows. The windows version of gcc-arm is used and makefile is updated for toolchain path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;GCCBIN = C:/gcc-arm/gcc-arm-none-eabi-4_7-2013q1-20130313-win32/bin&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;CC = $(GCCBIN)/arm-none-eabi-gcc&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;AR = $(GCCBIN)/arm-none-eabi-ar&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;OBJCOPY = $(GCCBIN)/arm-none-eabi-objcopy&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;OBJDUMP = $(GCCBIN)/arm-none-eabi-objdump&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;SIZE = $(GCCBIN)/arm-none-eabi-size&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;RM = rm&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;DEBUG_OPTS = -g3 -gdwarf-2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;OPTS = -Os&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;TARGET = -mcpu=cortex-m0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;CFLAGS = -ffunction-sections -fdata-sections -Wall -Wa,-adhlns=$(addsuffix .lst, $(basename $&amp;lt;)) \&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;&amp;nbsp; -fmessage-length=0 $(TARGET) -mthumb -mfloat-abi=soft \&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;&amp;nbsp; $(DEBUG_OPTS) $(OPTS) -I .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;LIBOBJS = _startup.o syscalls.o uart.o delay.o accel.o touch.o usb.o \&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;&amp;nbsp; ring.o tests.o&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;#LIBOBJS = _startup.o syscalls.o uart.o delay.o accel.o touch.o usb.o ring.o&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;INCLUDES = freedom.h common.h&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;#all: demo.srec demo.dump&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;all: demo.dump demo.srec&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;libbare.a: $(LIBOBJS)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;&amp;nbsp; $(AR) -rv libbare.a $(LIBOBJS)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;clean:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;&amp;nbsp; $(RM) *.o *.lst *.out libbare.a *.srec *.dump&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;%.o: %.c&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;&amp;nbsp; $(CC) $(CFLAGS) -c $&amp;lt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;%.dump: %.out&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;&amp;nbsp; $(SIZE) $&amp;lt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;&amp;nbsp; $(OBJDUMP) --disassemble $&amp;lt; &amp;gt;$@&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;%.srec: %.out&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;&amp;nbsp; $(OBJCOPY) -O srec $&amp;lt; $@&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;&amp;nbsp; $(SIZE) $@&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;%.out: %.o mkl25z4.ld libbare.a&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;&amp;nbsp; $(CC) $(CFLAGS) -T mkl25z4.ld -o $@ $&amp;lt; libbare.a&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can build it successfully. but the demo.out demo.o will be removed anyway. But I can not find it in makefile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;C:/gcc-arm/gcc-arm-none-eabi-4_7-2013q1-20130313-win32/bin/arm-none-eabi-size demo.out&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;&amp;nbsp;&amp;nbsp; text&amp;nbsp;&amp;nbsp;&amp;nbsp; data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bss&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dec&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hex filename&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;&amp;nbsp; 21644&amp;nbsp;&amp;nbsp;&amp;nbsp; 2268&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 440&amp;nbsp;&amp;nbsp; 24352&amp;nbsp;&amp;nbsp;&amp;nbsp; 5f20 demo.out&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;C:/gcc-arm/gcc-arm-none-eabi-4_7-2013q1-20130313-win32/bin/arm-none-eabi-objdump --disassemble demo.out &amp;gt;demo.dump&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;C:/gcc-arm/gcc-arm-none-eabi-4_7-2013q1-20130313-win32/bin/arm-none-eabi-objcopy -O srec demo.out demo.srec&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;C:/gcc-arm/gcc-arm-none-eabi-4_7-2013q1-20130313-win32/bin/arm-none-eabi-size demo.srec&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;&amp;nbsp;&amp;nbsp; text&amp;nbsp;&amp;nbsp;&amp;nbsp; data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bss&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dec&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hex filename &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 23912&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 23912&amp;nbsp;&amp;nbsp;&amp;nbsp; 5d68 demo.srec&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: terminal, monaco;"&gt;rm demo.o demo.out&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I keep demo.o demo.out after building project?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 02:27:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231344#M5028</guid>
      <dc:creator>kai_liu</dc:creator>
      <dc:date>2013-09-04T02:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Linux, gcc, and the FRDM-KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231345#M5029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the make file I'm using and this works for me:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2013/07/20/dyi-free-toolchain-for-kinetis-part-1-gnu-arm-build-tools/" title="http://mcuoneclipse.com/2013/07/20/dyi-free-toolchain-for-kinetis-part-1-gnu-arm-build-tools/"&gt;DIY Free Toolchain for Kinetis: Part 1 – GNU ARM Build Tools | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 03:59:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231345#M5029</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-09-04T03:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Linux, gcc, and the FRDM-KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231346#M5030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found many useful code from your Github projects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yours sincerely&lt;/P&gt;&lt;P&gt;Allan K Liu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 10:03:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231346#M5030</guid>
      <dc:creator>kai_liu</dc:creator>
      <dc:date>2013-09-04T10:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Linux, gcc, and the FRDM-KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231347#M5031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, gdb&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any working CPP demo on KL25Z now? I have similar thread here: &lt;A href="https://community.nxp.com/message/349056"&gt;Re: Any G++ CPP demo project running on KL?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Allan K Liu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 11:52:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231347#M5031</guid>
      <dc:creator>kai_liu</dc:creator>
      <dc:date>2013-09-09T11:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Linux, gcc, and the FRDM-KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231348#M5032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For public,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The CPP demo is working now. (arm-gcc-none-eabi + Eclipse Kelper CDT + PEmicro gdbserver basic + Windows XP). Makefile has not been released, but will be available soon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 05:16:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231348#M5032</guid>
      <dc:creator>kai_liu</dc:creator>
      <dc:date>2013-09-13T05:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Linux, gcc, and the FRDM-KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231349#M5033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello I am working on FRDM 25z freedom board but &lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; not able to&amp;nbsp; load code on freedoboard FRDM KL25Z&lt;/STRONG&gt; .How should i do that..?&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1.I have copied&amp;nbsp; MSD-FRDM-KL26Z_Pemicro_v112.SDA file to &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;"/media/BOOTLOADER"&lt;/SPAN&gt; and then again repower device&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; but till me not getting how to load code on &lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; FRDM KL25Z&lt;/STRONG&gt;.:smileysad:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; so please guide me related to that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 04:58:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Linux-gcc-and-the-FRDM-KL25Z/m-p/231349#M5033</guid>
      <dc:creator>manish2789</dc:creator>
      <dc:date>2014-05-15T04:58:05Z</dc:date>
    </item>
  </channel>
</rss>

