<?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: Internal flash memory security in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Internal-flash-memory-security/m-p/1063314#M57144</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This means when flash is secured, your firmware, your code running in the chip can still read flash erase program, internal.Not programmer .If you want to operate flash, you need a mass erase first,or if you enable backdoor key ,you can use a backdoor key to make flash unsecure.Or if you disable mass erase .Your debugger is disable,you can not launch a mass erase,but if you make a function that can get the command to change the 0x40C via a uart or a spi ,and so. That is possible to unsecure the flash.&lt;/P&gt;&lt;P&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/116644i880AC3D0744EF39C/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;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 10pt;"&gt;Jianyu:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; margin: 2pt 0cm;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 12pt;"&gt;Have a great day,&lt;BR /&gt;TIC&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; margin: 2pt 0cm;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 12pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; margin: 2pt 0cm;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 12pt;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; margin: 2pt 0cm;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 12pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; margin: 2pt 0cm;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 12pt;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jul 2020 03:25:08 GMT</pubDate>
    <dc:creator>nxf58904</dc:creator>
    <dc:date>2020-07-23T03:25:08Z</dc:date>
    <item>
      <title>Internal flash memory security</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Internal-flash-memory-security/m-p/1063313#M57143</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 using Kinetis k64 and configuring it's internal flash memory to be secured.&lt;/P&gt;&lt;P&gt;In NXP's memory security application notes&amp;nbsp;AN4507.pdf&amp;nbsp; its written that "This means that firmware residing in the flash that enables security can still modify the flash because read, erase, and program operations to the flash itself are not changed"&lt;/P&gt;&lt;P&gt;However, in the SDK 2.7 flash operations example the erase and program methods are called only of the memory is not secured&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;if (kFTFx_SecurityStateNotSecure == securityStatus)&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;When removing this restriction&amp;nbsp;the operations seems to works OK&lt;/P&gt;&lt;P&gt;What is the reason for this&amp;nbsp;restriction?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Dotan&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jul 2020 15:18:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Internal-flash-memory-security/m-p/1063313#M57143</guid>
      <dc:creator>dotangoldberg</dc:creator>
      <dc:date>2020-07-19T15:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Internal flash memory security</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Internal-flash-memory-security/m-p/1063314#M57144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This means when flash is secured, your firmware, your code running in the chip can still read flash erase program, internal.Not programmer .If you want to operate flash, you need a mass erase first,or if you enable backdoor key ,you can use a backdoor key to make flash unsecure.Or if you disable mass erase .Your debugger is disable,you can not launch a mass erase,but if you make a function that can get the command to change the 0x40C via a uart or a spi ,and so. That is possible to unsecure the flash.&lt;/P&gt;&lt;P&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/116644i880AC3D0744EF39C/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;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 10pt;"&gt;Jianyu:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; margin: 2pt 0cm;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 12pt;"&gt;Have a great day,&lt;BR /&gt;TIC&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; margin: 2pt 0cm;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 12pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; margin: 2pt 0cm;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 12pt;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; margin: 2pt 0cm;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 12pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; margin: 2pt 0cm;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 12pt;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2020 03:25:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Internal-flash-memory-security/m-p/1063314#M57144</guid>
      <dc:creator>nxf58904</dc:creator>
      <dc:date>2020-07-23T03:25:08Z</dc:date>
    </item>
  </channel>
</rss>

