<?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 MK60F12 - Unable to lock JTAG by securing flash through FSEC in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-Unable-to-lock-JTAG-by-securing-flash-through-FSEC/m-p/2034994#M67227</link>
    <description>&lt;P&gt;I'm trying to lock the JTAG on the MK60F12 by through the Flash Configuration loaded from program flash at 0x400 at startup.&lt;/P&gt;&lt;P&gt;However, no matter what I put in the SEC field of flash configuration FSEC (0b00, 0b01 or 0b11), the FTFL_FSEC register always loads with 0b10 (unsecured).&lt;/P&gt;&lt;P&gt;I tried changing other fields of FSEC (KEYEN, MEEN, etc.) and that works, but FSEC is always 0b10.&lt;/P&gt;&lt;P&gt;I'm using the SEGGER J-Link JTAG programmer.&lt;/P&gt;&lt;P&gt;Would anybody have any clue to why I'm not able to secure FSEC?&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jan 2025 09:18:38 GMT</pubDate>
    <dc:creator>LRawlyk</dc:creator>
    <dc:date>2025-01-28T09:18:38Z</dc:date>
    <item>
      <title>MK60F12 - Unable to lock JTAG by securing flash through FSEC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-Unable-to-lock-JTAG-by-securing-flash-through-FSEC/m-p/2034994#M67227</link>
      <description>&lt;P&gt;I'm trying to lock the JTAG on the MK60F12 by through the Flash Configuration loaded from program flash at 0x400 at startup.&lt;/P&gt;&lt;P&gt;However, no matter what I put in the SEC field of flash configuration FSEC (0b00, 0b01 or 0b11), the FTFL_FSEC register always loads with 0b10 (unsecured).&lt;/P&gt;&lt;P&gt;I tried changing other fields of FSEC (KEYEN, MEEN, etc.) and that works, but FSEC is always 0b10.&lt;/P&gt;&lt;P&gt;I'm using the SEGGER J-Link JTAG programmer.&lt;/P&gt;&lt;P&gt;Would anybody have any clue to why I'm not able to secure FSEC?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 09:18:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-Unable-to-lock-JTAG-by-securing-flash-through-FSEC/m-p/2034994#M67227</guid>
      <dc:creator>LRawlyk</dc:creator>
      <dc:date>2025-01-28T09:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: MK60F12 - Unable to lock JTAG by securing flash through FSEC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-Unable-to-lock-JTAG-by-securing-flash-through-FSEC/m-p/2035236#M67230</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/197375"&gt;@LRawlyk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out!&lt;/P&gt;
&lt;P&gt;Let me provide my first recommendation, so you could double check.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the device selection, please try to select the Allow security option option for your part. Here is an example for the Segger J-Link commander. I do not know about the tools that you are using, but please ensure to select that option, per my experience, with this it will allow you to manipulate FSEC.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1738086247013.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/321692i77C1A03CD6FBCADF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="diego_charles_0-1738086247013.png" alt="diego_charles_0-1738086247013.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Just beware of the MEEN, the if the mass erase is not enabled, you won't be able to write a new image with the FSEC enabled again.&lt;/P&gt;
&lt;P&gt;I hope this could help you!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 17:48:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-Unable-to-lock-JTAG-by-securing-flash-through-FSEC/m-p/2035236#M67230</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2025-01-28T17:48:39Z</dc:date>
    </item>
  </channel>
</rss>

