<?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: S32K148 SEC bits doesn't get set</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/S32K148-SEC-bits-doesn-t-get-set/m-p/1230830#M59614</link>
    <description>&lt;P&gt;Tested this with different configurations.&lt;BR /&gt;Using S32K148EVB-Q176 Rev B, tested with both 3.3V and 5V options of J7 jumper.&lt;BR /&gt;Also tested with custom board with same part number on the mcu, board has 3.3V supply voltage.&lt;BR /&gt;In any of these configurations, neither BASE Compact or EDU Mini got these bits set.&lt;BR /&gt;&lt;BR /&gt;Can someone confirm that S32K148EVB-Q176 gets secured with some specific debug probe or production programmer?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Feb 2021 06:15:57 GMT</pubDate>
    <dc:creator>janijärvenpää</dc:creator>
    <dc:date>2021-02-15T06:15:57Z</dc:date>
    <item>
      <title>S32K148 SEC bits doesn't get set</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/S32K148-SEC-bits-doesn-t-get-set/m-p/1229764#M59595</link>
      <description>&lt;P&gt;I am having trouble trying to set the SEC bits,&lt;BR /&gt;I have set the FSEC to 0xF9 on startup file&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="janijärvenpää_1-1613032994165.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/137026i21277F14CB2208A0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="janijärvenpää_1-1613032994165.png" alt="janijärvenpää_1-1613032994165.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I inspected the resulting binary to be correct&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="janijärvenpää_0-1613032877166.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/137025i28EEFB5AA14ABB25/image-size/medium?v=v2&amp;amp;px=400" role="button" title="janijärvenpää_0-1613032877166.png" alt="janijärvenpää_0-1613032877166.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;0xF9 should result to this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="janijärvenpää_2-1613033316949.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/137027iACEDFDEE8BBDE866/image-size/medium?v=v2&amp;amp;px=400" role="button" title="janijärvenpää_2-1613033316949.png" alt="janijärvenpää_2-1613033316949.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After flashing that binary i read the memory and it's otherwise correct, but SEC bits doesn't get set?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="janijärvenpää_3-1613033423062.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/137028i138BA4531A4C6205/image-size/medium?v=v2&amp;amp;px=400" role="button" title="janijärvenpää_3-1613033423062.png" alt="janijärvenpää_3-1613033423062.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I tried this with GDB also with following commands:&lt;BR /&gt;(gdb) target remote 127.0.0.1:2331&lt;BR /&gt;(gdb) monitor reset&lt;BR /&gt;(gdb) set {char}0x40c = 0xf9&lt;BR /&gt;(gdb) x/1bx 0x40c&lt;BR /&gt;0x40c: 0xfa&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I don't undenstand how it does not get set? i can set other bits but not those two.&lt;BR /&gt;&lt;BR /&gt;I am just trying to disable reading the program from JTAG/SWD.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Jani&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 09:11:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/S32K148-SEC-bits-doesn-t-get-set/m-p/1229764#M59595</guid>
      <dc:creator>janijärvenpää</dc:creator>
      <dc:date>2021-02-11T09:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 SEC bits doesn't get set</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/S32K148-SEC-bits-doesn-t-get-set/m-p/1230219#M59602</link>
      <description>&lt;P&gt;Ok so this happens with Jlink edu mini only.&lt;BR /&gt;&lt;BR /&gt;Tested with following setup:&lt;BR /&gt;-S32K148EVB&lt;BR /&gt;-Jlink edu mini&lt;BR /&gt;&lt;BR /&gt;software setup:&lt;BR /&gt;-Bootloader with FSEC set to 0xF9&lt;BR /&gt;-Application that is at different location in memory.&lt;/P&gt;&lt;P&gt;Loaded bootloader with PEMicro/OpenSDA, and it worked fine. I got that Device is secured prompt.&lt;BR /&gt;Then loaded application with JLINK and device got erased without any prompt,&lt;BR /&gt;and application got written to the memory, and bootloader got erased.&lt;BR /&gt;&lt;BR /&gt;Not so nice behavior with this debugger. Will see later how this behaves with JLink Base as debugger.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 07:36:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/S32K148-SEC-bits-doesn-t-get-set/m-p/1230219#M59602</guid>
      <dc:creator>janijärvenpää</dc:creator>
      <dc:date>2021-02-12T07:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 SEC bits doesn't get set</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/S32K148-SEC-bits-doesn-t-get-set/m-p/1230361#M59603</link>
      <description>&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;"I am just trying to disable reading the program from JTAG/SWD.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ok so this happens with Jlink edu mini only."&lt;BR /&gt;&lt;BR /&gt;I'm guessing that is to prevent a beginning&amp;nbsp;student from shooting themselves in the foot and bricking their device.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The new NXP MCU-Link is around the same price point as the EDU Mini.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We need to get more parts supported with it, if possible.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 13:03:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/S32K148-SEC-bits-doesn-t-get-set/m-p/1230361#M59603</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2021-02-12T13:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 SEC bits doesn't get set</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/S32K148-SEC-bits-doesn-t-get-set/m-p/1230735#M59612</link>
      <description>&lt;P&gt;The same exact behavior happens with JLink BASE Compact also.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Feb 2021 09:23:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/S32K148-SEC-bits-doesn-t-get-set/m-p/1230735#M59612</guid>
      <dc:creator>janijärvenpää</dc:creator>
      <dc:date>2021-02-14T09:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 SEC bits doesn't get set</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/S32K148-SEC-bits-doesn-t-get-set/m-p/1230830#M59614</link>
      <description>&lt;P&gt;Tested this with different configurations.&lt;BR /&gt;Using S32K148EVB-Q176 Rev B, tested with both 3.3V and 5V options of J7 jumper.&lt;BR /&gt;Also tested with custom board with same part number on the mcu, board has 3.3V supply voltage.&lt;BR /&gt;In any of these configurations, neither BASE Compact or EDU Mini got these bits set.&lt;BR /&gt;&lt;BR /&gt;Can someone confirm that S32K148EVB-Q176 gets secured with some specific debug probe or production programmer?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 06:15:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/S32K148-SEC-bits-doesn-t-get-set/m-p/1230830#M59614</guid>
      <dc:creator>janijärvenpää</dc:creator>
      <dc:date>2021-02-15T06:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 SEC bits doesn't get set</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/S32K148-SEC-bits-doesn-t-get-set/m-p/1230899#M59615</link>
      <description>&lt;P&gt;Solution found at &lt;A href="https://wiki.segger.com/S32Kxxx" target="_blank"&gt;https://wiki.segger.com/S32Kxxx&lt;/A&gt;&lt;BR /&gt;JLink GDB server device needs to be&amp;nbsp;&lt;STRONG&gt;S32K148 (allow security)&amp;nbsp;&lt;/STRONG&gt;instead of &lt;STRONG&gt;S32K148 &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Now this works with segger debug probes. 0x40C gets set to 0xF9 . For some reason addresses from 0x0 to 0x7000 are still readable?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 09:21:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/S32K148-SEC-bits-doesn-t-get-set/m-p/1230899#M59615</guid>
      <dc:creator>janijärvenpää</dc:creator>
      <dc:date>2021-02-15T09:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 SEC bits doesn't get set</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/S32K148-SEC-bits-doesn-t-get-set/m-p/1231635#M59642</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;maybe this is the reason:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1613490426280.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/137275iA1D25C75F200D07B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1613490426280.png" alt="lukaszadrapa_0-1613490426280.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 15:47:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/S32K148-SEC-bits-doesn-t-get-set/m-p/1231635#M59642</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2021-02-16T15:47:20Z</dc:date>
    </item>
  </channel>
</rss>

