<?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: S32k146 will not erase via debugger</title>
    <link>https://community.nxp.com/t5/S32K/S32k146-will-not-erase-via-debugger/m-p/1361715#M12576</link>
    <description>&lt;P&gt;The fact that you can read the flash means the MCU is not secure.&lt;/P&gt;
&lt;P&gt;The FSEC byte is at 0x40C, and you read 0x32 there.&lt;/P&gt;
&lt;P&gt;KEYEN = 0b00 disabled, MEEN = 0b11 enabled, FSLACC = 0b00 granted, SEC = 0b10 unsecure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the first post you had:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Connecting to target via SWD&lt;BR /&gt;InitTarget() start&lt;BR /&gt;InitTarget()&lt;BR /&gt;Active Kinetis write protection detected. This could cause problems during flash download.&lt;BR /&gt;Note: Unsecuring will trigger a mass erase of the internal flash.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So, it seems like this is not an issue with the security but the flash protection configured in FPROT bytes of the Flash configuration field.&lt;/P&gt;
&lt;P&gt;This protection can be removed by Mass erase only:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1635255124530.png" style="width: 660px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160226i3ADE4977F1863A0F/image-dimensions/660x383?v=v2" width="660" height="383" role="button" title="danielmartynek_0-1635255124530.png" alt="danielmartynek_0-1635255124530.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielmartynek_0-1635255124530.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It seems like the programmer cannot mass erase the MCU even though the mass erase is enabled in the FSEC byte.&lt;/P&gt;
&lt;P&gt;I think the only explanation is that CSEc is enabled.&lt;/P&gt;
&lt;P&gt;Have you partitioned the MCU for CSEc?&lt;/P&gt;
&lt;P&gt;If so, Mass erase is blocked by the CSEc engine.&lt;/P&gt;
&lt;P&gt;Please refer to: AN12130 Production Flash Programming Best Practices for S32K1xx MCUs&lt;/P&gt;
&lt;P&gt;3.2.5.2 Mass erase and CSEc considerations&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12130.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN12130.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Oct 2021 13:37:29 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2021-10-26T13:37:29Z</dc:date>
    <item>
      <title>S32k146 will not erase via debugger</title>
      <link>https://community.nxp.com/t5/S32K/S32k146-will-not-erase-via-debugger/m-p/1360145#M12534</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I accidently reprogrammed the option bytes from region 0x400 to 0x40f and now I am not able to erase the device anymore. I can connect with Jlink Commander and I tried to start a mass erase as described in this question:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K/Unbricking-S32K146/m-p/937227" target="_blank"&gt;Unbricking S32K146 - NXP Community&lt;/A&gt;&amp;nbsp;but it does not seem to work&lt;/P&gt;&lt;P&gt;SEGGER J-Link Commander V7.56a (Compiled Oct 11 2021 16:33:05)&lt;BR /&gt;DLL version V7.56a, compiled Oct 11 2021 16:31:49&lt;/P&gt;&lt;P&gt;Connecting to J-Link via USB...O.K.&lt;BR /&gt;Firmware: J-Link V11 compiled Oct 6 2021 11:22:15&lt;BR /&gt;Hardware version: V11.00&lt;BR /&gt;License(s): RDI, FlashBP, FlashDL, JFlash, GDB&lt;BR /&gt;VTref=4.999V&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Type "connect" to establish a target connection, '?' for help&lt;BR /&gt;J-Link&amp;gt;connect&lt;BR /&gt;Please specify device / core. &amp;lt;Default&amp;gt;: S32K146&lt;BR /&gt;Type '?' for selection dialog&lt;BR /&gt;Device&amp;gt;?&lt;BR /&gt;Please specify target interface:&lt;BR /&gt;J) JTAG (Default)&lt;BR /&gt;S) SWD&lt;BR /&gt;T) cJTAG&lt;BR /&gt;TIF&amp;gt;S&lt;BR /&gt;Specify target interface speed [kHz]. &amp;lt;Default&amp;gt;: 4000 kHz&lt;BR /&gt;Speed&amp;gt;&lt;BR /&gt;Device "S32K146 (ALLOW SECURITY)" selected.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Connecting to target via SWD&lt;BR /&gt;InitTarget() start&lt;BR /&gt;InitTarget()&lt;BR /&gt;Active Kinetis write protection detected. This could cause problems during flash download.&lt;BR /&gt;Note: Unsecuring will trigger a mass erase of the internal flash.&lt;/P&gt;&lt;P&gt;Executing default behavior previously saved in the registry.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;InitTarget() end&lt;BR /&gt;Found SW-DP with ID 0x2BA01477&lt;BR /&gt;DPIDR: 0x2BA01477&lt;BR /&gt;Scanning AP map to find all available APs&lt;BR /&gt;AP[2]: Stopped AP scan as end of AP map has been reached&lt;BR /&gt;AP[0]: AHB-AP (IDR: 0x24770011)&lt;BR /&gt;AP[1]: JTAG-AP (IDR: 0x001C0000)&lt;BR /&gt;Iterating through AP map to find AHB-AP to use&lt;BR /&gt;AP[0]: Core found&lt;BR /&gt;AP[0]: AHB-AP ROM base: 0xE00FF000&lt;BR /&gt;CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)&lt;BR /&gt;Found Cortex-M4 r0p1, Little endian.&lt;BR /&gt;FPUnit: 6 code (BP) slots and 2 literal slots&lt;BR /&gt;CoreSight components:&lt;BR /&gt;ROMTbl[0] @ E00FF000&lt;BR /&gt;[0][0]: E000E000 CID B105E00D PID 000BB00C SCS-M7&lt;BR /&gt;[0][1]: E0001000 CID B105E00D PID 003BB002 DWT&lt;BR /&gt;[0][2]: E0002000 CID B105E00D PID 002BB003 FPB&lt;BR /&gt;[0][3]: E0000000 CID B105E00D PID 003BB001 ITM&lt;BR /&gt;[0][4]: E0040000 CID B105900D PID 000BB9A1 TPIU&lt;BR /&gt;Initializing 126976 bytes work RAM @ 0x1FFF0000&lt;BR /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;BR /&gt;Reset: Reset device via AIRCR.SYSRESETREQ.&lt;BR /&gt;T-bit of XPSR is 0 but should be 1. Changed to 1.&lt;BR /&gt;Cortex-M4 identified.&lt;BR /&gt;J-Link&amp;gt;r0&lt;BR /&gt;J-Link&amp;gt;swdwritedp 2,0x01000000&lt;BR /&gt;Write DP register 2 = 0x01000000&lt;BR /&gt;J-Link&amp;gt;swdreadap 0&lt;BR /&gt;Read AP register 0 = 0x40000001&lt;BR /&gt;J-Link&amp;gt;swdreadap 0&lt;BR /&gt;Read AP register 0 = 0x0001003B&lt;BR /&gt;J-Link&amp;gt;swdreadap 1&lt;BR /&gt;Read AP register 1 = 0x0001003B&lt;BR /&gt;J-Link&amp;gt;swdreadap 1&lt;BR /&gt;Read AP register 1 = 0x00000000&lt;BR /&gt;J-Link&amp;gt;unlock Kinetis&lt;BR /&gt;Found SWD-DP with ID 0x2BA01477&lt;BR /&gt;Unlocking device...O.K.&lt;BR /&gt;J-Link&amp;gt;swdwriteap 1,0x01&lt;BR /&gt;Write AP register 1 = 0x00000001&lt;BR /&gt;J-Link&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any Hints on what is going wrong. Or is there any other way to start a mass erase and restore the bytes from section 0x400 to 0x40F. Just for my understanding I would also like to know how I can read out the&amp;nbsp;Read-only identification register (0x3F) from the MDM-AP with Jlink just so I can check that I am doing everything right.&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 14:42:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k146-will-not-erase-via-debugger/m-p/1360145#M12534</guid>
      <dc:creator>neurolyzer</dc:creator>
      <dc:date>2021-10-22T14:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: S32k146 will not erase via debugger</title>
      <link>https://community.nxp.com/t5/S32K/S32k146-will-not-erase-via-debugger/m-p/1360819#M12548</link>
      <description>&lt;P&gt;Hi Nils,&lt;/P&gt;
&lt;P&gt;The Status register looks good.&lt;/P&gt;
&lt;P&gt;You should be able to unlock it, and the command reports that it was successful (Unlocking device...O.K.).&lt;/P&gt;
&lt;P&gt;Please remove the last command (J-Link&amp;gt;swdwriteap 1,0x01) and try to load an application instead.&lt;/P&gt;
&lt;P&gt;To read the Read-only identification register, write:&lt;/P&gt;
&lt;LI-CODE lang="css"&gt;J-Link&amp;gt;swdwritedp 2,0x010000F0

Write DP register 2 = 0x010000F0

J-Link&amp;gt;swdreadap 3

Read AP register 3 = 0x00000000

J-Link&amp;gt;swdreadap 3

Read AP register 3 = 0x001C0000&lt;/LI-CODE&gt;
&lt;P&gt;The first command above selects the bank with IDR (SELECT[7:4] = 0xF).&lt;/P&gt;
&lt;P&gt;And the second command reads the IDR register (A[3:2] = 3).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1635159792602.png" style="width: 662px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160029i397EDDA0C49FE081/image-dimensions/662x306?v=v2" width="662" height="306" role="button" title="danielmartynek_0-1635159792602.png" alt="danielmartynek_0-1635159792602.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielmartynek_0-1635159792602.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 11:04:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k146-will-not-erase-via-debugger/m-p/1360819#M12548</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-10-25T11:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: S32k146 will not erase via debugger</title>
      <link>https://community.nxp.com/t5/S32K/S32k146-will-not-erase-via-debugger/m-p/1361005#M12555</link>
      <description>&lt;P&gt;Thank you for the quick reply,&lt;/P&gt;&lt;P&gt;I tried to upload a small file but I get the following result:&lt;/P&gt;&lt;P&gt;J-Link&amp;gt;r&lt;BR /&gt;Reset delay: 0 ms&lt;BR /&gt;Reset type NORMAL: Resets core &amp;amp; peripherals via SYSRESETREQ &amp;amp; VECTRESET bit.&lt;BR /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;BR /&gt;Reset: Reset device via AIRCR.SYSRESETREQ.&lt;BR /&gt;T-bit of XPSR is 0 but should be 1. Changed to 1.&lt;BR /&gt;J-Link&amp;gt;swdwriteDP 2, 0x01000000&lt;BR /&gt;Write DP register 2 = 0x01000000&lt;BR /&gt;J-Link&amp;gt;swdreadap 0&lt;BR /&gt;Read AP register 0 = 0x40000001&lt;BR /&gt;J-Link&amp;gt;swdreadap 0&lt;BR /&gt;Read AP register 0 = 0x0001003B&lt;BR /&gt;J-Link&amp;gt;swdreadap 1&lt;BR /&gt;Read AP register 1 = 0x0001003B&lt;BR /&gt;J-Link&amp;gt;swdreadap 1&lt;BR /&gt;Read AP register 1 = 0x00000000&lt;BR /&gt;J-Link&amp;gt;unlock Kinetis&lt;BR /&gt;Found SWD-DP with ID 0x2BA01477&lt;BR /&gt;Unlocking device...O.K.&lt;BR /&gt;J-Link&amp;gt;loadbin r:\upload.bin, 0x400 ,0x20&lt;BR /&gt;T-bit of XPSR is 0 but should be 1. Changed to 1.&lt;BR /&gt;Downloading file [r:\upload.bin]...&lt;/P&gt;&lt;P&gt;****** Error: Failed to erase sectors 0 @ address 0x00000000 (Algo91: Unspecified error #2)&lt;BR /&gt;Failed to erase sectors.&lt;/P&gt;&lt;P&gt;Unspecified error -1&lt;BR /&gt;J-Link&amp;gt;&lt;/P&gt;&lt;P&gt;Wouldn't it work to just do like&lt;/P&gt;&lt;P&gt;w1 0x400 FF ?&lt;/P&gt;&lt;P&gt;with all the memory range in the rangefrom&amp;nbsp; 0x400 0x40f to reset their values?&lt;/P&gt;&lt;P&gt;Or do I have to tell the jlink commander somehow not to erase before flash?&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 18:21:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k146-will-not-erase-via-debugger/m-p/1361005#M12555</guid>
      <dc:creator>neurolyzer</dc:creator>
      <dc:date>2021-10-25T18:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: S32k146 will not erase via debugger</title>
      <link>https://community.nxp.com/t5/S32K/S32k146-will-not-erase-via-debugger/m-p/1361604#M12571</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/192715"&gt;@neurolyzer&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;If you look at the MDM-AP Status register, it reads 0x0001003B, Status[2] = 0 Unsecure state.&lt;/P&gt;
&lt;P&gt;Also, the Unlock Kinetis command was successful.&lt;/P&gt;
&lt;P&gt;When unlocked (Unlocking device...O.K.), the Flash configuration field at 0x400 is programmed to 0xFFFFFFFE (FSEC[SEC] = 0b10).&lt;/P&gt;
&lt;P&gt;All 0xFF in the flash configuration field would mean the MCU is secure.&lt;/P&gt;
&lt;P&gt;Can you load an example from the S32DS IDE?&lt;/P&gt;
&lt;P&gt;Do you have any other debugger?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 10:46:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k146-will-not-erase-via-debugger/m-p/1361604#M12571</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-10-26T10:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: S32k146 will not erase via debugger</title>
      <link>https://community.nxp.com/t5/S32K/S32k146-will-not-erase-via-debugger/m-p/1361670#M12574</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;when I examine the area 0x400 i do not see the&amp;nbsp;&lt;SPAN&gt;0xFFFFFFFE (FSEC[SEC] = 0b10).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;this is what actually is written to that 0x400 area&lt;/P&gt;&lt;P&gt;J-Link&amp;gt;mem 0x400 20&lt;BR /&gt;00000400 = 30 30 43 35 30 36 30 30 30 30 43 35 32 36 30 30 00C5060000C52600&lt;BR /&gt;00000410 = 30 30 43 35 30 36 30 30 30 30 30 32 0D 0A 53 32 00C506000002..S2&lt;BR /&gt;J-Link&amp;gt;&lt;/P&gt;&lt;P&gt;I do have an debugger from ISystem but that one is also no capable erasing or flashing...&lt;/P&gt;&lt;P&gt;Any more Ideas on what I could check or do?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 12:40:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k146-will-not-erase-via-debugger/m-p/1361670#M12574</guid>
      <dc:creator>neurolyzer</dc:creator>
      <dc:date>2021-10-26T12:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: S32k146 will not erase via debugger</title>
      <link>https://community.nxp.com/t5/S32K/S32k146-will-not-erase-via-debugger/m-p/1361715#M12576</link>
      <description>&lt;P&gt;The fact that you can read the flash means the MCU is not secure.&lt;/P&gt;
&lt;P&gt;The FSEC byte is at 0x40C, and you read 0x32 there.&lt;/P&gt;
&lt;P&gt;KEYEN = 0b00 disabled, MEEN = 0b11 enabled, FSLACC = 0b00 granted, SEC = 0b10 unsecure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the first post you had:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Connecting to target via SWD&lt;BR /&gt;InitTarget() start&lt;BR /&gt;InitTarget()&lt;BR /&gt;Active Kinetis write protection detected. This could cause problems during flash download.&lt;BR /&gt;Note: Unsecuring will trigger a mass erase of the internal flash.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So, it seems like this is not an issue with the security but the flash protection configured in FPROT bytes of the Flash configuration field.&lt;/P&gt;
&lt;P&gt;This protection can be removed by Mass erase only:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1635255124530.png" style="width: 660px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160226i3ADE4977F1863A0F/image-dimensions/660x383?v=v2" width="660" height="383" role="button" title="danielmartynek_0-1635255124530.png" alt="danielmartynek_0-1635255124530.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielmartynek_0-1635255124530.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It seems like the programmer cannot mass erase the MCU even though the mass erase is enabled in the FSEC byte.&lt;/P&gt;
&lt;P&gt;I think the only explanation is that CSEc is enabled.&lt;/P&gt;
&lt;P&gt;Have you partitioned the MCU for CSEc?&lt;/P&gt;
&lt;P&gt;If so, Mass erase is blocked by the CSEc engine.&lt;/P&gt;
&lt;P&gt;Please refer to: AN12130 Production Flash Programming Best Practices for S32K1xx MCUs&lt;/P&gt;
&lt;P&gt;3.2.5.2 Mass erase and CSEc considerations&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12130.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN12130.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 13:37:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k146-will-not-erase-via-debugger/m-p/1361715#M12576</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-10-26T13:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: S32k146 will not erase via debugger</title>
      <link>https://community.nxp.com/t5/S32K/S32k146-will-not-erase-via-debugger/m-p/1361773#M12578</link>
      <description>&lt;P&gt;&lt;EM&gt;Have you partitioned the MCU for CSEc?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Not Knowingly ;-)...is there a quick way to check if it is partioned or not?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 14:41:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k146-will-not-erase-via-debugger/m-p/1361773#M12578</guid>
      <dc:creator>neurolyzer</dc:creator>
      <dc:date>2021-10-26T14:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: S32k146 will not erase via debugger</title>
      <link>https://community.nxp.com/t5/S32K/S32k146-will-not-erase-via-debugger/m-p/1361897#M12581</link>
      <description>&lt;P&gt;You can read the FCFG1_DEPART register to see if the MCU was partitioned at all.&lt;/P&gt;
&lt;P&gt;But it is more difficult to tell if the CSEc keys space has been allocated and the keys loaded.&lt;/P&gt;
&lt;P&gt;Something similar was discussed recently here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/S32K144-detect-partition-settings-and-change-partitioning/m-p/1355001#M12435" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/S32K/S32K144-detect-partition-settings-and-change-partitioning/m-p/1355001#M12435&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 20:15:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k146-will-not-erase-via-debugger/m-p/1361897#M12581</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-10-26T20:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: S32k146 will not erase via debugger</title>
      <link>https://community.nxp.com/t5/S32K/S32k146-will-not-erase-via-debugger/m-p/1362191#M12591</link>
      <description>&lt;P&gt;Hi,&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="neurolyzer_1-1635319856441.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160342i419FE6E2A06E17AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="neurolyzer_1-1635319856441.png" alt="neurolyzer_1-1635319856441.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;neurolyzer_1-1635319856441.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 07:31:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k146-will-not-erase-via-debugger/m-p/1362191#M12591</guid>
      <dc:creator>neurolyzer</dc:creator>
      <dc:date>2021-10-27T07:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: S32k146 will not erase via debugger</title>
      <link>https://community.nxp.com/t5/S32K/S32k146-will-not-erase-via-debugger/m-p/1362318#M12598</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/192715"&gt;@neurolyzer&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Comparing the result to my reading on an EVB, I think DEPART = 0xC&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1635325604016.png" style="width: 732px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160382i32F7E25E9C106CCA/image-dimensions/732x150?v=v2" width="732" height="150" role="button" title="danielmartynek_0-1635325604016.png" alt="danielmartynek_0-1635325604016.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielmartynek_0-1635325604016.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1635325757955.png" style="width: 535px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160385i158B1484BCB834D0/image-dimensions/535x332?v=v2" width="535" height="332" role="button" title="danielmartynek_1-1635325757955.png" alt="danielmartynek_1-1635325757955.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielmartynek_1-1635325757955.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So, it was partitioned but not for EEPROM/CSEc.&lt;/P&gt;
&lt;P&gt;Not sure why it can't mass erase the MCU.&lt;/P&gt;
&lt;P&gt;Can you try loading an application to SRAM instead of Flash in S32DS and trigger mass erase (&lt;STRONG&gt;Erase All Blocks &lt;U&gt;Unsecure&lt;/U&gt;&lt;/STRONG&gt;) from that application?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 09:12:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k146-will-not-erase-via-debugger/m-p/1362318#M12598</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-10-27T09:12:37Z</dc:date>
    </item>
  </channel>
</rss>

