<?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 Re: MPU access error in S32K</title>
    <link>https://community.nxp.com/t5/S32K/MPU-access-error/m-p/1680865#M24709</link>
    <description>Your steps has a little different from mine, please follow the following steps to reproduce the problem, thans.&lt;BR /&gt;step1:&lt;BR /&gt;&lt;BR /&gt;J-Link&amp;gt;w4 20000004 11&lt;BR /&gt;Writing 00000011 -&amp;gt; 20000004&lt;BR /&gt;J-Link&amp;gt;mem32 20000004 1&lt;BR /&gt;20000004 = 00000011&lt;BR /&gt;&lt;BR /&gt;step2:&lt;BR /&gt;J-Link&amp;gt;w4 4000d408 69a69a&lt;BR /&gt;Writing 0069a69a -&amp;gt; 4000D408&lt;BR /&gt;J-Link&amp;gt;mem32 4000d408 1&lt;BR /&gt;4000D800 = 0069a69a&lt;BR /&gt;&lt;BR /&gt;step3:&lt;BR /&gt;&lt;BR /&gt;J-Link&amp;gt;w4 4000d40C 1&lt;BR /&gt;Writing 00000001 -&amp;gt; 4000D40C&lt;BR /&gt;J-Link&amp;gt;mem32 4000d40c 1&lt;BR /&gt;4000D800 = 00000001&lt;BR /&gt;&lt;BR /&gt;step4:&lt;BR /&gt;&lt;BR /&gt;J-Link&amp;gt;mem32 20000004 1&lt;BR /&gt;20000004 = 00000011&lt;BR /&gt;&lt;BR /&gt;J-Link&amp;gt;mem32 20000004 1&lt;BR /&gt;20000004 = 00000011&lt;BR /&gt;&lt;BR /&gt;J-Link&amp;gt;mem32 20000004 1&lt;BR /&gt;20000004 = 00000011&lt;BR /&gt;&lt;BR /&gt;J-Link&amp;gt;mem32 20000004 1&lt;BR /&gt;20000004 = 00000011&lt;BR /&gt;&lt;BR /&gt;J-Link&amp;gt;mem32 20000004 1&lt;BR /&gt;20000004 = 00000011&lt;BR /&gt;&lt;BR /&gt;We try to read multiple times about address 0x2000_0004, This address can always be read out.&lt;BR /&gt;&lt;BR /&gt;step5:&lt;BR /&gt;&lt;BR /&gt;J-Link&amp;gt;w4 20000004 22&lt;BR /&gt;Writing 00000022 -&amp;gt; 20000004&lt;BR /&gt;&lt;BR /&gt;step6.:&lt;BR /&gt;J-Link&amp;gt;mem32 20000004 1&lt;BR /&gt;Could not read memory.</description>
    <pubDate>Tue, 04 Jul 2023 03:36:56 GMT</pubDate>
    <dc:creator>Ccccc</dc:creator>
    <dc:date>2023-07-04T03:36:56Z</dc:date>
    <item>
      <title>MPU access error</title>
      <link>https://community.nxp.com/t5/S32K/MPU-access-error/m-p/1679888#M24648</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We followed the following steps and found that the phenomenon&amp;nbsp; did not meet expectations.&lt;/P&gt;&lt;P&gt;1. write 0x11 into 0x2000_0000 address, read 0x2000_0000&amp;nbsp; ----&amp;gt; 0x2000_0000 =0x11&lt;/P&gt;&lt;P&gt;2. modify RGD0_WORD2 to 0x69a69a (-w-, only write)&lt;/P&gt;&lt;P&gt;3. write 1 into RGD0_WORD3[0] to enable RGD0&lt;/P&gt;&lt;P&gt;4. read&amp;nbsp;0x2000_0000=0x11, Why can the value still be read even though it has been changed to an unreadable permission?&lt;/P&gt;&lt;P&gt;5. write 0x22 into 0x2000_0000 address&lt;/P&gt;&lt;P&gt;6. read 0x2000_0000， it report can not read memory&lt;/P&gt;&lt;P&gt;Do I need to perform a write operation to take effect after modifying the permissions of the region descriptor?&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jul 2023 05:00:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MPU-access-error/m-p/1679888#M24648</guid>
      <dc:creator>Ccccc</dc:creator>
      <dc:date>2023-07-01T05:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: MPU access error</title>
      <link>https://community.nxp.com/t5/S32K/MPU-access-error/m-p/1680216#M24670</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@Ccccc" target="_blank"&gt;Hi@Ccccc&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please try to add a little delay after step 3 and test again，&lt;/P&gt;
&lt;P&gt;If the problem still exists, I need you to provide the test code, and I need to reproduce the problem.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 06:40:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MPU-access-error/m-p/1680216#M24670</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2023-07-03T06:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: MPU access error</title>
      <link>https://community.nxp.com/t5/S32K/MPU-access-error/m-p/1680342#M24677</link>
      <description>&lt;P&gt;Hi Senlent&lt;/P&gt;&lt;P&gt;We use the standard J-Link to send commands, the process is as follows:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;step1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;J-Link&amp;gt;w4 20000004 11&lt;BR /&gt;Writing 00000011 -&amp;gt; 20000004&lt;BR /&gt;J-Link&amp;gt;mem32 20000004 1&lt;BR /&gt;20000004 = 00000011&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;step2:&lt;/STRONG&gt;&lt;BR /&gt;J-Link&amp;gt;w4 4000d408 69a69a&lt;BR /&gt;Writing 0069a69a -&amp;gt; 4000D408&lt;BR /&gt;J-Link&amp;gt;mem32 4000d408 1&lt;BR /&gt;4000D800 = 0069a69a&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;step3:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;J-Link&amp;gt;w4 4000d40C 1&lt;BR /&gt;Writing 00000001 -&amp;gt; 4000D40C&lt;BR /&gt;J-Link&amp;gt;mem32 4000d40c 1&lt;BR /&gt;4000D800 = 00000001&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;step4:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;J-Link&amp;gt;mem32 20000004 1&lt;BR /&gt;20000004 = 00000011&lt;/P&gt;&lt;P&gt;J-Link&amp;gt;mem32 20000004 1&lt;BR /&gt;20000004 = 00000011&lt;/P&gt;&lt;P&gt;J-Link&amp;gt;mem32 20000004 1&lt;BR /&gt;20000004 = 00000011&lt;/P&gt;&lt;P&gt;J-Link&amp;gt;mem32 20000004 1&lt;BR /&gt;20000004 = 00000011&lt;/P&gt;&lt;P&gt;J-Link&amp;gt;mem32 20000004 1&lt;BR /&gt;20000004 = 00000011&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;We try to read multiple times about address 0x2000_0004,&amp;nbsp;This address can always be read out&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;step5:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;J-Link&amp;gt;w4 20000004 22&lt;BR /&gt;Writing 00000022 -&amp;gt; 20000004&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;step6.:&lt;/STRONG&gt;&lt;BR /&gt;J-Link&amp;gt;mem32 20000004 1&lt;BR /&gt;Could not read memory.&lt;/P&gt;&lt;P&gt;When we perform a write operation, it becomes unreadable.&amp;nbsp;So, after we modify the permissions, do we need to perform the operations corresponding to the modified permissions to make them effective？&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 09:00:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MPU-access-error/m-p/1680342#M24677</guid>
      <dc:creator>Ccccc</dc:creator>
      <dc:date>2023-07-03T09:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: MPU access error</title>
      <link>https://community.nxp.com/t5/S32K/MPU-access-error/m-p/1680838#M24705</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@Ccccc" target="_blank"&gt;Hi@Ccccc&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;below is my test process, I see no problem here.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1688439216001.png" style="width: 649px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/230612iD73ED5B69047AEF4/image-dimensions/649x327?v=v2" width="649" height="327" role="button" title="Senlent_0-1688439216001.png" alt="Senlent_0-1688439216001.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 03:00:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MPU-access-error/m-p/1680838#M24705</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2023-07-04T03:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: MPU access error</title>
      <link>https://community.nxp.com/t5/S32K/MPU-access-error/m-p/1680861#M24708</link>
      <description>&lt;P&gt;Hi Senlent,&lt;/P&gt;&lt;P&gt;Before configuring 0x4000d408 as 0x69a69a, the default permissions are read, write, and execut.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Your steps has a little different from mine.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;First, perform the write operation on 0x20000004 &amp;nbsp;(as step1)&lt;/STRONG&gt;，then perform all the steps in your screenshot again.&lt;/P&gt;&lt;P&gt;Please refer to my previous reply，even if configured as read-only (step2 and step 3), the value of 0x2000-0004 can still be read out (as step4)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 03:32:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MPU-access-error/m-p/1680861#M24708</guid>
      <dc:creator>Ccccc</dc:creator>
      <dc:date>2023-07-04T03:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: MPU access error</title>
      <link>https://community.nxp.com/t5/S32K/MPU-access-error/m-p/1680865#M24709</link>
      <description>Your steps has a little different from mine, please follow the following steps to reproduce the problem, thans.&lt;BR /&gt;step1:&lt;BR /&gt;&lt;BR /&gt;J-Link&amp;gt;w4 20000004 11&lt;BR /&gt;Writing 00000011 -&amp;gt; 20000004&lt;BR /&gt;J-Link&amp;gt;mem32 20000004 1&lt;BR /&gt;20000004 = 00000011&lt;BR /&gt;&lt;BR /&gt;step2:&lt;BR /&gt;J-Link&amp;gt;w4 4000d408 69a69a&lt;BR /&gt;Writing 0069a69a -&amp;gt; 4000D408&lt;BR /&gt;J-Link&amp;gt;mem32 4000d408 1&lt;BR /&gt;4000D800 = 0069a69a&lt;BR /&gt;&lt;BR /&gt;step3:&lt;BR /&gt;&lt;BR /&gt;J-Link&amp;gt;w4 4000d40C 1&lt;BR /&gt;Writing 00000001 -&amp;gt; 4000D40C&lt;BR /&gt;J-Link&amp;gt;mem32 4000d40c 1&lt;BR /&gt;4000D800 = 00000001&lt;BR /&gt;&lt;BR /&gt;step4:&lt;BR /&gt;&lt;BR /&gt;J-Link&amp;gt;mem32 20000004 1&lt;BR /&gt;20000004 = 00000011&lt;BR /&gt;&lt;BR /&gt;J-Link&amp;gt;mem32 20000004 1&lt;BR /&gt;20000004 = 00000011&lt;BR /&gt;&lt;BR /&gt;J-Link&amp;gt;mem32 20000004 1&lt;BR /&gt;20000004 = 00000011&lt;BR /&gt;&lt;BR /&gt;J-Link&amp;gt;mem32 20000004 1&lt;BR /&gt;20000004 = 00000011&lt;BR /&gt;&lt;BR /&gt;J-Link&amp;gt;mem32 20000004 1&lt;BR /&gt;20000004 = 00000011&lt;BR /&gt;&lt;BR /&gt;We try to read multiple times about address 0x2000_0004, This address can always be read out.&lt;BR /&gt;&lt;BR /&gt;step5:&lt;BR /&gt;&lt;BR /&gt;J-Link&amp;gt;w4 20000004 22&lt;BR /&gt;Writing 00000022 -&amp;gt; 20000004&lt;BR /&gt;&lt;BR /&gt;step6.:&lt;BR /&gt;J-Link&amp;gt;mem32 20000004 1&lt;BR /&gt;Could not read memory.</description>
      <pubDate>Tue, 04 Jul 2023 03:36:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MPU-access-error/m-p/1680865#M24709</guid>
      <dc:creator>Ccccc</dc:creator>
      <dc:date>2023-07-04T03:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: MPU access error</title>
      <link>https://community.nxp.com/t5/S32K/MPU-access-error/m-p/1681171#M24735</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@Ccccc" target="_blank"&gt;Hi@Ccccc&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I reproduced your problem, but I can't explain the phenomenon！&lt;/P&gt;
&lt;P&gt;I read about MPU related materials, but I never found such a limitation.&lt;/P&gt;
&lt;P&gt;I think maybe this may also have something to do with J-LINK.&lt;/P&gt;
&lt;P&gt;If you encounter such a problem in your application, then we may need to further verify this problem.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 09:53:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MPU-access-error/m-p/1681171#M24735</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2023-07-04T09:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: MPU access error</title>
      <link>https://community.nxp.com/t5/S32K/MPU-access-error/m-p/1681288#M24744</link>
      <description>&lt;P&gt;Hi Senlent,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;We just thought it was a bit strange, so we raised a question, which doesn't affect our functionality.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 12:24:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MPU-access-error/m-p/1681288#M24744</guid>
      <dc:creator>Ccccc</dc:creator>
      <dc:date>2023-07-04T12:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: MPU access error</title>
      <link>https://community.nxp.com/t5/S32K/MPU-access-error/m-p/1681484#M24756</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@Ccccc" target="_blank"&gt;Hi@Ccccc&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;I will put this question on my list note, if I have time or encounter similar problems, I will repy you again.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 01:38:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MPU-access-error/m-p/1681484#M24756</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2023-07-05T01:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: MPU access error</title>
      <link>https://community.nxp.com/t5/S32K/MPU-access-error/m-p/1681497#M24758</link>
      <description>&lt;P&gt;Hi Senlent,&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 02:00:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MPU-access-error/m-p/1681497#M24758</guid>
      <dc:creator>Ccccc</dc:creator>
      <dc:date>2023-07-05T02:00:49Z</dc:date>
    </item>
  </channel>
</rss>

