<?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中的主题 Re: Flash protection with IAR</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-protection-with-IAR/m-p/673321#M41371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Enrique Lopez,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If you modified the FSEC, you need to do the reset, then the debug interface will be secured.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Actually, you can modify the code lash address 0x40c, then download it to the flash, do the reset.&lt;/P&gt;&lt;P&gt;&amp;nbsp; When you use the JLINK programmer, you need to select the MKL26 allow security, otherwise, the flash configuration field won't be modified.&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/19626i1C6000D071CF661E/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&gt;Please try again.&lt;/P&gt;&lt;P&gt;If you still have question about it, please let me know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jun 2017 04:40:29 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2017-06-05T04:40:29Z</dc:date>
    <item>
      <title>Flash protection with IAR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-protection-with-IAR/m-p/673320#M41370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm using KL26; Someone tried to use flash protection with IAR?, I tried to do this by modifying the FSEC register from the .Hex file but I did not get it.&lt;/P&gt;&lt;P&gt;I use the j-link programmer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2017 14:54:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-protection-with-IAR/m-p/673320#M41370</guid>
      <dc:creator>enriquelopez</dc:creator>
      <dc:date>2017-06-02T14:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Flash protection with IAR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-protection-with-IAR/m-p/673321#M41371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Enrique Lopez,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If you modified the FSEC, you need to do the reset, then the debug interface will be secured.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Actually, you can modify the code lash address 0x40c, then download it to the flash, do the reset.&lt;/P&gt;&lt;P&gt;&amp;nbsp; When you use the JLINK programmer, you need to select the MKL26 allow security, otherwise, the flash configuration field won't be modified.&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/19626i1C6000D071CF661E/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&gt;Please try again.&lt;/P&gt;&lt;P&gt;If you still have question about it, please let me know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 04:40:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-protection-with-IAR/m-p/673321#M41371</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-06-05T04:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Flash protection with IAR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-protection-with-IAR/m-p/673322#M41372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It has not worked for me.&lt;/P&gt;&lt;P&gt;I am trying to modify the FSEC register from the .hex file but it has not worked.&lt;/P&gt;&lt;P&gt;I want to enable read and write protection flash loading the FSEC register with 0xCC.&lt;/P&gt;&lt;P&gt;How can I change the FSEC record from IAR software?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19697i6AFD3B672525BD51/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&amp;nbsp;Kerry&lt;SPAN style="background-color: #ffffff; color: #646464; font-size: 18.004px;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 16:57:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-protection-with-IAR/m-p/673322#M41372</guid>
      <dc:creator>enriquelopez</dc:creator>
      <dc:date>2017-06-05T16:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Flash protection with IAR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-protection-with-IAR/m-p/673323#M41373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Enrique Lopez,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you for your more details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IAR is special to modify the flash configuration field, you need to do some configuration in the options.&lt;/P&gt;&lt;P&gt;&amp;nbsp; After you modify the FOPT FSEC filed, do the IAR option configuraiton like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN style="font-size: 11.0pt;"&gt;Project-&amp;gt;options, click the below edit button.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&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/20122iF2983FBF6F50AB4F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20177i09AF2335F2E7FA82/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Enter :” &lt;SPAN style="font-size: 10.5pt;"&gt;--enable_config_write “ in Flash loader configuration windows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt;"&gt;Save the .board file as another .board, and choose that.board.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt;"&gt;Then try again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt;"&gt;Wish it helps you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2017 06:18:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-protection-with-IAR/m-p/673323#M41373</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-06-07T06:18:35Z</dc:date>
    </item>
  </channel>
</rss>

