<?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: KDS: Switching Between MCUs</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KDS-Switching-Between-MCUs/m-p/889670#M52583</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your kind reply, Erich.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I changed the Target Processor to "cortex-m0plus".&amp;nbsp; I verify this during compilation in the console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything seems to be working just fine except&amp;nbsp;standard library String.h functions. Strlen and Strtok are a few that trigger hard faults.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I must be missing something or inadvertently broke something but I don't know how I COULD.&amp;nbsp; Defining the Target Processor points to the standard cortex-m0plus libraries, from how I understand the system. Strange.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you think of any other ideas, please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again for your reply, Erich.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Feb 2019 01:08:10 GMT</pubDate>
    <dc:creator>philhale</dc:creator>
    <dc:date>2019-02-09T01:08:10Z</dc:date>
    <item>
      <title>KDS: Switching Between MCUs</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KDS-Switching-Between-MCUs/m-p/889668#M52581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an interesting problem that I am hopeful someone might have some ideas how to resolve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using KDS 3.2.0. I am migrating an application from K64 to KL27. I am getting a hard fault that occurs anytime I am using standard library functions from, particularly, string.h.&amp;nbsp; Strtok, Strlen, etc.&amp;nbsp; Commenting these lines out and everything works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems obvious that just changing the Target Processor isn't enough to point KDS to the correct standard libraries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2019 20:53:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KDS-Switching-Between-MCUs/m-p/889668#M52581</guid>
      <dc:creator>philhale</dc:creator>
      <dc:date>2019-02-07T20:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: KDS: Switching Between MCUs</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KDS-Switching-Between-MCUs/m-p/889669#M52582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phil,&lt;/P&gt;&lt;P&gt;did you switch from M4F to M0+?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/71807i9BB6E275FB0C6595/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Otherwise the library will use M4(F) instructions which are not available on M0+. The logical consequence will be a hard fault.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 08:57:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KDS-Switching-Between-MCUs/m-p/889669#M52582</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2019-02-08T08:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: KDS: Switching Between MCUs</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KDS-Switching-Between-MCUs/m-p/889670#M52583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your kind reply, Erich.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I changed the Target Processor to "cortex-m0plus".&amp;nbsp; I verify this during compilation in the console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything seems to be working just fine except&amp;nbsp;standard library String.h functions. Strlen and Strtok are a few that trigger hard faults.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I must be missing something or inadvertently broke something but I don't know how I COULD.&amp;nbsp; Defining the Target Processor points to the standard cortex-m0plus libraries, from how I understand the system. Strange.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you think of any other ideas, please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again for your reply, Erich.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Feb 2019 01:08:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KDS-Switching-Between-MCUs/m-p/889670#M52583</guid>
      <dc:creator>philhale</dc:creator>
      <dc:date>2019-02-09T01:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: KDS: Switching Between MCUs</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KDS-Switching-Between-MCUs/m-p/889671#M52584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phil,&lt;/P&gt;&lt;P&gt;Usually I do port projects with the 'create new, then copy' method, but I have changed a few projects 'in-place' too. I have documented the process in &lt;A class="link-titled" href="https://mcuoneclipse.com/2019/02/09/tutorial-changing-arm-cortex-core-or-microcontroller-in-eclipse-cdt-projects/" title="https://mcuoneclipse.com/2019/02/09/tutorial-changing-arm-cortex-core-or-microcontroller-in-eclipse-cdt-projects/"&gt;Tutorial: Changing ARM Cortex Core or Microcontroller in Eclipse CDT Projects | MCU on Eclipse&lt;/A&gt; , maybe there is something you have missed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Feb 2019 08:02:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KDS-Switching-Between-MCUs/m-p/889671#M52584</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2019-02-09T08:02:05Z</dc:date>
    </item>
  </channel>
</rss>

