<?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: Can't enable security on MKL17Z256VLH4. in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-t-enable-security-on-MKL17Z256VLH4/m-p/708663#M43480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Alice!&lt;/P&gt;&lt;P&gt;Thank you for a detailed reply, I think it will help other people.&lt;/P&gt;&lt;P&gt;I have no PEmicro debugger, it's only about $150, but my local shipping is 3 weeks(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I solved the problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought of generating a binary file and found this post:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/430001"&gt;How to convert .elf files to .Sxx or .Bin files&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grate thanks to&amp;nbsp;&lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="15013" data-username="ZhangJennie" href="https://community.nxp.com/people/ZhangJennie"&gt;ZhangJennie&lt;/A&gt; for his video!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;1) In "native" project properties-&amp;gt;C/C++ Build-&amp;gt;Settings-&amp;gt;Toolchains(tab) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; Enable flash image generation and apply.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="Flash.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27734iA7AF17113FD76593/image-size/large?v=v2&amp;amp;px=999" role="button" title="Flash.jpg" alt="Flash.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;2) In previous tab (Note! SDK different from video)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; Enable hex and Berkley(default for me) format, apply.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="General.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27748iBEA4FBEF4CCA9B36/image-size/large?v=v2&amp;amp;px=999" role="button" title="General.jpg" alt="General.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;3) Then simply Build or Debug.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; If debug, the alert will appear again but anyway .hex will be generated properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;So here is our .hex now.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled-3.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27823i796E60F32F958AD1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled-3.bmp" alt="Untitled-3.bmp" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;4) Open J-Flash lite utility:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Progs.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27891i72BB5D3FEFC912BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Progs.jpg" alt="Progs.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled-5.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27921i5308AEB70177E166/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled-5.jpg" alt="Untitled-5.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;4) Select our target device (Important, certainly - allow security)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled-7.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28005i6984E2ED30D2AA27/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled-7.jpg" alt="Untitled-7.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;5) Then again OK:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled-8.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28044i085CC46255738AFE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled-8.jpg" alt="Untitled-8.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;6) Next window - select our .hex file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled-9.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28077i34A27CC12FF32DE1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled-9.jpg" alt="Untitled-9.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;7) Program device.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled-10.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28118i488F2E43C0943BAB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled-10.jpg" alt="Untitled-10.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;So now FTFA_FSEC regiser replies:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled-11.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28045iF03312010BD8F002/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled-11.jpg" alt="Untitled-11.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt; FTFA_FSEC [1:0] - 00 first secured optional from (b00, b01, b11) - as ordered.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I repeated flash program and got the prove:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled-12.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28167iCFA7138673963DE2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled-12.jpg" alt="Untitled-12.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I Think now all is really OK.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;PS: After Mass Erase and reprogram previously secure device, unit was hanging.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Just reboot in this case, firmware is actual and security enabled. Terminal replies - true.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Aug 2017 18:53:49 GMT</pubDate>
    <dc:creator>nikolaykuzev</dc:creator>
    <dc:date>2017-08-30T18:53:49Z</dc:date>
    <item>
      <title>Can't enable security on MKL17Z256VLH4.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-t-enable-security-on-MKL17Z256VLH4/m-p/708661#M43478</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;I am using Kinetis Design Studio, with KSDK_1.3.0, debugger - Segger Base. Project uses only basic HAL - i.e. register references only, no Processor Expert and no other drivers. Finally, when firmware was ready, I wanted to secure it, but get&lt;/P&gt;&lt;P&gt;in a trouble.&lt;/P&gt;&lt;P&gt;So I modified startup_MKL17Z4.S flash configuration:&lt;span class="lia-inline-image-display-wrapper" image-alt="s-file.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27205i2C7F2A0F319FE404/image-size/large?v=v2&amp;amp;px=999" role="button" title="s-file.jpg" alt="s-file.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Ending was default: FE - 0xFE (Backdoor key access disabled, Mass erase is enabled, NXP factory access granted, MCU security status is unsecure). So just want to set SEC b00 - MCU security status is secure.&lt;/P&gt;&lt;P&gt;So got this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled-1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27325i0F9F1663036C1263/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled-1.jpg" alt="Untitled-1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I loocked over here and found about two similar posts, and answer seems to be clear.&lt;/P&gt;&lt;P&gt;We are developing code for about a year, and through all this time I used to upload firmware through debug mode,&lt;/P&gt;&lt;P&gt;so simply catched my own tail: I wanted to lock MCU and start debug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I opened Flash from File and ....confused, this is the same as debug template, and certainly, result is the same.&lt;/P&gt;&lt;P&gt;I tried different combinations of FSLACC-SEC then: in some combination(don't remember exact) alert disappeared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I added some code to check FTFA_FSEC register, just print it to PC terminal over RS-232 (wires connection available on our&amp;nbsp;device housing), certainly, no security state again. FTFA_FSEC [1:0] is always b10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new at Kinetis MCU-s, so really sorry... please explain me step by step how to upload secure firmware.&lt;/P&gt;&lt;P&gt;What is exactly to be done: .... crate new target.... etc.&lt;span class="lia-inline-image-display-wrapper" image-alt="Flash.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27243iF42C82ED5F2BEB6D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Flash.jpg" alt="Flash.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 16:44:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-t-enable-security-on-MKL17Z256VLH4/m-p/708661#M43478</guid>
      <dc:creator>nikolaykuzev</dc:creator>
      <dc:date>2017-08-28T16:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can't enable security on MKL17Z256VLH4.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-t-enable-security-on-MKL17Z256VLH4/m-p/708662#M43479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nikolay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you use the P&amp;amp;E debug , I test on KDSv3.0 with P&amp;amp;E debug , it can flash the code with enable security .&lt;/P&gt;&lt;P&gt;The steps as below :&lt;/P&gt;&lt;P&gt;- Create a new project on KDS based on your chip, for example named Project1, build.&lt;/P&gt;&lt;P&gt;-Click the Flash button&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/27209iBFFB7941F18AE57C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;, in the " C/C++ Application " field , choose the .elf file or your original project (not the Project1) , then click "Flash" button.&lt;/P&gt;&lt;P&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/27247iB22757ED7DB84182/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- Click "No" when it shows up the below at two times :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27458i09797DA68D0716A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- Then if it shows up the below , please choose the close icon :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27529i5AA1B02E90E9204A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Waiting for the debugger crash, re-power your board, it can run well with security, you can use the UART sending&lt;/P&gt;&lt;P&gt;FTFA_FSEC data to teminal&amp;nbsp; .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_8.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27682i0D2C523AD79B9AAB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_8.png" alt="pastedImage_8.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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, 30 Aug 2017 08:04:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-t-enable-security-on-MKL17Z256VLH4/m-p/708662#M43479</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-08-30T08:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can't enable security on MKL17Z256VLH4.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-t-enable-security-on-MKL17Z256VLH4/m-p/708663#M43480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Alice!&lt;/P&gt;&lt;P&gt;Thank you for a detailed reply, I think it will help other people.&lt;/P&gt;&lt;P&gt;I have no PEmicro debugger, it's only about $150, but my local shipping is 3 weeks(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I solved the problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought of generating a binary file and found this post:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/430001"&gt;How to convert .elf files to .Sxx or .Bin files&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grate thanks to&amp;nbsp;&lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="15013" data-username="ZhangJennie" href="https://community.nxp.com/people/ZhangJennie"&gt;ZhangJennie&lt;/A&gt; for his video!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;1) In "native" project properties-&amp;gt;C/C++ Build-&amp;gt;Settings-&amp;gt;Toolchains(tab) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; Enable flash image generation and apply.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="Flash.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27734iA7AF17113FD76593/image-size/large?v=v2&amp;amp;px=999" role="button" title="Flash.jpg" alt="Flash.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;2) In previous tab (Note! SDK different from video)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; Enable hex and Berkley(default for me) format, apply.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="General.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27748iBEA4FBEF4CCA9B36/image-size/large?v=v2&amp;amp;px=999" role="button" title="General.jpg" alt="General.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;3) Then simply Build or Debug.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; If debug, the alert will appear again but anyway .hex will be generated properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;So here is our .hex now.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled-3.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27823i796E60F32F958AD1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled-3.bmp" alt="Untitled-3.bmp" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;4) Open J-Flash lite utility:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Progs.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27891i72BB5D3FEFC912BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Progs.jpg" alt="Progs.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled-5.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27921i5308AEB70177E166/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled-5.jpg" alt="Untitled-5.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;4) Select our target device (Important, certainly - allow security)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled-7.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28005i6984E2ED30D2AA27/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled-7.jpg" alt="Untitled-7.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;5) Then again OK:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled-8.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28044i085CC46255738AFE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled-8.jpg" alt="Untitled-8.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;6) Next window - select our .hex file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled-9.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28077i34A27CC12FF32DE1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled-9.jpg" alt="Untitled-9.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;7) Program device.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled-10.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28118i488F2E43C0943BAB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled-10.jpg" alt="Untitled-10.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;So now FTFA_FSEC regiser replies:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled-11.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28045iF03312010BD8F002/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled-11.jpg" alt="Untitled-11.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt; FTFA_FSEC [1:0] - 00 first secured optional from (b00, b01, b11) - as ordered.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I repeated flash program and got the prove:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled-12.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28167iCFA7138673963DE2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled-12.jpg" alt="Untitled-12.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I Think now all is really OK.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;PS: After Mass Erase and reprogram previously secure device, unit was hanging.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Just reboot in this case, firmware is actual and security enabled. Terminal replies - true.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 18:53:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-t-enable-security-on-MKL17Z256VLH4/m-p/708663#M43480</guid>
      <dc:creator>nikolaykuzev</dc:creator>
      <dc:date>2017-08-30T18:53:49Z</dc:date>
    </item>
  </channel>
</rss>

