<?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のトピックHelp with MK22DX256</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-MK22DX256/m-p/269896#M9072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a similar problem to &lt;A _jive_internal="true" href="https://community.nxp.com/message/354370#354370"&gt;Flash driver C90TFS Partition MK10FX512VLQ12&lt;/A&gt;.&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; I'm using a MK22DX256.&amp;nbsp; I've looked at the example for the MK21DX128xxx5 and have trouble with it as well.&amp;nbsp; The normal flash demo checks the DFlash IFR for a value before setting up the partition.&amp;nbsp; For my MCU the value does not equal 0xFFFF (I get 0xF0FF) so it skips the partitioning.&amp;nbsp; If I remove the check I get an ACCERR on the partition command.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something that needs to occur before setting up the partition?&amp;nbsp; Everything up to that command works fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Oct 2013 15:29:33 GMT</pubDate>
    <dc:creator>Toe</dc:creator>
    <dc:date>2013-10-07T15:29:33Z</dc:date>
    <item>
      <title>Help with MK22DX256</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-MK22DX256/m-p/269896#M9072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a similar problem to &lt;A _jive_internal="true" href="https://community.nxp.com/message/354370#354370"&gt;Flash driver C90TFS Partition MK10FX512VLQ12&lt;/A&gt;.&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; I'm using a MK22DX256.&amp;nbsp; I've looked at the example for the MK21DX128xxx5 and have trouble with it as well.&amp;nbsp; The normal flash demo checks the DFlash IFR for a value before setting up the partition.&amp;nbsp; For my MCU the value does not equal 0xFFFF (I get 0xF0FF) so it skips the partitioning.&amp;nbsp; If I remove the check I get an ACCERR on the partition command.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something that needs to occur before setting up the partition?&amp;nbsp; Everything up to that command works fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 15:29:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-MK22DX256/m-p/269896#M9072</guid>
      <dc:creator>Toe</dc:creator>
      <dc:date>2013-10-07T15:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help with MK22DX256</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-MK22DX256/m-p/269897#M9073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should do a "Erase Whole Device" from Flash Programmer in CW. (Not sure what IDE are you using). to get the IFR area also erased.&lt;/P&gt;&lt;P&gt;Other option could be to use the J-Link command line to full erase the device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that doesn't work for you, you can also set the right partion value in advanced programming options in Debugger Settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="advanced.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40955i7D5EAB552A7606B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="advanced.jpg" alt="advanced.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Keil uvision + ulink, I think that IFR is not erased. You could run a new project for your device, with an asm file .s with a code like this (that code is for K70, check the IFR location for your device) , to set the partition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;nDATA0 EQU 0x21&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nDATA1 EQU 0x05&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA0 EQU nDATA0:AND:0x3F&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA1 EQU nDATA1:AND:0x0F&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AREA |.ARM.__AT_0x13FFFFF8|, CODE, READONLY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DCB 0xFF, 0xFF, DATA0, DATA1, 0xFF, 0xFF, 0xFF, 0xFF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 12:35:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-MK22DX256/m-p/269897#M9073</guid>
      <dc:creator>LuisCasado</dc:creator>
      <dc:date>2013-10-09T12:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help with MK22DX256</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-MK22DX256/m-p/269898#M9074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Luis, thanks for replying.&amp;nbsp; Looks like your suggestion helped me out.&amp;nbsp; I am using CW 10.5.&amp;nbsp; I tried to use the "Flash Programmer" button initially to do the erase and ran into some protection errors.&amp;nbsp; That caused me to create a task for the project that I knew wasn't enabling any protection and would execute a mass erase.&amp;nbsp; This fixed the problem I was seeing and the C90TFS demo ran as I expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 15:48:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-with-MK22DX256/m-p/269898#M9074</guid>
      <dc:creator>Toe</dc:creator>
      <dc:date>2013-10-09T15:48:13Z</dc:date>
    </item>
  </channel>
</rss>

