<?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 is secured but flash config field is not</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-is-secured-but-flash-config-field-is-not/m-p/725027#M44371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roy,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Do you want to write the 0X40C to 0xff, then to secure the chip?&lt;/P&gt;&lt;P&gt;&amp;nbsp; If yes, please check this picture:&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/321iB0FFD2C946D7DBFF/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;When you select the chip, you should select the chip MK64XXX(allow security), othewise, the chip will automatically modify the 0X40C to 0xfe.&lt;/P&gt;&lt;P&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>Fri, 19 Jan 2018 02:56:05 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2018-01-19T02:56:05Z</dc:date>
    <item>
      <title>flash is secured but flash config field is not</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-is-secured-but-flash-config-field-is-not/m-p/725024#M44368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having a very strange issue.&lt;/P&gt;&lt;P&gt;Even though the Flash Configuration Field (FCF) is at its default state:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;/* Flash Configuration*/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt; .section .FlashConfig, "a"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt; .long 0xFFFFFFFF&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt; .long 0xFFFFFFFF&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt; .long 0xFFFFFFFF&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt; .long 0xFFFFFFF&lt;STRONG&gt;E&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Whenever I try to flash my (custom) board with Segger J-link I'm getting a secure alert (stating that the image causes the flash to be secured), and obviously when trying to delete app later on with KBOOT, I'm getting a message saying flash cannot be deleted since it is secured. This pop up is shown also with a 'regular app' located at address 0x00 (so no connection to KBOOT).&lt;/P&gt;&lt;P&gt;But,&lt;/P&gt;&lt;P&gt;when changing the FCF to the following:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;/* Flash Configuration*/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;.section .FlashConfig, "a"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;.long 0xFFFFFFFF&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;.long 0xFFFFFFFF&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;.long 0xFFFFFFFF&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;.long 0xFFFFFFF&lt;STRONG&gt;F&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am not receiving the message and the flash is not secured and can later be deleted successfully.&lt;/P&gt;&lt;P&gt;This is totally opposite than it should be, as I understand (also clearly explained here:&amp;nbsp;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN4835.pdf" title="https://www.nxp.com/docs/en/application-note/AN4835.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN4835.pdf&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, what is going on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 21:41:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-is-secured-but-flash-config-field-is-not/m-p/725024#M44368</guid>
      <dc:creator>roymessinger</dc:creator>
      <dc:date>2018-01-16T21:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: flash is secured but flash config field is not</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-is-secured-but-flash-config-field-is-not/m-p/725025#M44369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi roymessinger,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; What the kinetis chip you are using?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You can use the JLINK commander, select the chip allow the security, then input : unlock kinetis&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; check the flash configuration field data with command: mem 0x400, 0x10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Then, give me some picture about the above command information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Besides, when you flash the board, do you use any IDE? If yes, what the IDE you are using?&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, 17 Jan 2018 06:24:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-is-secured-but-flash-config-field-is-not/m-p/725025#M44369</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-01-17T06:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: flash is secured but flash config field is not</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-is-secured-but-flash-config-field-is-not/m-p/725026#M44370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/kerryzhou"&gt;kerryzhou&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;I'm using K64.&lt;/P&gt;&lt;P&gt;I'm now facing another strange behavior. After the board security is disabled, I now cannot enable it again. I want to emphasize I do not want security (thus I do not want to use unlock), but I wanted to debug the error I explained above so I made 2 bin files. One with FE at FSEC register (0x40C) and one with FF.&lt;/P&gt;&lt;P&gt;When I load the FF bin file. I see it in the Segger flasher as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="before_40c_FF.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13871i704CE7B027817CD5/image-size/large?v=v2&amp;amp;px=999" role="button" title="before_40c_FF.png" alt="before_40c_FF.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can see FF at 0x40C.&lt;/P&gt;&lt;P&gt;After I flash the file, it changes to FE (turned red):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="after_40c_FE.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16251i219065C26A8276EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="after_40c_FE.png" alt="after_40c_FE.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I do not understand. If the register at CFC (address 0x40C) was set to FF, how come Segger changed it to FE?&lt;/P&gt;&lt;P&gt;Roy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2018 09:02:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-is-secured-but-flash-config-field-is-not/m-p/725026#M44370</guid>
      <dc:creator>roymessinger</dc:creator>
      <dc:date>2018-01-17T09:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: flash is secured but flash config field is not</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-is-secured-but-flash-config-field-is-not/m-p/725027#M44371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roy,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Do you want to write the 0X40C to 0xff, then to secure the chip?&lt;/P&gt;&lt;P&gt;&amp;nbsp; If yes, please check this picture:&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/321iB0FFD2C946D7DBFF/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;When you select the chip, you should select the chip MK64XXX(allow security), othewise, the chip will automatically modify the 0X40C to 0xfe.&lt;/P&gt;&lt;P&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>Fri, 19 Jan 2018 02:56:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-is-secured-but-flash-config-field-is-not/m-p/725027#M44371</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-01-19T02:56:05Z</dc:date>
    </item>
  </channel>
</rss>

