<?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: MK12DX128xxx5 flash write problem in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK12DX128xxx5-flash-write-problem/m-p/720440#M44119</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;Have you tried the &lt;A href="https://mcuxpresso.nxp.com/en/select"&gt;MCUXpresso SDK software&lt;/A&gt; Flash driver for&amp;nbsp;MK12DX128xxx5 chip?&lt;/P&gt;&lt;P&gt;I would recommend customer try with MCUXpresso SDK software package for MK12DX128xxx5 chip.&lt;/P&gt;&lt;P&gt;Please check if that Flash driver demo also has the same issue about IAR compiler optimize setting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The flash driver difference between&amp;nbsp;MK10DX128xxx5 and&amp;nbsp; MK12DX128xxx5 is very tiny. The most Flash commands are same. While, I still recommend customer use MCUXpresso SDK flash driver for&amp;nbsp;MK12DX128xxx5&amp;nbsp; chip.&lt;/P&gt;&lt;P&gt;&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;Mike&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>Thu, 22 Mar 2018 02:03:06 GMT</pubDate>
    <dc:creator>Hui_Ma</dc:creator>
    <dc:date>2018-03-22T02:03:06Z</dc:date>
    <item>
      <title>MK12DX128xxx5 flash write problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK12DX128xxx5-flash-write-problem/m-p/720439#M44118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am working with MK12DX128xxx5 flash programming, I have no MK12DX128xxx5 flash driver in hand so I use the flash drive which works well in MK10DX128xxx5. The complier is IAR Embedded Workbench for ARM 7.40.2.8570. The C/C++ Compiler Optimizations setting is High (Size). If I set some function optimize=none then the flash write data function works well, but it cannot work correctly if I remove one or two optimize=none. I checked running status of write flash function, it can write correct 1 byte and return the error of flash read collision.&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Why the problem is related to the optimize setting?&lt;/LI&gt;&lt;LI&gt;The MK10DX128xxx5 flash driver can be used for MK12DX128xxx5?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Somebody can post MK12DX128xxx5 flash write code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 08:22:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK12DX128xxx5-flash-write-problem/m-p/720439#M44118</guid>
      <dc:creator>martinzhang</dc:creator>
      <dc:date>2018-03-21T08:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: MK12DX128xxx5 flash write problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK12DX128xxx5-flash-write-problem/m-p/720440#M44119</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;Have you tried the &lt;A href="https://mcuxpresso.nxp.com/en/select"&gt;MCUXpresso SDK software&lt;/A&gt; Flash driver for&amp;nbsp;MK12DX128xxx5 chip?&lt;/P&gt;&lt;P&gt;I would recommend customer try with MCUXpresso SDK software package for MK12DX128xxx5 chip.&lt;/P&gt;&lt;P&gt;Please check if that Flash driver demo also has the same issue about IAR compiler optimize setting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The flash driver difference between&amp;nbsp;MK10DX128xxx5 and&amp;nbsp; MK12DX128xxx5 is very tiny. The most Flash commands are same. While, I still recommend customer use MCUXpresso SDK flash driver for&amp;nbsp;MK12DX128xxx5&amp;nbsp; chip.&lt;/P&gt;&lt;P&gt;&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;Mike&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>Thu, 22 Mar 2018 02:03:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK12DX128xxx5-flash-write-problem/m-p/720440#M44119</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2018-03-22T02:03:06Z</dc:date>
    </item>
  </channel>
</rss>

