<?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: Is enabled security and disabling Mass Erase enough to protect Kinetis K63 based devices from unauthorized access? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-enabled-security-and-disabling-Mass-Erase-enough-to-protect/m-p/1073899#M57375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;And Attention: After disable mass erase,it will be hard to reprogram the chip.&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 08:12:27 GMT</pubDate>
    <dc:creator>nxf58904</dc:creator>
    <dc:date>2020-07-23T08:12:27Z</dc:date>
    <item>
      <title>Is enabled security and disabling Mass Erase enough to protect Kinetis K63 based devices from unauthorized access?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-enabled-security-and-disabling-Mass-Erase-enough-to-protect/m-p/1073897#M57373</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;We are developing a product using Kinetis K63. As the security is of paramount importance for the application, we&lt;BR /&gt;want to make sure that once the product is deployed in field it can not be accessed by anyone unauthorized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We came across an application note (AN4507) and understood that to secure a device we should set the FSEC[0:1] to 00 (or 01 or 11)&lt;BR /&gt;and to make sure that even mass erase does not grant unauthorized access, we should set FSEC[5:4] to 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Taking these into consideration the value for FSEC will become 0xB4. If we program 0xB4 value in the flash configuration&lt;BR /&gt;(byte at address 0x40C) we should be able to achive a robust security for our device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is our understanding here correct? If we are missing any other area of vulnerablity please bring that to our notice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, we did perform testing with the FRDM-K64 but to prevent accidental loss of device we have not disabled mass erase&lt;BR /&gt;making the FSEC value 0XBC. We saw that with this value we are unable to enter debug mode using MCUXpresso debug. But&lt;BR /&gt;we are concerned that from logs we see that the debugger is able to flash the board but as the image contains 0xBC as the value&lt;BR /&gt;for FSEC, debug mode is not enabled. Apart from that we see the text "Part is not secured" in the logs. Does that mean the device&lt;BR /&gt;is not secured (inspite of setting the FSEC[0:1] to 00?&lt;BR /&gt;Attaching logs for your reference (while debugging with image having 0xBC at 0x40C flash address)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Yash Bhatt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2020 05:18:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-enabled-security-and-disabling-Mass-Erase-enough-to-protect/m-p/1073897#M57373</guid>
      <dc:creator>yash_bhatt1</dc:creator>
      <dc:date>2020-07-22T05:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is enabled security and disabling Mass Erase enough to protect Kinetis K63 based devices from unauthorized access?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-enabled-security-and-disabling-Mass-Erase-enough-to-protect/m-p/1073898#M57374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 10pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&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;It is very helpful to launch a security .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Your operation is very suitable.&lt;/P&gt;&lt;P&gt;When you disable the mass erase , debugger will have no access to the flash,even read ,program,erase,and the code will be protect and the chip will under a strong protection .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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 08:02:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-enabled-security-and-disabling-Mass-Erase-enough-to-protect/m-p/1073898#M57374</guid>
      <dc:creator>nxf58904</dc:creator>
      <dc:date>2020-07-23T08:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is enabled security and disabling Mass Erase enough to protect Kinetis K63 based devices from unauthorized access?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-enabled-security-and-disabling-Mass-Erase-enough-to-protect/m-p/1073899#M57375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;And Attention: After disable mass erase,it will be hard to reprogram the chip.&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 08:12:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-enabled-security-and-disabling-Mass-Erase-enough-to-protect/m-p/1073899#M57375</guid>
      <dc:creator>nxf58904</dc:creator>
      <dc:date>2020-07-23T08:12:27Z</dc:date>
    </item>
  </channel>
</rss>

