<?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: Code Read Protection (CRP) on MK64F512x issue in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Code-Read-Protection-CRP-on-MK64F512x-issue/m-p/1272911#M60464</link>
    <description>&lt;P&gt;Hi&amp;nbsp;chhsu0229,&lt;/P&gt;
&lt;P&gt;Sorry for the delay!&lt;BR /&gt;You can refer the discussion in: &lt;A href="https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-is-secured-but-flash-config-field-is-not/m-p/725024" target="_self"&gt;flash is secured but flash config field is not&lt;/A&gt;&lt;BR /&gt;FSEC[SEC] is able to achieve this function.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FTFE_FSEC.jpg" style="width: 793px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144061iF72D14DC3A5B5171/image-size/large?v=v2&amp;amp;px=999" role="button" title="FTFE_FSEC.jpg" alt="FTFE_FSEC.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you are using MCUXpresso SDK, then you can modify the configuration in&amp;nbsp;&lt;SPAN&gt;FlashConfig of startup_mk64f12.c.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FlashConfig.jpg" style="width: 947px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144062i4AA8B4E1B6B12027/image-size/large?v=v2&amp;amp;px=999" role="button" title="FlashConfig.jpg" alt="FlashConfig.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&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;/P&gt;</description>
    <pubDate>Thu, 06 May 2021 09:23:09 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2021-05-06T09:23:09Z</dc:date>
    <item>
      <title>Code Read Protection (CRP) on MK64F512x issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Code-Read-Protection-CRP-on-MK64F512x-issue/m-p/1270131#M60423</link>
      <description>&lt;P&gt;how can I work Code Read Protection (CRD) on MK64f512x.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am work on MK64F512x Code Read Protection (CPR) as CRP_1 code protection. It should be not accessible read code by JTAG after setting the value 0x12345678 (CRP1 lever ) on flash addreee 0x2FC.&lt;/P&gt;&lt;P&gt;However, the result is not true and&amp;nbsp;&lt;SPAN&gt;it sill is accessible to be read with JTAG..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added the following code in main.c on my projector&lt;/P&gt;&lt;P&gt;The JTAG still can read flash of MK64F512x data.&lt;/P&gt;&lt;P&gt;#include &amp;lt;NXP/crp.h&amp;gt;&lt;BR /&gt;// Variable to store CRP value in. Will be placed automatically&lt;BR /&gt;// by the linker when "Enable Code Read Protect" selected.&lt;BR /&gt;// See crp.h header for more information&lt;/P&gt;&lt;P&gt;__CRP const uint32_t CRP_WORD = CRP_CRP1;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I also read the 0x2FC address and value is 0x12345678. This value is the same as #define CRP_CRP1 0x12345678&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 708px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/143607i636DFEA2C4D65074/image-dimensions/708x126?v=v2" width="708" height="126" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 01:53:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Code-Read-Protection-CRP-on-MK64F512x-issue/m-p/1270131#M60423</guid>
      <dc:creator>chhsu0229</dc:creator>
      <dc:date>2021-04-30T01:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Code Read Protection (CRP) on MK64F512x issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Code-Read-Protection-CRP-on-MK64F512x-issue/m-p/1272911#M60464</link>
      <description>&lt;P&gt;Hi&amp;nbsp;chhsu0229,&lt;/P&gt;
&lt;P&gt;Sorry for the delay!&lt;BR /&gt;You can refer the discussion in: &lt;A href="https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-is-secured-but-flash-config-field-is-not/m-p/725024" target="_self"&gt;flash is secured but flash config field is not&lt;/A&gt;&lt;BR /&gt;FSEC[SEC] is able to achieve this function.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FTFE_FSEC.jpg" style="width: 793px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144061iF72D14DC3A5B5171/image-size/large?v=v2&amp;amp;px=999" role="button" title="FTFE_FSEC.jpg" alt="FTFE_FSEC.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you are using MCUXpresso SDK, then you can modify the configuration in&amp;nbsp;&lt;SPAN&gt;FlashConfig of startup_mk64f12.c.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FlashConfig.jpg" style="width: 947px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144062i4AA8B4E1B6B12027/image-size/large?v=v2&amp;amp;px=999" role="button" title="FlashConfig.jpg" alt="FlashConfig.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&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;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 09:23:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Code-Read-Protection-CRP-on-MK64F512x-issue/m-p/1272911#M60464</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2021-05-06T09:23:09Z</dc:date>
    </item>
  </channel>
</rss>

