<?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: MPC5748G - Separate Ethernet Buffer/Descriptor region with SMPU protection in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-Separate-Ethernet-Buffer-Descriptor-region-with-SMPU/m-p/1188678#M16731</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Nice to hear that.&lt;/P&gt;
&lt;P&gt;Thank you for sharing the solution with us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 07:11:35 GMT</pubDate>
    <dc:creator>petervlna</dc:creator>
    <dc:date>2020-11-25T07:11:35Z</dc:date>
    <item>
      <title>MPC5748G - Separate Ethernet Buffer/Descriptor region with SMPU protection</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-Separate-Ethernet-Buffer-Descriptor-region-with-SMPU/m-p/1187382#M16719</link>
      <description>&lt;P&gt;Hi, We are using MPC5748G and have Ethernet 0 configured and working fine.&lt;/P&gt;&lt;P&gt;We have the following memory sections configured in RAM.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ram : ORIGIN = 0x40018000, LENGTH = 0x00080000 /* Internal SRAM for data */&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ethbuf : ORIGIN = 0x40090000, LENGTH = 0x00020000 /* Internal SRAM for data */&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ethbuf region is used for Eth Tx/Rx buffers and Eth Tx/Rx Buffer descriptors. The map file generated contains the following:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;.ethbuf 0x0000000040090000 0x7a80 objs//Eth_31_MPC5748G_PBcfg.o&lt;BR /&gt;0x0000000040090000 Eth_TxBuffers_0&lt;BR /&gt;0x0000000040093c00 Eth_RxBuffers_0&lt;BR /&gt;0x0000000040097800 Eth_TargetTxBufferDescriptors_0&lt;BR /&gt;0x0000000040097940 Eth_TargetRxBufferDescriptors_0&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;This is working fine in normally. Now, we tried to enable memory protection and we are facing issue. We are not able to set the controller mode to Active. After setting the controller mode to active, setting the RDAR(Receive descriptor active register) produces the EBERR and the controller mode gets reset.&lt;/P&gt;&lt;P&gt;We analyzed and found that the EBERR happens because the Ethernet Rx/Tx descriptors region is mpu protected and that is the reason for this error. Cache Inhibit is set for all the memory regions.&lt;/P&gt;&lt;P&gt;We just tried to disable the SMPU_0 and SMPU_1 just to make sure that the mpu protection is the problem and we were able to see the packets.&lt;/P&gt;&lt;P&gt;Can you please suggest what is the correct way to have MPU protection and also to have separate region defined for Eth Rx/Tx buffer&amp;nbsp; and Eth Rx/Tx buffer descriptors?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 09:48:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-Separate-Ethernet-Buffer-Descriptor-region-with-SMPU/m-p/1187382#M16719</guid>
      <dc:creator>VinothK</dc:creator>
      <dc:date>2020-11-23T09:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G - Separate Ethernet Buffer/Descriptor region with SMPU protection</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-Separate-Ethernet-Buffer-Descriptor-region-with-SMPU/m-p/1188224#M16726</link>
      <description>&lt;P&gt;I am able to solve the issue. The issue is that the memory section '&lt;EM&gt;ethbuf'&amp;nbsp;&lt;/EM&gt;configured for ETH Tx/Rx buffers and descriptors was not accessible by Ethernet0 Bus master. The Ethernet0 Bus master had to be given access by configuring the SMPU's&amp;nbsp;&lt;SPAN&gt;Region Descriptor n, Word 2&amp;nbsp;properly. The Bus master id was 5 for Ethernet0&amp;nbsp; and the SMPU for the ethbuf region was SMPU_1. After giving the access, I do not see the EBERR on setting RDAR bit after setting controller mode to ACTIVE.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 13:35:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-Separate-Ethernet-Buffer-Descriptor-region-with-SMPU/m-p/1188224#M16726</guid>
      <dc:creator>VinothK</dc:creator>
      <dc:date>2020-11-24T13:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G - Separate Ethernet Buffer/Descriptor region with SMPU protection</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-Separate-Ethernet-Buffer-Descriptor-region-with-SMPU/m-p/1188678#M16731</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Nice to hear that.&lt;/P&gt;
&lt;P&gt;Thank you for sharing the solution with us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 07:11:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-Separate-Ethernet-Buffer-Descriptor-region-with-SMPU/m-p/1188678#M16731</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2020-11-25T07:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G - Separate Ethernet Buffer/Descriptor region with SMPU protection</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-Separate-Ethernet-Buffer-Descriptor-region-with-SMPU/m-p/1790304#M24738</link>
      <description>这个问题怎么解决啊，如何禁用MPU对以太网的保护</description>
      <pubDate>Wed, 17 Jan 2024 11:51:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-Separate-Ethernet-Buffer-Descriptor-region-with-SMPU/m-p/1790304#M24738</guid>
      <dc:creator>JackChen2022</dc:creator>
      <dc:date>2024-01-17T11:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G - Separate Ethernet Buffer/Descriptor region with SMPU protection</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-Separate-Ethernet-Buffer-Descriptor-region-with-SMPU/m-p/1790329#M24739</link>
      <description>如何授权ENET对缓冲区描述的访问权限，有具体代码实现吗</description>
      <pubDate>Wed, 17 Jan 2024 12:37:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-Separate-Ethernet-Buffer-Descriptor-region-with-SMPU/m-p/1790329#M24739</guid>
      <dc:creator>JackChen2022</dc:creator>
      <dc:date>2024-01-17T12:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G - Separate Ethernet Buffer/Descriptor region with SMPU protection</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-Separate-Ethernet-Buffer-Descriptor-region-with-SMPU/m-p/1791494#M24749</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JackChen2022_0-1705632325875.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/258926i677B54F1E694A7F4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JackChen2022_0-1705632325875.png" alt="JackChen2022_0-1705632325875.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now I have encountered the same problem on the S32K148 chip. I want to know how you solved it at the beginning and what the specific implementation steps are.&lt;BR /&gt;I am currently in the process of ENET initialization and an EBERR failure occurs when I write values to registers RDAR and TDAR.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 02:47:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-Separate-Ethernet-Buffer-Descriptor-region-with-SMPU/m-p/1791494#M24749</guid>
      <dc:creator>JackChen2022</dc:creator>
      <dc:date>2024-01-19T02:47:39Z</dc:date>
    </item>
  </channel>
</rss>

