<?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: Programming FSEC field using Flash Driver</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Programming-FSEC-field-using-Flash-Driver/m-p/793667#M48290</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I am not totally understood your questions. In your statement, "but in my application when I try to program this section using the flash drivers". How you program, I mean what IDE tool are you using? And what is your debugger to erase the flash?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Sep 2018 07:03:14 GMT</pubDate>
    <dc:creator>miduo</dc:creator>
    <dc:date>2018-09-27T07:03:14Z</dc:date>
    <item>
      <title>Programming FSEC field using Flash Driver</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Programming-FSEC-field-using-Flash-Driver/m-p/793666#M48289</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 have Kinetis K82 board, I am trying to change the FCA my&amp;nbsp; fields within application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I know once&amp;nbsp; these Fields are updated from application by the Bootloader, hence once I am in the application changing these fields will have no impact, but in my application when I try to program this section using the flash drivers, I cannot program this fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to &lt;STRONG&gt;AN4507,&amp;nbsp;&lt;/STRONG&gt;As it is compulsory to erase the flash sector before programming it again, When I try erase the FCA region suddenly the Security is enabled,&amp;nbsp;&lt;STRONG&gt;which according to me should take effect from the next reset.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is this happening.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean I must be able to change this fields till the next reset, hence able to disable and enable security?.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 07:26:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Programming-FSEC-field-using-Flash-Driver/m-p/793666#M48289</guid>
      <dc:creator>saurabhsaxena</dc:creator>
      <dc:date>2018-09-25T07:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Programming FSEC field using Flash Driver</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Programming-FSEC-field-using-Flash-Driver/m-p/793667#M48290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I am not totally understood your questions. In your statement, "but in my application when I try to program this section using the flash drivers". How you program, I mean what IDE tool are you using? And what is your debugger to erase the flash?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2018 07:03:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Programming-FSEC-field-using-Flash-Driver/m-p/793667#M48290</guid>
      <dc:creator>miduo</dc:creator>
      <dc:date>2018-09-27T07:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Programming FSEC field using Flash Driver</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Programming-FSEC-field-using-Flash-Driver/m-p/793668#M48291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my application I am using the Flash memory Driver (flash_mem_write() in flash_memory.c) for programming the FCA Fields, the behavior is such that as soon as I write the FSEC Fields (FCA Fields), at that instant device security is enabled, which I expect to be enabled when I perform a next reset of the device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In simple terms I am programming FCA fields when application is running, so that the device Security settings can be changed without flashing a new image by just performing a reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks I hope this helps clear my question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2018 10:55:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Programming-FSEC-field-using-Flash-Driver/m-p/793668#M48291</guid>
      <dc:creator>saurabhsaxena</dc:creator>
      <dc:date>2018-09-27T10:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Programming FSEC field using Flash Driver</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Programming-FSEC-field-using-Flash-Driver/m-p/793669#M48292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue was resolved when you use the Flash_Erase() and Flash_Program() APIs rather than flash_mem_write(),&lt;/P&gt;&lt;P&gt;As the flash is FTFA, the operations are performed on Block Sizes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2018 11:49:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Programming-FSEC-field-using-Flash-Driver/m-p/793669#M48292</guid>
      <dc:creator>saurabhsaxena</dc:creator>
      <dc:date>2018-10-15T11:49:47Z</dc:date>
    </item>
  </channel>
</rss>

