<?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: MK21DN512VLK5 - FLASH_Program() doesn't work, but only on some devices in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK21DN512VLK5-FLASH-Program-doesn-t-work-but-only-on-some/m-p/1491356#M63582</link>
    <description>&lt;P&gt;Please check if there is no any errata that affects the mask set that you are using&lt;/P&gt;
&lt;P&gt;also you can try to reprogram the parts, what happed, are you able to reprogram the failed part?&lt;/P&gt;
&lt;P&gt;All the failed part are from the same batch, those have the same body mark&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jul 2022 02:13:25 GMT</pubDate>
    <dc:creator>vicentegomez</dc:creator>
    <dc:date>2022-07-19T02:13:25Z</dc:date>
    <item>
      <title>MK21DN512VLK5 - FLASH_Program() doesn't work, but only on some devices</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK21DN512VLK5-FLASH-Program-doesn-t-work-but-only-on-some/m-p/1487633#M63557</link>
      <description>&lt;P&gt;We've got a project that was originally based on the&amp;nbsp;MK22FN1M0AVLK12, but that we've backed out to the MK21DN512VLK5 because that was the only socket-compatible device we could find in inventory anywhere. The MCUXpresso toolkit only has an SDK for the&amp;nbsp;MK21DN512AVLK5 (not the&amp;nbsp;MK21DN512VLK5), so we rebuilt the project with that SDK, and after some debugging got it running properly.&lt;/P&gt;&lt;P&gt;On our first production build, we've discovered that about 10% of the units are unable to write the flash memory under program control (we can load the program to flash just fine via JTAG). When we step through the code on a failing unit, we see the calls to&amp;nbsp; FLASH_Erase() and FLASH_Program() both returning&amp;nbsp;kStatus_FLASH_Success, but examining the written sector (either via the emulator or program read) shows all FF's - no write occurred.&lt;/P&gt;&lt;P&gt;Note that on 90% of the units, we are able to reliably and repeatably write the flash - we've never observed a failure.&lt;/P&gt;&lt;P&gt;A review of the data sheet did not reveal any sector-locking features, or at least if they're in there I did not see them. Is there any configuration of the device that can inhibit write?&lt;/P&gt;&lt;P&gt;BTW - We checked the power supply - solid, clean 3.3V with plenty of bypass caps close to the device.&lt;/P&gt;&lt;P&gt;Any suggestions of where to look next would be welcome!&lt;/P&gt;&lt;P&gt;-lr&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 19:45:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK21DN512VLK5-FLASH-Program-doesn-t-work-but-only-on-some/m-p/1487633#M63557</guid>
      <dc:creator>larryr</dc:creator>
      <dc:date>2022-07-11T19:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: MK21DN512VLK5 - FLASH_Program() doesn't work, but only on some devices</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK21DN512VLK5-FLASH-Program-doesn-t-work-but-only-on-some/m-p/1491356#M63582</link>
      <description>&lt;P&gt;Please check if there is no any errata that affects the mask set that you are using&lt;/P&gt;
&lt;P&gt;also you can try to reprogram the parts, what happed, are you able to reprogram the failed part?&lt;/P&gt;
&lt;P&gt;All the failed part are from the same batch, those have the same body mark&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 02:13:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK21DN512VLK5-FLASH-Program-doesn-t-work-but-only-on-some/m-p/1491356#M63582</guid>
      <dc:creator>vicentegomez</dc:creator>
      <dc:date>2022-07-19T02:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: MK21DN512VLK5 - FLASH_Program() doesn't work, but only on some devices</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK21DN512VLK5-FLASH-Program-doesn-t-work-but-only-on-some/m-p/1496453#M63669</link>
      <description>&lt;P&gt;I checked errata and there do not appear to be any relevant issues. I can reliably reflash the part via MCUXpresso and the JTAG port - it is only writing by the program that fails.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Parts that fail and parts that work have the same mask level and date code. Parts that fail do so consistently - I've never seen the board I'm testing on working properly, though I have not done extensive testing on the ones that do work to see if they occasionally fail. Feedback from the fielded units suggest that they are consistently working reliably.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 14:17:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK21DN512VLK5-FLASH-Program-doesn-t-work-but-only-on-some/m-p/1496453#M63669</guid>
      <dc:creator>larryr</dc:creator>
      <dc:date>2022-07-27T14:17:28Z</dc:date>
    </item>
  </channel>
</rss>

