<?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 How to protect Bootloader and Vector Table? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-protect-Bootloader-and-Vector-Table/m-p/170062#M1176</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want my bootloader and vector tables stored at the begining of flash protected in such a way that they can only be overwritten by a JTAG device.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought the&amp;nbsp;FTFL_FSEC register would handle this, but it appears this register ALSO has the ability to even lock out a JTAG device from writting to the flash.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, how do I accomplish my goal?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2012 22:36:27 GMT</pubDate>
    <dc:creator>ignisuti</dc:creator>
    <dc:date>2012-06-06T22:36:27Z</dc:date>
    <item>
      <title>How to protect Bootloader and Vector Table?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-protect-Bootloader-and-Vector-Table/m-p/170062#M1176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want my bootloader and vector tables stored at the begining of flash protected in such a way that they can only be overwritten by a JTAG device.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought the&amp;nbsp;FTFL_FSEC register would handle this, but it appears this register ALSO has the ability to even lock out a JTAG device from writting to the flash.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, how do I accomplish my goal?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 22:36:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-protect-Bootloader-and-Vector-Table/m-p/170062#M1176</guid>
      <dc:creator>ignisuti</dc:creator>
      <dc:date>2012-06-06T22:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to protect Bootloader and Vector Table?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-protect-Bootloader-and-Vector-Table/m-p/170063#M1177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured out what I was doing wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FSEC occurs&amp;nbsp;&lt;STRONG&gt;after&lt;/STRONG&gt; FOPT. However, I was focusing on this information from the Reference Manual which shows FSEC occurring &lt;STRONG&gt;before&lt;/STRONG&gt; FOPT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Address: FTFL_FSEC is 4002_0000h base + 2h offset = 4002_0002hAddress: FTFL_FOPT is 4002_0000h base + 3h offset = 4002_0003h&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The actual address (for the purposes of loading this configuration data into FLASH) are...&lt;/P&gt;&lt;P&gt;FSEC = 0x0_040C&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FOPT = 0x0_040D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:18:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-protect-Bootloader-and-Vector-Table/m-p/170063#M1177</guid>
      <dc:creator>ignisuti</dc:creator>
      <dc:date>2020-10-29T09:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to protect Bootloader and Vector Table?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-protect-Bootloader-and-Vector-Table/m-p/170064#M1178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using K60 or K61 MCU? In K61 you can do 'Secure enable' (can connect with JTag) and 'Mass erase disble' (can't connect more with JTag, but can remove flash lock with key that you prepare on secure MCU). The address for secure the flash are the same in K60 and K61, but K60 haven't 'Mass erase disble' option.&lt;/P&gt;&lt;P&gt;What option you use for write these&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;FSEC = 0x0_040C &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;FOPT = 0x0_040D&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;registers (from code, by JTag, by macro)?&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Thanks.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Evgeni.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Feb 2013 07:44:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-protect-Bootloader-and-Vector-Table/m-p/170064#M1178</guid>
      <dc:creator>evgenik</dc:creator>
      <dc:date>2013-02-10T07:44:17Z</dc:date>
    </item>
  </channel>
</rss>

