<?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 Software Development KitのトピックRe: Re: Starting with MQX - KSDK - Strange behavior</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Starting-with-MQX-KSDK-Strange-behavior/m-p/342155#M261</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Iva&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your dedication to help me so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script solution works very well when I copy hello project inside examples folder, but when I try to copy the same project to a directory other than C:\Freescale\KSDK_1.1.0\rtos\mqx\mqx\examples\, it fails, as you can see on the screenshot bellow:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="script_other_directory.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51132i6335A974CBF3BBE8/image-size/large?v=v2&amp;amp;px=999" role="button" title="script_other_directory.jpg" alt="script_other_directory.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I had to set the paths to ${KSDK_PATH}, and the libraries you mentioned above are already there:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="compiler_includes.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51133iEC97934381E04A5A/image-size/large?v=v2&amp;amp;px=999" role="button" title="compiler_includes.jpg" alt="compiler_includes.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="linker_miscelaneous.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51134i860D22DDEFB5411D/image-size/large?v=v2&amp;amp;px=999" role="button" title="linker_miscelaneous.jpg" alt="linker_miscelaneous.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like the best solution so far is the script solution, keeping the copied project at examples folder. If there is not a better way, I can adopt that as a temporary solution. I will try the Carlos Musich's method once more, although it is a very tiring process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have other tips or advice, please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I said, any help is always very welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Mar 2015 18:54:32 GMT</pubDate>
    <dc:creator>MAPC</dc:creator>
    <dc:date>2015-03-06T18:54:32Z</dc:date>
    <item>
      <title>Starting with MQX - KSDK - Strange behavior</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Starting-with-MQX-KSDK-Strange-behavior/m-p/342149#M255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Sirs.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just wrote a simple code with MQX - KSDK: I created two tasks; one prints out "Hello" and the other prints out "World" on a Windows Terminal. I used two semaphores to control the usage of the serial output by both tasks.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know why after the fifth print ("Hello"), the tasks stop running and it falls into "Default ISR". I can't identify what could be causing that:&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="20242_20242.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120204i3EFD7BDB1FB22D3D/image-size/large?v=v2&amp;amp;px=999" role="button" title="20242_20242.jpg" alt="20242_20242.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="terminal_screenshot_2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50825iD500B35977194C06/image-size/large?v=v2&amp;amp;px=999" role="button" title="terminal_screenshot_2.jpg" alt="terminal_screenshot_2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Strange to realize that lwsemaphore demo for FRDM-K64F is running perfectly.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did anybody ever experienced anything similar to that?&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would really appreciate any help or tips.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My project is attached.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marco Coelho&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-339073"&gt;projeto_novo_mqx.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 17:54:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Starting-with-MQX-KSDK-Strange-behavior/m-p/342149#M255</guid>
      <dc:creator>MAPC</dc:creator>
      <dc:date>2015-02-26T17:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Starting with MQX - KSDK - Strange behavior</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Starting-with-MQX-KSDK-Strange-behavior/m-p/342150#M256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG class="font-color-meta"&gt; &lt;SPAN class="replyToName"&gt;Marco Aurelio P. Coelho&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="replyToName"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;according to your project structure it looks like project which was importing from CW to KDS. E.g. folder Project_Settings, bad set Toolchain, Preprocessor etc in your project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;If you create new project for KDS and KSDK and put the code here, it will work correctly.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, please go to the example hello from &lt;SPAN class="replyToName"&gt;&lt;STRONG&gt;C:\Freescale\KSDK_1.1.0\rtos\mqx\mqx\examples\hello&lt;/STRONG&gt; and replace it according to my attached code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This solution works well, I tested as well.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="hello.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50976i88BF1043A0E326C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="hello.png" alt="hello.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don´t want to modify original demo, it is more simple to copy the demo and modify its copy.&lt;/P&gt;&lt;P&gt;So, you can do it by e.g. Total Commander and replace the old name to new one, or you can use this very useful script, which creates Anthony Huereca.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-102547"&gt;Create new KSDK Projects&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just take a exe script (make_new_ksdk_project) and put it in your case into C:\Freescale\KSDK_1.1.0\rtos\mqx\mqx\examples &lt;/P&gt;&lt;P&gt;I also attach you the script.bat, which you execute for your creation copy. I set "hello" example, by double click on script.bat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="script.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50977i31D30B67451EEA49/image-size/large?v=v2&amp;amp;px=999" role="button" title="script.png" alt="script.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;Iva&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 20:20:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Starting-with-MQX-KSDK-Strange-behavior/m-p/342150#M256</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2015-03-03T20:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Starting with MQX - KSDK - Strange behavior</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Starting-with-MQX-KSDK-Strange-behavior/m-p/342151#M257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Iva&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your attention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still can't understand what is wrong with my code. I just followed a step by step guide of how to create a new MQX - KSDK project posted by Carlos Musich on this Community (&lt;A _jive_internal="true" class="loading" href="https://community.nxp.com/thread/339684" title="https://community.freescale.com/thread/339684"&gt;https://community.freescale.com/thread/339684).&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to include some defined symbols in "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Cross Arm C Compiler ==&amp;gt; Preprocessor" Internal Settings in order to fix some compile errors that came up. After that, the code seemed to run fine, but after I included semaphores and removed the task_abort to see the messages scrolling down on the Terminal, that failure took place. It doesn't make any sense.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I would really like to find out what is wrong with my code and caused this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;But your solution sounds very interesting, but I didn't receive your code and the script.bat file you commented before. Could you please send it to me again?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thanks and best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Marco&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 21:53:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Starting-with-MQX-KSDK-Strange-behavior/m-p/342151#M257</guid>
      <dc:creator>MAPC</dc:creator>
      <dc:date>2015-03-03T21:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Starting with MQX - KSDK - Strange behavior</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Starting-with-MQX-KSDK-Strange-behavior/m-p/342152#M258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG class="font-color-meta"&gt;&lt;SPAN class="replyToName"&gt;Marco Aurelio P. Coelho&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="replyToName"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;&lt;SPAN class="replyToName"&gt;I´m attaching it by the end of the previous post. It is called frdm_k64f_hello.zip and in this folder I attach you script.bat, script by Anthony and main.c&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;&lt;A _jive_internal="true" data-content-finding="Community" href="https://community.nxp.com/servlet/JiveServlet/download/11234-343432-486216-288785/frdm_k64f_hello.zip"&gt;frdm_k64f_hello.zip&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, try the process, which I refer to you above, and tell me. It looks you badly create a project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I try your process with creating new MQX project and your code by this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Iva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 10:33:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Starting-with-MQX-KSDK-Strange-behavior/m-p/342152#M258</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2015-03-04T10:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Starting with MQX - KSDK - Strange behavior</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Starting-with-MQX-KSDK-Strange-behavior/m-p/342153#M259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Iva&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just tested your solution and it really works with the script file, but only when you copy the hello project to the same location &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;C:\Freescale\KSDK_1.1.0\rtos\mqx\mqx\examples and keep it there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to copy the hello project to another directory and use the script file to create a copy of the project there, but when I import the project to KDS and compile it, the following error comes up:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="new_project_compile_error(script).jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20869iF7A41572EBE5C00D/image-size/large?v=v2&amp;amp;px=999" role="button" title="new_project_compile_error(script).jpg" alt="new_project_compile_error(script).jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to have the freedom of creating my project anywhere. One disadvantage of the script method is that the files from the examples are linked to the libraries where they are located at and if you need to make any modification, you change the content of the original files and that is not good. The method proposed by Carlos Musich copy the files so you can change them any time you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The author of scipt solution, Anthony Huereca says that it is possible to move hello project to another directory and make a copy of it there, but I don't know if I there is a way to do it through the script file or there is another way to do it. Were you able to do it on your side?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried to remove the linked folders, create new folders and copy all the files and libraries manually, by following the Carlos Musich's method, but it failed, as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 17:24:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Starting-with-MQX-KSDK-Strange-behavior/m-p/342153#M259</guid>
      <dc:creator>MAPC</dc:creator>
      <dc:date>2015-03-04T17:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Starting with MQX - KSDK - Strange behavior</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Starting-with-MQX-KSDK-Strange-behavior/m-p/342154#M260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG class="font-color-meta"&gt;&lt;SPAN class="replyToName"&gt;Marco Aurelio P. Coelho&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="replyToName"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;It looks you have do not include the libraries (&lt;/SPAN&gt;&lt;SPAN style="color: #575757;"&gt;mqx_stlib_frdmk64f, mqx_frdmk64f and ksdk_mqx-lib_k64f12)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #575757;"&gt;Please, check it according to this Compiler and Linker settings in KDS. After that please clean your project and build again.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #575757;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="edit3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51111i764828EB526DCDB6/image-size/large?v=v2&amp;amp;px=999" role="button" title="edit3.png" alt="edit3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #575757;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="edit4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51112i53E7ADB1F6087B65/image-size/large?v=v2&amp;amp;px=999" role="button" title="edit4.png" alt="edit4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #575757;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="edit2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51113iA870CAE827809CEC/image-size/large?v=v2&amp;amp;px=999" role="button" title="edit2.png" alt="edit2.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #575757;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #575757; font-size: 10.0pt;"&gt;You have to set the paths to your project and therefore you cannot move your project in your way. So modifying the demo/example is the best way how to avoid conflict. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #575757; font-size: 10.0pt;"&gt;If you want to copy another project, edit the bat file, type the name of example, which you want to copy, save it and execute the script.bat and type the name of new project. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #575757; font-size: 10.0pt;"&gt;The name must be different. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #575757; font-size: 10.0pt;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="edit.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51114iB70D497B1C676D54/image-size/large?v=v2&amp;amp;px=999" role="button" title="edit.png" alt="edit.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;I tested on my side and it works without problems. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Yes,it is possible to move the script to another example folder. You can copy the script e.g. to C:\Freescale\KSDK_1.1.0\demos &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;I hope it helps you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Iva&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 13:34:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Starting-with-MQX-KSDK-Strange-behavior/m-p/342154#M260</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2015-03-06T13:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Starting with MQX - KSDK - Strange behavior</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Starting-with-MQX-KSDK-Strange-behavior/m-p/342155#M261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Iva&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your dedication to help me so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script solution works very well when I copy hello project inside examples folder, but when I try to copy the same project to a directory other than C:\Freescale\KSDK_1.1.0\rtos\mqx\mqx\examples\, it fails, as you can see on the screenshot bellow:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="script_other_directory.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51132i6335A974CBF3BBE8/image-size/large?v=v2&amp;amp;px=999" role="button" title="script_other_directory.jpg" alt="script_other_directory.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I had to set the paths to ${KSDK_PATH}, and the libraries you mentioned above are already there:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="compiler_includes.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51133iEC97934381E04A5A/image-size/large?v=v2&amp;amp;px=999" role="button" title="compiler_includes.jpg" alt="compiler_includes.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="linker_miscelaneous.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51134i860D22DDEFB5411D/image-size/large?v=v2&amp;amp;px=999" role="button" title="linker_miscelaneous.jpg" alt="linker_miscelaneous.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like the best solution so far is the script solution, keeping the copied project at examples folder. If there is not a better way, I can adopt that as a temporary solution. I will try the Carlos Musich's method once more, although it is a very tiring process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have other tips or advice, please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I said, any help is always very welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 18:54:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Starting-with-MQX-KSDK-Strange-behavior/m-p/342155#M261</guid>
      <dc:creator>MAPC</dc:creator>
      <dc:date>2015-03-06T18:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Starting with MQX - KSDK - Strange behavior</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Starting-with-MQX-KSDK-Strange-behavior/m-p/342156#M262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi &lt;STRONG class="font-color-meta"&gt;&lt;SPAN class="replyToName"&gt;Marco Aurelio P. Coelho&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="replyToName"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName" style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;It looks you have do not include the libraries (&lt;SPAN lang="CS" style="color: #3366ff;"&gt;&lt;/SPAN&gt;&lt;SPAN lang="CS" style="color: #3366ff;"&gt;mqx_stlib_frdmk64f, mqx_frdmk64f and ksdk_mqx-lib_k64f12&lt;SPAN style="color: #000000;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Please, I´m working on short tutorial for you for checking whole procedure. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Hopefully, during the day, I have finished the tutorial and post it to Community.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Please, check the libraries included to the project. I also write you the paths to the libraries. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;First of all, build the libraries and after that build the project. It works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="script.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51271iDEF4F3649EC33ACB/image-size/large?v=v2&amp;amp;px=999" role="button" title="script.png" alt="script.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #000000;"&gt;I hope it helps you, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #000000;"&gt;Iva&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 08:58:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Starting-with-MQX-KSDK-Strange-behavior/m-p/342156#M262</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2015-03-11T08:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Starting with MQX - KSDK - Strange behavior</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Starting-with-MQX-KSDK-Strange-behavior/m-p/342157#M263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG class="font-color-meta"&gt;&lt;SPAN class="replyToName"&gt;Marco Aurelio P. Coelho&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="replyToName"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;please, check your procedure with this step-by-step guide. &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-104144"&gt;How to create copy of KSDK example in KDS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you,&lt;/P&gt;&lt;P&gt;Iva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 15:25:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Starting-with-MQX-KSDK-Strange-behavior/m-p/342157#M263</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2015-03-16T15:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Starting with MQX - KSDK - Strange behavior</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Starting-with-MQX-KSDK-Strange-behavior/m-p/342158#M264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Iva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your method is good, easier, faster and less prone to errors rather than creating a new project from zero. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to share with you a workaround I found in order not to mess with the original boards/frdmk64f folder files like gpio_pins.c, board.h, etc and get free to change them to meet my application needs. It may be helpful to other people in the Community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) I cloned (Ctl + C, Ctl + V) the "C:/Freescale/KSDK_1.1.0/board/frdmk64f" folder and renamed it, in my case, to "myboard_k64f" in the same directory, keeping the files inside with the same name:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="frdmk64f_folder_cloning.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51605iE472AD9B349F4703/image-size/large?v=v2&amp;amp;px=999" role="button" title="frdmk64f_folder_cloning.png" alt="frdmk64f_folder_cloning.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Then, I created a virtual folder and named it "KSDK_Files" and included the linked files inside that folder. To do it, I right clicked on project's name, "New", "Folder". I filled the "Folder name" field with "KSDK_Files", clicked on "Advanced", checked on the option "Folder is not located in the file system (Virtual Folder)" and clicked on "Finish": &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="virtual_folder.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51606i67F7400F1CAFEE62/image-size/large?v=v2&amp;amp;px=999" role="button" title="virtual_folder.png" alt="virtual_folder.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="virtual_folder_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51609i13D31893A1A39E3B/image-size/large?v=v2&amp;amp;px=999" role="button" title="virtual_folder_2.png" alt="virtual_folder_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3) Right click on "KSDK_Files" folder. Select New / File / Advanced and mark the option "Link to File in File System". Click on "Browse" button and point to "board.h" file inside recently created "myboard_k64f" folder and click on "Open" to confirm:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="link_to_files.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51610iBC574A59BC04C3EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="link_to_files.png" alt="link_to_files.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;4) Repeat the same procedure above in order to link to the other files: "gpio_pins.c", "gpio_pins.h", "hardware_init.c", "pin_mux.c" and "pin_mux.h". Do not link to "frdmk64f.peb" file. We won't use it in our case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) Now it is necessary to change the path which points to "frdmk64f" folder to "myboard_k64f" folder in "Compiler / Includes" and "Assembler / Includes" Settings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.1) First, go to "Project / Settings / Cross ARM GNU Assembler / Includes". Double click on the "...boards/frdmk64f" folder path and change it to "...boards/myboard_k64f". Click on "OK" and "Apply":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="assembler_include_path.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51611iE23A29C7D2480CC3/image-size/large?v=v2&amp;amp;px=999" role="button" title="assembler_include_path.png" alt="assembler_include_path.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Repeat the same procedure above in "Project / Settings / Cross ARM C Compiler / Includes", rebuild the project and it is finished. Now you have you own board configuration files to do change acording to your board setup, without messing with the original ones.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco Coelho&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 18:27:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Starting-with-MQX-KSDK-Strange-behavior/m-p/342158#M264</guid>
      <dc:creator>MAPC</dc:creator>
      <dc:date>2015-03-18T18:27:39Z</dc:date>
    </item>
  </channel>
</rss>

