<?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: How do you write data to internal P-Flash for MK22F51212?</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-you-write-data-to-internal-P-Flash-for-MK22F51212/m-p/697816#M42902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here I attached the relevant flash files that I made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Brendan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Sep 2017 13:11:14 GMT</pubDate>
    <dc:creator>brendanmerna</dc:creator>
    <dc:date>2017-09-11T13:11:14Z</dc:date>
    <item>
      <title>How do you write data to internal P-Flash for MK22F51212?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-you-write-data-to-internal-P-Flash-for-MK22F51212/m-p/697813#M42899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to write a value to the flash as a check bit for the bootloader. So the bootloader can determine whether to stay in bootloader to update the program or jump to the existing application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 20:32:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-you-write-data-to-internal-P-Flash-for-MK22F51212/m-p/697813#M42899</guid>
      <dc:creator>brendanmerna</dc:creator>
      <dc:date>2017-09-07T20:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do you write data to internal P-Flash for MK22F51212?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-you-write-data-to-internal-P-Flash-for-MK22F51212/m-p/697814#M42900</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;If using runtime routine to program data at Flash address, customer could refer TFS Flash Driver Software for Kinetis® and ColdFire+ Microcontrollers(REV 1.03) provided [demo_normal].&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fdownloads%2Fen%2Fdevice-drivers%2FC90TFS_FLASH_DRIVER.exe" rel="nofollow" target="_blank"&gt;https://www.nxp.com/downloads/en/device-drivers/C90TFS_FLASH_DRIVER.exe&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer could refer [MK21FN1M0xxx10] chip related code as an example.&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 05:50:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-you-write-data-to-internal-P-Flash-for-MK22F51212/m-p/697814#M42900</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-09-11T05:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do you write data to internal P-Flash for MK22F51212?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-you-write-data-to-internal-P-Flash-for-MK22F51212/m-p/697815#M42901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Ma Hui,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I implemented the driver examples in the SDK, but its causing an error return when I try to go erase the flash. The result I get back is&amp;nbsp;kStatus_FLASH_AccessError. Is there another step I need to do to unlock something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Brendan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 13:09:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-you-write-data-to-internal-P-Flash-for-MK22F51212/m-p/697815#M42901</guid>
      <dc:creator>brendanmerna</dc:creator>
      <dc:date>2017-09-11T13:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do you write data to internal P-Flash for MK22F51212?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-you-write-data-to-internal-P-Flash-for-MK22F51212/m-p/697816#M42902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here I attached the relevant flash files that I made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Brendan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 13:11:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-you-write-data-to-internal-P-Flash-for-MK22F51212/m-p/697816#M42902</guid>
      <dc:creator>brendanmerna</dc:creator>
      <dc:date>2017-09-11T13:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do you write data to internal P-Flash for MK22F51212?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-you-write-data-to-internal-P-Flash-for-MK22F51212/m-p/697817#M42903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brendan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the later reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please make sure the erased sector is not in Flash protection range.&lt;/P&gt;&lt;P&gt;Could you provide the FTFE_FPROTn registers value for double check?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 08:06:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-you-write-data-to-internal-P-Flash-for-MK22F51212/m-p/697817#M42903</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-09-15T08:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do you write data to internal P-Flash for MK22F51212?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-you-write-data-to-internal-P-Flash-for-MK22F51212/m-p/697818#M42904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ma Hui,&lt;BR /&gt;&lt;BR /&gt;Do you mean the FTFA_FPROTn? Using the EmbSys Register tab in kinetis those registers are all 0xFF. Seems like that would mean nothing is protected.&lt;BR /&gt;&lt;BR /&gt;-Brendan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 13:56:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-you-write-data-to-internal-P-Flash-for-MK22F51212/m-p/697818#M42904</guid>
      <dc:creator>brendanmerna</dc:creator>
      <dc:date>2017-09-15T13:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do you write data to internal P-Flash for MK22F51212?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-you-write-data-to-internal-P-Flash-for-MK22F51212/m-p/697819#M42905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brendan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check [Erase Flash Sector Command] info with K22 reference manual:&lt;BR /&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/29271iC190829D30CA055B/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;The ACCERR with below condition, please check if the provided Flash address is no phrase aligned (flash_address[2:0] = 000).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29297i23851E878F4C82C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And could you check with MCUXpresso SDK for TWR-K22F120M [flash] demo, which located with below path:&lt;/P&gt;&lt;P&gt;..\SDK_2.2_TWR-K22F120M\boards\twrk22f120m\driver_examples\flash\pflash\iar&lt;/P&gt;&lt;P&gt;If that demo also with same issue on your site? Thanks.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 01:47:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-you-write-data-to-internal-P-Flash-for-MK22F51212/m-p/697819#M42905</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-09-18T01:47:49Z</dc:date>
    </item>
  </channel>
</rss>

