<?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: How do you flash a chip with flash security enabled in your image? in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379517#M2012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Carlos!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using a FRDM-KL46Z and FRDM-K20D50M and enabling the security flash option on the "Component Inspector - CPU". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I download the program with Flash File To Target choosing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* The correct connection&lt;/P&gt;&lt;P&gt;* Flash configuration file: KL46Z256M4.xml&lt;/P&gt;&lt;P&gt;* The .elf of the program on file to flash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clicking on "Erase and Program" the program downloads to the board and runs well after pressing the reset button... but when I try the attach option in debug mode, it allows me to debug as if the security flash option is disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4507.pdf" target="_blank"&gt;document&lt;/A&gt; "Using the Kinetis Security and Flash Protection Features" at FSEC field description says when "FSEC[SEC] = 01" the "MCU security status is secure" then the debug mode must be disabled, but I still can get access the debug mode, Do you know why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="FSEC_K20_Debug.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51459iB62C3329AD0E6AF2/image-size/large?v=v2&amp;amp;px=999" role="button" title="FSEC_K20_Debug.png" alt="FSEC_K20_Debug.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Mar 2015 02:31:27 GMT</pubDate>
    <dc:creator>frdmcharly</dc:creator>
    <dc:date>2015-03-17T02:31:27Z</dc:date>
    <item>
      <title>How do you flash a chip with flash security enabled in your image?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379511#M2006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I turned on flash security in security settings of the cpu bean.&amp;nbsp; Now when I try to flash or debug I get the following message:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Initializing.&lt;/P&gt;&lt;P&gt;Device is Secure.&lt;/P&gt;&lt;P&gt;Device is secured. Erasing ...&lt;/P&gt;&lt;P&gt;Target has been RESET and is active.&lt;/P&gt;&lt;P&gt;Disconnected from "127.0.0.1" via 127.0.0.1&lt;/P&gt;&lt;P&gt;Terminating Gracefully...&lt;/P&gt;&lt;P&gt;Target Disconnected.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It appears to be doing a mass erase and then disconnecting.&amp;nbsp; No code appears to run, tested by setting an output pin at the beginning of main and it never gets set.&amp;nbsp; When I recompile the code without the flash security bit, everything works, code runs as expected.&amp;nbsp; Is there a way to set flash security and flash a chip with that setting?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a better way to secure the firmware image?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 21:17:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379511#M2006</guid>
      <dc:creator>robotjosh</dc:creator>
      <dc:date>2015-03-11T21:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do you flash a chip with flash security enabled in your image?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379512#M2007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Josh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which flash programmer are you using? is it a P&amp;amp;E multilink?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The behavior you are experiencing happens because when you use the Debugger to flash your device, it will perform the download to the device but then it will try to start the debug session and will notice that the device is secured, so the debugger will perform a mass erase on the device to unsecure it and be able to debug the code. I would recommended not to secure the device in the development phase of the project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the "Flash from file" utility in order to flash your device when the security is enabled :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51326iBD09D496C9CBC0AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After you click on it a window will show up where you can select the connection to use:&lt;/P&gt;&lt;P&gt;&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/51327i738707E7056222B6/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;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;P&gt;Technical Support Engineer&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 17:42:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379512#M2007</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2015-03-12T17:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do you flash a chip with flash security enabled in your image?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379513#M2008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Carlos -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We've have the same issue with KDS that Josh reported, and we have tried using the "Flash from file" option but it has the same problem.&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;We're using KDS1.1.1 and we use a P&amp;amp;B USB Multilink.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;How did you set up your configuration in order to get this to work for you?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's what the tail part of our Console looks like when doing the "Flash from file:" (I have trimmed some of the blank lines) and you can see it still does a mass erase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CMD&amp;gt;PM&lt;/P&gt;&lt;P&gt;Programming.&lt;/P&gt;&lt;P&gt;Processing Object File Data ... &lt;/P&gt;&lt;P&gt;Programmed.&lt;/P&gt;&lt;P&gt;CMD&amp;gt;VC&lt;/P&gt;&lt;P&gt;Verifying object file CRC-16 to device ranges ... &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; block 00000000-000001DF ... &lt;/P&gt;&lt;P&gt;Ok.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; block 00000400-0003957B ... &lt;/P&gt;&lt;P&gt;Ok.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Checksum Verification Successful. (Cumulative CRC-16=$7A8F)&lt;/P&gt;&lt;P&gt;CMD&amp;gt;RE&lt;/P&gt;&lt;P&gt;Initializing.&lt;/P&gt;&lt;P&gt;Device is Secure.&lt;/P&gt;&lt;P&gt;Device is secured. Erasing ...&lt;/P&gt;&lt;P&gt;Target has been RESET and is active.&lt;/P&gt;&lt;P&gt;Disconnected from "127.0.0.1" via 127.0.0.1&lt;/P&gt;&lt;P&gt;Terminating Gracefully...&lt;/P&gt;&lt;P&gt;Target Disconnected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 18:10:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379513#M2008</guid>
      <dc:creator>scottwilliams</dc:creator>
      <dc:date>2015-03-12T18:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do you flash a chip with flash security enabled in your image?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379514#M2009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the P&amp;amp;E multilink.&amp;nbsp; It appears that the flash tool does the same thing as the debug tool.&amp;nbsp; Has the same options, same log messages.&amp;nbsp; I don't see a way to stop it from trying to step thru code and erasing when it can't.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 18:20:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379514#M2009</guid>
      <dc:creator>robotjosh</dc:creator>
      <dc:date>2015-03-12T18:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do you flash a chip with flash security enabled in your image?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379515#M2010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Josh and Scott,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done some test and the mcu cannot be secured using P&amp;amp;E multilink and KDS, this is because KDS does not have the feature to allow pop-up dialogs, because of this the user cannot be warned that the chip is secured and choose whether to erase the flash or disconnect from the debugger, so without the pop up it gets automatically erased. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to secure the device you could use a J-Link programmer, with it you should be able to flash and secure the device using the "Flash from file" utility in KDS. Another option is to use CodeWarrior, the "Flash programmer" utility in CodeWarrior allows you to flash your device with security enabled using the P&amp;amp;E multilink programmer but maybe the device you are using is not supported on this IDE, please take a look to the supported devices here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-MCU10" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-MCU10"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-MCU10&lt;/A&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;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;P&gt;Technical Support Engineer&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 01:30:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379515#M2010</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2015-03-13T01:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do you flash a chip with flash security enabled in your image?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379516#M2011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a note to add to Mr. Mendoza's correct analysis in that currently KDS is missing the popup dialogs when using P&amp;amp;E hardware interfaces. These dialogs will be put into the next build of KDS, whenever that may be. So it is important to keep up to date on the KDS version to get the latest features and bug fixes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Takao Yamada&lt;/P&gt;&lt;P&gt;P&amp;amp;E MIcrocomputer Systems&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 13:46:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379516#M2011</guid>
      <dc:creator>takaoyamada</dc:creator>
      <dc:date>2015-03-16T13:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do you flash a chip with flash security enabled in your image?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379517#M2012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Carlos!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using a FRDM-KL46Z and FRDM-K20D50M and enabling the security flash option on the "Component Inspector - CPU". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I download the program with Flash File To Target choosing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* The correct connection&lt;/P&gt;&lt;P&gt;* Flash configuration file: KL46Z256M4.xml&lt;/P&gt;&lt;P&gt;* The .elf of the program on file to flash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clicking on "Erase and Program" the program downloads to the board and runs well after pressing the reset button... but when I try the attach option in debug mode, it allows me to debug as if the security flash option is disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4507.pdf" target="_blank"&gt;document&lt;/A&gt; "Using the Kinetis Security and Flash Protection Features" at FSEC field description says when "FSEC[SEC] = 01" the "MCU security status is secure" then the debug mode must be disabled, but I still can get access the debug mode, Do you know why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="FSEC_K20_Debug.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51459iB62C3329AD0E6AF2/image-size/large?v=v2&amp;amp;px=999" role="button" title="FSEC_K20_Debug.png" alt="FSEC_K20_Debug.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 02:31:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379517#M2012</guid>
      <dc:creator>frdmcharly</dc:creator>
      <dc:date>2015-03-17T02:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do you flash a chip with flash security enabled in your image?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379518#M2013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats bad news.&amp;nbsp; We have a product we can't release until flash security can be verified.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 12:58:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379518#M2013</guid>
      <dc:creator>robotjosh</dc:creator>
      <dc:date>2015-03-17T12:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do you flash a chip with flash security enabled in your image?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379519#M2014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Josh! The solution of this issues are explain in &lt;A _jive_internal="true" href="https://community.nxp.com/thread/347781"&gt;this thred&lt;/A&gt; called "Trouble with security flash on KL46Z".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Mar 2015 15:22:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379519#M2014</guid>
      <dc:creator>frdmcharly</dc:creator>
      <dc:date>2015-03-21T15:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do you flash a chip with flash security enabled in your image?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379520#M2015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;I have an issue about the flash security enabled image.&lt;/P&gt;&lt;P&gt;I had flashed the K10 with a security enabled image in Code Warrior 10.5 via P&amp;amp;E USB Multilink.&lt;/P&gt;&lt;P&gt;but after K10 is security enabled, I could not flash the K10 again neither with a security enabled iamge nor a security disabled image at all.&lt;/P&gt;&lt;P&gt;Under Code Warrior, there will be a popup window like below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="security.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49366i9A24F8A4305B1B38/image-size/large?v=v2&amp;amp;px=999" role="button" title="security.png" alt="security.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I click yes and this window popup again, I click yes again then the below window shows up saying some errors happen:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="error.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49418i48F07A160D3AC902/image-size/large?v=v2&amp;amp;px=999" role="button" title="error.png" alt="error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and i then tried to use debugger in KDS1.1.1, it shows the below information in the Console Tab:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="kdsconsole.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49466i99A6C666BFA01A52/image-size/large?v=v2&amp;amp;px=999" role="button" title="kdsconsole.png" alt="kdsconsole.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now i have no way to reflash the K10 any longer&lt;/P&gt;&lt;P&gt;Do you know why and what is the solution for me?&lt;/P&gt;&lt;P&gt;thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 04:09:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379520#M2015</guid>
      <dc:creator>danielzhang_11</dc:creator>
      <dc:date>2015-03-25T04:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do you flash a chip with flash security enabled in your image?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379521#M2016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daniel!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Reading your issues sound like enabled flash security with mass erase disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; For get better understanding, maybe you need read this post &lt;A href="http://mcuoneclipse.com/2012/11/04/how-not-to-secure-my-microcontroller/" title="http://mcuoneclipse.com/2012/11/04/how-not-to-secure-my-microcontroller/"&gt;How (not) to Secure my Microcontroller | MCU on Eclipse.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 17:39:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379521#M2016</guid>
      <dc:creator>frdmcharly</dc:creator>
      <dc:date>2015-03-25T17:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do you flash a chip with flash security enabled in your image?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379522#M2017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;Hi Carlos&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;I think the mass erase is enabled in my image.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;I have checked the s record file I am using,&amp;nbsp; the MEEN bit is actually set to 3 which means the Mass erase is&amp;nbsp; enabled&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;Here is the flash configuration line in the s record file I had flashed into K10&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Courier New';"&gt;S214000400FFFFFFFFFFFFFFFFFFFFFFFF7CFBFFFF7E&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;You can see that the value of FTFL_FSEC is 0x7C&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;but the&amp;nbsp; FTFL_FOPT is set to 0xFB, which means NMI_DIS is 0, is that safe?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;and What would you suggest I can do to be able to reprogram the K10？&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 02:49:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379522#M2017</guid>
      <dc:creator>danielzhang_11</dc:creator>
      <dc:date>2015-03-26T02:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do you flash a chip with flash security enabled in your image?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379523#M2018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daniel!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Don't matter if the MEEN record now is 11, if you downloaded the program at least one time is enough.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; This &lt;A href="http://http//cache.freescale.com/files/microcontrollers/doc/app_note/AN4507.pdf"&gt;document&lt;/A&gt; could help you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please if you discover what problem have you k10 MCU, please tell us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 13:28:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379523#M2018</guid>
      <dc:creator>frdmcharly</dc:creator>
      <dc:date>2015-03-27T13:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do you flash a chip with flash security enabled in your image?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379524#M2019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;KDS3 with the P&amp;amp;E dialogs still fails to program an image that has flash lock compiled into it.&amp;nbsp; The dialog comes up where it asks if you want to erase flash, and clicking yes causes the same thing to happen as in KDS1.&amp;nbsp; It erases the chip and then tries to run on an erased chip.&amp;nbsp; It never writes the image.&amp;nbsp; When I disable flash lock and recompile it is able to flash the device without problems.&amp;nbsp; We are aware that a jlink will work but we already spent a lot of money on a P&amp;amp;E device and feel that we shouldn't have to buy 2 expensive debuggers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 20:27:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379524#M2019</guid>
      <dc:creator>robotjosh</dc:creator>
      <dc:date>2015-06-22T20:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do you flash a chip with flash security enabled in your image?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379525#M2020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try in Code Warrior&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 09:07:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379525#M2020</guid>
      <dc:creator>danielzhang_11</dc:creator>
      <dc:date>2015-06-23T09:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do you flash a chip with flash security enabled in your image?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379526#M2021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried codewarrior but the mk22fn256 isn't supported.&amp;nbsp; Ended up finding a way to flash a flash locked image with p&amp;amp;e:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a blank project in kds3.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Use the flash icon instead of the debug icon.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Point it to the elf file from the kds1 project and click flash.&lt;/P&gt;&lt;P&gt;There will be 2 popups asking to erase or something, click no both times.&lt;/P&gt;&lt;P&gt;Wait for debugger to crash.&lt;/P&gt;&lt;P&gt;Power cycle device and it will run with the flash locked image.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 15:10:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-flash-a-chip-with-flash-security-enabled-in-your/m-p/379526#M2021</guid>
      <dc:creator>robotjosh</dc:creator>
      <dc:date>2015-06-23T15:10:31Z</dc:date>
    </item>
  </channel>
</rss>

