<?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: what all are the changes to be made while porting code from TWR-K22F120M to TWR-K20D72M in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/what-all-are-the-changes-to-be-made-while-porting-code-from-TWR/m-p/398562#M22045</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;Here is a short list of things that may be important.&lt;/P&gt;&lt;P&gt;- K20 has max operating speed of 72MHz and the K22 120MHz&lt;/P&gt;&lt;P&gt;- K22 has FPU and K20 doesn't&lt;/P&gt;&lt;P&gt;- K22 has IRC48M and K20 doesn't&lt;/P&gt;&lt;P&gt;- K22 has LPUARTs and the K20 doesn't&lt;/P&gt;&lt;P&gt;- Some crossbar master switch settings (eg. for USB) are different&lt;/P&gt;&lt;P&gt;- Some DMA peripheral channels are different&lt;/P&gt;&lt;P&gt;- K22 is a second generation device so has a few differences due to this but mostly not things that cause it to not work.&lt;/P&gt;&lt;P&gt;- K22 and K20 interrupt vectors are not compatible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can't use a ready workig solution and need to use KDS and MQX you will need to work through all points (and maybe some more that will crop up) or you may be able to purchase support from MQX if it is urgent and you don't manage it yourself.&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;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis: &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis.html" target="_blank"&gt;µTasker Kinetis support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;K20: &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis/TWR-K20D72M.html" target="_blank"&gt;µTasker Kinetis TWR-K20D72M support&lt;/A&gt; / &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis/FRDM-K20D50M.html" target="_blank"&gt;µTasker Kinetis FRDM-K20D50M support&lt;/A&gt; / &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis/TWR-K20D50M.html" target="_blank"&gt;µTasker Kinetis TWR-K20D50M support&lt;/A&gt; / &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis/TEENSY_3.1.html" target="_blank"&gt;µTasker Teensy3.1 support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;K22: &lt;A href="http://www.utasker.com/kinetis/FRDM-K22F.html" title="http://www.utasker.com/kinetis/FRDM-K22F.html"&gt;µTasker Kinetis FRDM-K22F support&lt;/A&gt; / &lt;A href="http://www.utasker.com/kinetis/TWR-K22F120M.html" title="http://www.utasker.com/kinetis/TWR-K22F120M.html"&gt;µTasker Kinetis TWR-K22F120M support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 May 2015 13:53:50 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2015-05-04T13:53:50Z</dc:date>
    <item>
      <title>what all are the changes to be made while porting code from TWR-K22F120M to TWR-K20D72M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/what-all-are-the-changes-to-be-made-while-porting-code-from-TWR/m-p/398557#M22040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need to write project(using cpp) on TWR-K20D72M using MQX , but since it no available&amp;nbsp; using KDS_2.0.0 and KSDK_1.1.0 ,I decided to create a project using&amp;nbsp; TWR-K22F120M and port it to TWR-K20D72M.what are the steps to be done .can anyone explain in detail.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 11:35:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/what-all-are-the-changes-to-be-made-while-porting-code-from-TWR/m-p/398557#M22040</guid>
      <dc:creator>josephxavier</dc:creator>
      <dc:date>2015-05-04T11:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: what all are the changes to be made while porting code from TWR-K22F120M to TWR-K20D72M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/what-all-are-the-changes-to-be-made-while-porting-code-from-TWR/m-p/398558#M22041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joseph&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The K22 and K20D72 are different generations of Kinetis and so you may do better to start from a K20 (100 or 50MHz) reference instead.&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;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis: &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis.html" target="_blank"&gt;µTasker Kinetis support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;K20: &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis/TWR-K20D72M.html" target="_blank"&gt;µTasker Kinetis TWR-K20D72M support&lt;/A&gt; / &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis/FRDM-K20D50M.html" target="_blank"&gt;µTasker Kinetis FRDM-K20D50M support&lt;/A&gt; / &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis/TWR-K20D50M.html" target="_blank"&gt;µTasker Kinetis TWR-K20D50M support&lt;/A&gt; / &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis/TEENSY_3.1.html" target="_blank"&gt;µTasker Teensy3.1 support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;K22: &lt;A href="http://www.utasker.com/kinetis/FRDM-K22F.html" title="http://www.utasker.com/kinetis/FRDM-K22F.html"&gt;µTasker Kinetis FRDM-K22F support&lt;/A&gt; / &lt;A href="http://www.utasker.com/kinetis/TWR-K22F120M.html" title="http://www.utasker.com/kinetis/TWR-K22F120M.html"&gt;µTasker Kinetis TWR-K22F120M support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 12:24:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/what-all-are-the-changes-to-be-made-while-porting-code-from-TWR/m-p/398558#M22041</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-05-04T12:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: what all are the changes to be made while porting code from TWR-K22F120M to TWR-K20D72M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/what-all-are-the-changes-to-be-made-while-porting-code-from-TWR/m-p/398559#M22042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But K20 is not available as a platform option while using KDS_2.0.0 and KSDK_1.1.0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 12:29:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/what-all-are-the-changes-to-be-made-while-porting-code-from-TWR/m-p/398559#M22042</guid>
      <dc:creator>josephxavier</dc:creator>
      <dc:date>2015-05-04T12:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: what all are the changes to be made while porting code from TWR-K22F120M to TWR-K20D72M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/what-all-are-the-changes-to-be-made-while-porting-code-from-TWR/m-p/398560#M22043</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 K20 is better supported with the older CodeWarrior tools.&lt;/P&gt;&lt;P&gt;If you need to use KDS it is probably best to choose a processor that it supports rather than using an older K20.&lt;/P&gt;&lt;P&gt;The Arduino people do still use the K20D72 a lot - see &lt;A href="https://www.pjrc.com/teensy/" title="https://www.pjrc.com/teensy/"&gt;Teensy USB Development Board&lt;/A&gt; but it is more for hobby usage since they don't use debuggers.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis: &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis.html" target="_blank"&gt;µTasker Kinetis support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;K20: &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis/TWR-K20D72M.html" target="_blank"&gt;µTasker Kinetis TWR-K20D72M support&lt;/A&gt; / &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis/FRDM-K20D50M.html" target="_blank"&gt;µTasker Kinetis FRDM-K20D50M support&lt;/A&gt; / &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis/TWR-K20D50M.html" target="_blank"&gt;µTasker Kinetis TWR-K20D50M support&lt;/A&gt; / &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis/TEENSY_3.1.html" target="_blank"&gt;µTasker Teensy3.1 support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;K22: &lt;A href="http://www.utasker.com/kinetis/FRDM-K22F.html" title="http://www.utasker.com/kinetis/FRDM-K22F.html"&gt;µTasker Kinetis FRDM-K22F support&lt;/A&gt; / &lt;A href="http://www.utasker.com/kinetis/TWR-K22F120M.html" title="http://www.utasker.com/kinetis/TWR-K22F120M.html"&gt;µTasker Kinetis TWR-K22F120M support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 13:11:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/what-all-are-the-changes-to-be-made-while-porting-code-from-TWR/m-p/398560#M22043</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-05-04T13:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: what all are the changes to be made while porting code from TWR-K22F120M to TWR-K20D72M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/what-all-are-the-changes-to-be-made-while-porting-code-from-TWR/m-p/398561#M22044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what all are the changes to be made while porting code from TWR-K22F120M to TWR-K20D72M&amp;lt;https://community.freescale.com/message/512266?et=watches.email.thread#512266&amp;gt; I just need to do a basic operation for example  a  ‘0’ through a GPIO&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 13:18:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/what-all-are-the-changes-to-be-made-while-porting-code-from-TWR/m-p/398561#M22044</guid>
      <dc:creator>josephxavier</dc:creator>
      <dc:date>2015-05-04T13:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: what all are the changes to be made while porting code from TWR-K22F120M to TWR-K20D72M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/what-all-are-the-changes-to-be-made-while-porting-code-from-TWR/m-p/398562#M22045</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;Here is a short list of things that may be important.&lt;/P&gt;&lt;P&gt;- K20 has max operating speed of 72MHz and the K22 120MHz&lt;/P&gt;&lt;P&gt;- K22 has FPU and K20 doesn't&lt;/P&gt;&lt;P&gt;- K22 has IRC48M and K20 doesn't&lt;/P&gt;&lt;P&gt;- K22 has LPUARTs and the K20 doesn't&lt;/P&gt;&lt;P&gt;- Some crossbar master switch settings (eg. for USB) are different&lt;/P&gt;&lt;P&gt;- Some DMA peripheral channels are different&lt;/P&gt;&lt;P&gt;- K22 is a second generation device so has a few differences due to this but mostly not things that cause it to not work.&lt;/P&gt;&lt;P&gt;- K22 and K20 interrupt vectors are not compatible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can't use a ready workig solution and need to use KDS and MQX you will need to work through all points (and maybe some more that will crop up) or you may be able to purchase support from MQX if it is urgent and you don't manage it yourself.&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;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis: &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis.html" target="_blank"&gt;µTasker Kinetis support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;K20: &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis/TWR-K20D72M.html" target="_blank"&gt;µTasker Kinetis TWR-K20D72M support&lt;/A&gt; / &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis/FRDM-K20D50M.html" target="_blank"&gt;µTasker Kinetis FRDM-K20D50M support&lt;/A&gt; / &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis/TWR-K20D50M.html" target="_blank"&gt;µTasker Kinetis TWR-K20D50M support&lt;/A&gt; / &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis/TEENSY_3.1.html" target="_blank"&gt;µTasker Teensy3.1 support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;K22: &lt;A href="http://www.utasker.com/kinetis/FRDM-K22F.html" title="http://www.utasker.com/kinetis/FRDM-K22F.html"&gt;µTasker Kinetis FRDM-K22F support&lt;/A&gt; / &lt;A href="http://www.utasker.com/kinetis/TWR-K22F120M.html" title="http://www.utasker.com/kinetis/TWR-K22F120M.html"&gt;µTasker Kinetis TWR-K22F120M support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 13:53:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/what-all-are-the-changes-to-be-made-while-porting-code-from-TWR/m-p/398562#M22045</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-05-04T13:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: what all are the changes to be made while porting code from TWR-K22F120M to TWR-K20D72M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/what-all-are-the-changes-to-be-made-while-porting-code-from-TWR/m-p/398563#M22046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joseph,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The differences between these two MCUs you find out from datasheets.&lt;/P&gt;&lt;P&gt;You can try it by this way.&lt;/P&gt;&lt;P&gt;Choose the closest BSP to your device (last page at &lt;EM&gt;MQX_BSP_Porting_Guide.pdf) &lt;/EM&gt;and clone it and modify it for your MCU.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="mqx.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49355i5D17E1965535A8AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="mqx.png" alt="mqx.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can start with&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;MQX_BSP_Porting_Example_User_Guide.pdf&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;M&lt;/EM&gt;&lt;EM&gt;QX_BSP_Porting_Guide.pdf&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;located in MQX folder C:\Freescale\Freescale_MQX_4_1\doc\mqx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;EM&gt;MQX_BSP_Cloning_Wizard_Getting_Started.pdf&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;located at C:\Freescale\Freescale_MQX_4_1\doc\tools&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating new BSP is very discussed topic at Community, you can find a lot of similar problems like yours.&lt;/P&gt;&lt;P&gt;You can look at similar thread here &lt;A href="https://community.nxp.com/message/415938"&gt;Re: Creating a New BSP&lt;/A&gt;&lt;/P&gt;&lt;P&gt;very useful thread could be &lt;A href="https://community.nxp.com/message/381409"&gt;Re: Port BSP or go bare metal with PE?&lt;/A&gt;&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>Tue, 05 May 2015 14:01:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/what-all-are-the-changes-to-be-made-while-porting-code-from-TWR/m-p/398563#M22046</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2015-05-05T14:01:43Z</dc:date>
    </item>
  </channel>
</rss>

