<?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>S32KのトピックRe: FLash Sector 48 locked after a C40_ip flash programming. Impossible to download a Jtag elf</title>
    <link>https://community.nxp.com/t5/S32K/FLash-Sector-48-locked-after-a-C40-ip-flash-programming/m-p/2110330#M49572</link>
    <description>&lt;P&gt;have loaded Bootloader Code (JFLASH) and perform a C40_Ip_ClearLock (in ramcode) at power-on from sectors from C40_CODE_ARRAY_0_BLOCK_0_S016 to C40_CODE_ARRAY_0_BLOCK_0_S057 (inside s32k310 appl flash), then I read back with C40_Ip_GetLock and all sector are correctly. I also check this at runtime and nobody locks memory. When I try to flash program with JFLASH or Ozone, the verify fails because sector is locked ...but unlocking sector from code all is done correctly&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 09:52:20 GMT</pubDate>
    <dc:creator>FabioG</dc:creator>
    <dc:date>2025-06-04T09:52:20Z</dc:date>
    <item>
      <title>FLash Sector 48 locked after a C40_ip flash programming. Impossible to download a Jtag elf</title>
      <link>https://community.nxp.com/t5/S32K/FLash-Sector-48-locked-after-a-C40-ip-flash-programming/m-p/2108151#M49434</link>
      <description>&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;I have done a program using C40_Ip RTD (placed in ramcode) in order to download a srec file in some BLOCK0 record of s32k310.&lt;/P&gt;&lt;P&gt;After the very first programming, Segger J.link tells that is unable to erase one of programmed sectors so it can't erase it and download code.&lt;/P&gt;&lt;P&gt;1) I have no Idea How it could be possible: all flash was ever locked and code I made do no do any explicit lock function.&lt;/P&gt;&lt;P&gt;2) I have tried to do&amp;nbsp; chip erases and sector erases but via J-Flash but erase is not possible because of te protected sector. How can explicit unpretect sector via Jtag/segger ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Fabio&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 16:32:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FLash-Sector-48-locked-after-a-C40-ip-flash-programming/m-p/2108151#M49434</guid>
      <dc:creator>FabioG</dc:creator>
      <dc:date>2025-05-30T16:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: FLash Sector 48 locked after a C40_ip flash programming. Impossible to download a Jtag elf</title>
      <link>https://community.nxp.com/t5/S32K/FLash-Sector-48-locked-after-a-C40-ip-flash-programming/m-p/2108550#M49469</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/228277"&gt;@FabioG&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you share the log?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 09:11:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FLash-Sector-48-locked-after-a-C40-ip-flash-programming/m-p/2108550#M49469</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-06-02T09:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: FLash Sector 48 locked after a C40_ip flash programming. Impossible to download a Jtag elf</title>
      <link>https://community.nxp.com/t5/S32K/FLash-Sector-48-locked-after-a-C40-ip-flash-programming/m-p/2110174#M49567</link>
      <description>&lt;P&gt;hi @&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001" target="_self"&gt;&lt;SPAN class=""&gt;danielmartynek&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I apologize for the late,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;In attached the logs you have requested:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;You'll find three logs:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;1) during programming code of the very first zone of FLASH (the boot sectors).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;by using Segger Ozone v3.38d and Segger-Jlink:&amp;nbsp;I was reprogramming the booloader sectors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;2) during a sector erasing process by using J-FLash v8.22&amp;nbsp;and Segger-Jlink&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;3) during a chip&amp;nbsp; erase by using J-FLash v8.22&amp;nbsp;and Segger-Jlink&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I'm developing on s32K31XEVB devel-board. with a USB J-link Base connected to the external connector (I don't use the built in Jtag-chip).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Keep in mind that, during flash procedure, I was always checking that the address read from the srec file&amp;nbsp; are placed into&amp;nbsp; the right flash boundaries (lower/upper check), so the case that I write into flash registers are quite no possible.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Fabio&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 07:47:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FLash-Sector-48-locked-after-a-C40-ip-flash-programming/m-p/2110174#M49567</guid>
      <dc:creator>FabioG</dc:creator>
      <dc:date>2025-06-04T07:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: FLash Sector 48 locked after a C40_ip flash programming. Impossible to download a Jtag elf</title>
      <link>https://community.nxp.com/t5/S32K/FLash-Sector-48-locked-after-a-C40-ip-flash-programming/m-p/2110330#M49572</link>
      <description>&lt;P&gt;have loaded Bootloader Code (JFLASH) and perform a C40_Ip_ClearLock (in ramcode) at power-on from sectors from C40_CODE_ARRAY_0_BLOCK_0_S016 to C40_CODE_ARRAY_0_BLOCK_0_S057 (inside s32k310 appl flash), then I read back with C40_Ip_GetLock and all sector are correctly. I also check this at runtime and nobody locks memory. When I try to flash program with JFLASH or Ozone, the verify fails because sector is locked ...but unlocking sector from code all is done correctly&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:52:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FLash-Sector-48-locked-after-a-C40-ip-flash-programming/m-p/2110330#M49572</guid>
      <dc:creator>FabioG</dc:creator>
      <dc:date>2025-06-04T09:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: FLash Sector 48 locked after a C40_ip flash programming. Impossible to download a Jtag elf</title>
      <link>https://community.nxp.com/t5/S32K/FLash-Sector-48-locked-after-a-C40-ip-flash-programming/m-p/2111244#M49620</link>
      <description>&lt;P&gt;&lt;SPAN&gt;hi @&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001" target="_self"&gt;&lt;SPAN class=""&gt;danielmartynek&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;some news now.&lt;/P&gt;&lt;P&gt;A newer error (attached .png file) happens:&lt;/P&gt;&lt;P&gt;Download fails (Ozone and J-Flash) because Jlink ramcode fails on&amp;nbsp; a particular algorithm and ramcode never-ends.&lt;/P&gt;&lt;P&gt;When I was able to download the bootloader code&amp;nbsp; (SWD)&amp;nbsp; it programs .srec file succesfully (via CAN bus)! so the problem should be on Jtag (in DTCM memory that Jflash uses for RAM code ? I tryed to move it on upper regions because lower ones are used by my application ,with no results....).&lt;/P&gt;&lt;P&gt;I tried to change Jlink usb debugger interface&amp;nbsp; but the problem does not disappear.&lt;/P&gt;&lt;P&gt;Unfortunately I have no other s32k31xEVB evaluation boards and no other s32310 stuff in order to check it&amp;nbsp; on them&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Fabio&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 10:13:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FLash-Sector-48-locked-after-a-C40-ip-flash-programming/m-p/2111244#M49620</guid>
      <dc:creator>FabioG</dc:creator>
      <dc:date>2025-06-05T10:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: FLash Sector 48 locked after a C40_ip flash programming. Impossible to download a Jtag elf</title>
      <link>https://community.nxp.com/t5/S32K/FLash-Sector-48-locked-after-a-C40-ip-flash-programming/m-p/2111300#M49625</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/228277"&gt;@FabioG&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;It does not make much sense to me.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no option to permanently lock the sectors.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The debugger should be able to reset the MCU and reprogram it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The EVB has an on-board PE Micro debugger, can you test it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 11:56:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FLash-Sector-48-locked-after-a-C40-ip-flash-programming/m-p/2111300#M49625</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-06-05T11:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: FLash Sector 48 locked after a C40_ip flash programming. Impossible to download a Jtag elf</title>
      <link>https://community.nxp.com/t5/S32K/FLash-Sector-48-locked-after-a-C40-ip-flash-programming/m-p/2111327#M49626</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Dear&amp;nbsp; @&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001" target="_self"&gt;&lt;SPAN class=""&gt;danielmartynek&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I'm attempting to use onboard PE-micro Debugger.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;1) Should It be integrated&amp;nbsp; only on S32DS or in other IDEs?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;2) I have some difficulties to configure it on&amp;nbsp;S32DS:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;which is the configuration parameters ? it attached the S32DS Tabs screenshots. I need to configure them but I not be able to connect&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Can you give me some docs?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Best Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 05 Jun 2025 12:48:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FLash-Sector-48-locked-after-a-C40-ip-flash-programming/m-p/2111327#M49626</guid>
      <dc:creator>FabioG</dc:creator>
      <dc:date>2025-06-05T12:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: FLash Sector 48 locked after a C40_ip flash programming. Impossible to download a Jtag elf</title>
      <link>https://community.nxp.com/t5/S32K/FLash-Sector-48-locked-after-a-C40-ip-flash-programming/m-p/2111852#M49649</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/228277"&gt;@FabioG&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;1. I'm not sure if this PE Micro debugger is available in other IDEs.&lt;/P&gt;
&lt;P&gt;2. This works for me:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_3-1749193818167.png" style="width: 683px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/341712i92096F15394675B9/image-dimensions/683x611?v=v2" width="683" height="611" role="button" title="danielmartynek_3-1749193818167.png" alt="danielmartynek_3-1749193818167.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1749193590485.png" style="width: 682px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/341710i74610C5AC77D2DFF/image-dimensions/682x410?v=v2" width="682" height="410" role="button" title="danielmartynek_1-1749193590485.png" alt="danielmartynek_1-1749193590485.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Follow the&amp;nbsp;Getting Started guide:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/document/guide/getting-started-with-the-s32k31xevb-q100-evaluation-board-for-general-purpose:GS-S32K31XEVB-Q100?section=plug-it-in" target="_blank" rel="noopener"&gt;https://www.nxp.com/document/guide/getting-started-with-the-s32k31xevb-q100-evaluation-board-for-general-purpose:GS-S32K31XEVB-Q100?section=plug-it-in&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check for PE Micro updates in the IDE.&lt;/P&gt;
&lt;P&gt;Help -&amp;gt; S32DS Extensions and Updates&lt;/P&gt;
&lt;P&gt;Help -&amp;gt; Install New Software&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 07:13:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FLash-Sector-48-locked-after-a-C40-ip-flash-programming/m-p/2111852#M49649</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-06-06T07:13:02Z</dc:date>
    </item>
  </channel>
</rss>

