<?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のトピックKinetis k64 Security And protection</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-k64-Security-And-protection/m-p/758222#M46199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to operate the security and protection capabilities in K64 following AN4507 document&lt;BR /&gt;Using the 16 bytes defined in startup_MK64F12.S file FlashConfig section.&lt;BR /&gt;It seems that the FSEC register, SEC bits value returns to 10b (not active)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of my configuration:&lt;/P&gt;&lt;P&gt;/* Flash Configuration */&lt;BR /&gt; .section .FlashConfig, "a"&lt;BR /&gt; .long 0x01020304&lt;BR /&gt; .long 0x05060708&lt;BR /&gt; .long 0xFFFFFFFF&lt;BR /&gt; .long 0xFFFFFFBF&lt;BR /&gt; &lt;BR /&gt;After flashing the actual result is FSEC = 0xBE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the AN it is written "If the flash memory module is unsecured using backdoor key access, the SEC field is forced to 10b"... is it related to my problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Is it possible to get a use case example of security, back door key and mass erase disable configurations?&lt;/P&gt;&lt;P&gt;2. I am using the kboot, so in fact the application image actually configured as follow (MK64FN1M0xxx12_flash.ld) :&lt;/P&gt;&lt;P&gt;/* Specify the memory areas */&lt;BR /&gt;MEMORY&lt;BR /&gt;{&lt;BR /&gt; m_interrupts (RX) : ORIGIN = 0x0000A000, LENGTH = 0x00000400&lt;BR /&gt; m_flash_config (RX) : ORIGIN = 0x0000A400, LENGTH = 0x00000010&lt;BR /&gt; m_text (RX) : ORIGIN = 0x0000A410, LENGTH = 0x000FFBF0&lt;BR /&gt; m_data (RW) : ORIGIN = 0x1FFF0000, LENGTH = 0x00010000&lt;BR /&gt; m_data_2 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00030000&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Apparently the 'actual' file startup_MK64F12.S is in the kboot sources...&lt;BR /&gt;Does is matter&amp;nbsp;if the security is configured from the kboot image?&lt;BR /&gt;Would the security and protection function&amp;nbsp;the same even if for example blhost.exe application stop the uc&amp;nbsp;at the boot?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;&lt;SPAN&gt;Is it possible to get a use case example of&amp;nbsp;protection registers&amp;nbsp;FPROT0–3 ? was it suitable&amp;nbsp;for&amp;nbsp;'read only' section definitions in the flash (for example to store 'factory settings' data) ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you very much!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Dotan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Dec 2017 08:03:01 GMT</pubDate>
    <dc:creator>dotangoldberg</dc:creator>
    <dc:date>2017-12-04T08:03:01Z</dc:date>
    <item>
      <title>Kinetis k64 Security And protection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-k64-Security-And-protection/m-p/758222#M46199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to operate the security and protection capabilities in K64 following AN4507 document&lt;BR /&gt;Using the 16 bytes defined in startup_MK64F12.S file FlashConfig section.&lt;BR /&gt;It seems that the FSEC register, SEC bits value returns to 10b (not active)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of my configuration:&lt;/P&gt;&lt;P&gt;/* Flash Configuration */&lt;BR /&gt; .section .FlashConfig, "a"&lt;BR /&gt; .long 0x01020304&lt;BR /&gt; .long 0x05060708&lt;BR /&gt; .long 0xFFFFFFFF&lt;BR /&gt; .long 0xFFFFFFBF&lt;BR /&gt; &lt;BR /&gt;After flashing the actual result is FSEC = 0xBE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the AN it is written "If the flash memory module is unsecured using backdoor key access, the SEC field is forced to 10b"... is it related to my problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Is it possible to get a use case example of security, back door key and mass erase disable configurations?&lt;/P&gt;&lt;P&gt;2. I am using the kboot, so in fact the application image actually configured as follow (MK64FN1M0xxx12_flash.ld) :&lt;/P&gt;&lt;P&gt;/* Specify the memory areas */&lt;BR /&gt;MEMORY&lt;BR /&gt;{&lt;BR /&gt; m_interrupts (RX) : ORIGIN = 0x0000A000, LENGTH = 0x00000400&lt;BR /&gt; m_flash_config (RX) : ORIGIN = 0x0000A400, LENGTH = 0x00000010&lt;BR /&gt; m_text (RX) : ORIGIN = 0x0000A410, LENGTH = 0x000FFBF0&lt;BR /&gt; m_data (RW) : ORIGIN = 0x1FFF0000, LENGTH = 0x00010000&lt;BR /&gt; m_data_2 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00030000&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Apparently the 'actual' file startup_MK64F12.S is in the kboot sources...&lt;BR /&gt;Does is matter&amp;nbsp;if the security is configured from the kboot image?&lt;BR /&gt;Would the security and protection function&amp;nbsp;the same even if for example blhost.exe application stop the uc&amp;nbsp;at the boot?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;&lt;SPAN&gt;Is it possible to get a use case example of&amp;nbsp;protection registers&amp;nbsp;FPROT0–3 ? was it suitable&amp;nbsp;for&amp;nbsp;'read only' section definitions in the flash (for example to store 'factory settings' data) ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you very much!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Dotan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 08:03:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-k64-Security-And-protection/m-p/758222#M46199</guid>
      <dc:creator>dotangoldberg</dc:creator>
      <dc:date>2017-12-04T08:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis k64 Security And protection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-k64-Security-And-protection/m-p/758223#M46200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dotan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using KBOOT it is &lt;STRONG&gt;its&lt;/STRONG&gt; Flash Configuration that controls the security and flash protection - any additional settings (eg. at 0xa400) are useless. They are probably there you to satisfy the code which forces them into the object file for build compatibility reasons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can remove them or leave them as dummy but either way they serve no real purpose and you will need to change them in KBOOT and rebuild and load that instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kinetis: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;BR /&gt;Kinetis K64:&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FFRDM-K64F.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/FRDM-K64F.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FTWR-K64F120M.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/TWR-K64F120M.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FTEENSY_3.5.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/TEENSY_3.5.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FHexiwear-K64F.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/Hexiwear-K64F.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Professional Kinetis support, one-on-one training and complete fast-track project solutions: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fsupport.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/support.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 22:20:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-k64-Security-And-protection/m-p/758223#M46200</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2017-12-04T22:20:54Z</dc:date>
    </item>
  </channel>
</rss>

