<?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: i.MX8M Resource Domain Controller - Core accessing Bus Master in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Resource-Domain-Controller-Core-accessing-Bus-Master/m-p/1158630#M162469</link>
    <description>&lt;P&gt;There are no PDAP registers for the USB controllers since they always operate as bus masters. The USB controller exchanges data with cores and other bus masters through a buffers assigned in shared memory.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Artur&lt;/P&gt;</description>
    <pubDate>Thu, 24 Sep 2020 11:18:26 GMT</pubDate>
    <dc:creator>art</dc:creator>
    <dc:date>2020-09-24T11:18:26Z</dc:date>
    <item>
      <title>i.MX8M Resource Domain Controller - Core accessing Bus Master</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Resource-Domain-Controller-Core-accessing-Bus-Master/m-p/1156458#M162221</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;RDC&amp;nbsp; controls cores and bus masters access of memory and peripheral controllers. Cortex A53 and M4 are cores and USB Host controller is bus master.How to set the access permissions and domain if cortex M4 need to access USB Host controller? Couldn't find any PDAP register for USB Host. Can someone please guide me on this?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dilip&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 18:14:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Resource-Domain-Controller-Core-accessing-Bus-Master/m-p/1156458#M162221</guid>
      <dc:creator>dilip</dc:creator>
      <dc:date>2020-09-21T18:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Resource Domain Controller - Core accessing Bus Master</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Resource-Domain-Controller-Core-accessing-Bus-Master/m-p/1158630#M162469</link>
      <description>&lt;P&gt;There are no PDAP registers for the USB controllers since they always operate as bus masters. The USB controller exchanges data with cores and other bus masters through a buffers assigned in shared memory.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Artur&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 11:18:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Resource-Domain-Controller-Core-accessing-Bus-Master/m-p/1158630#M162469</guid>
      <dc:creator>art</dc:creator>
      <dc:date>2020-09-24T11:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Resource Domain Controller - Core accessing Bus Master</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Resource-Domain-Controller-Core-accessing-Bus-Master/m-p/1158658#M162472</link>
      <description>&lt;P&gt;Hi Arthur,&lt;/P&gt;&lt;P&gt;Sorry. I didn't understood following explanation&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;"The USB controller exchanges data with cores and other bus masters through a buffers assigned in shared memory."&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Does this mean USB Host controllers are always accessible by both M4 and A53 cores? I did following experiments on u-boot and still doesn't understand it fully.&lt;/P&gt;&lt;P&gt;Memory mapped address of Master assignment register for A53, M4, USB1 and 2 are following,&lt;/P&gt;&lt;P&gt;RDC_MDA0 - 0x303d0200&lt;/P&gt;&lt;P&gt;RDC_MDA1 - 0x303d0204&lt;/P&gt;&lt;P&gt;RDC_MDA19 - 0x303d024c&lt;/P&gt;&lt;P&gt;RDC_MDA20 - 0x303d0250&lt;/P&gt;&lt;P&gt;Using UBoot memory write commands, I assigned USB1 and USB2 to domain 1. By default, A53 and M4 are in domain zero. Then I executed "usb start" command to see whether A53 still able to access USB Host. It is working fine. Following are the corresponding serial console snapshot,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;=&amp;gt; md 0 c&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;303d0200: 00000000 00000000 00000000 00000000 ................&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;303d0210: 00000000 00000000 00000000 00000000 ................&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;303d0220: 00000000 00000000 00000000 00000000 ................&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;=&amp;gt; &lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;303d0230: 00000000 00000000 00000000 00000000 ................&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;303d0240: 00000000 00000000 00000000 00000001 ................&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;303d0250: 00000001 00000000 00000000 00000000 ................&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;=&amp;gt; usb start&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;starting USB...&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;USB0: Register 2000140 NbrPorts 2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;Starting the controller&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;USB XHCI 1.10&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;USB1: Register 2000140 NbrPorts 2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;Starting the controller&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;USB XHCI 1.10&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;scanning bus 0 for devices... 1 USB Device(s) found&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;scanning bus 1 for devices... 3 USB Device(s) found&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;scanning usb for storage devices... 0 Storage Device(s) found&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;=&amp;gt; &lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am facing a specific problem when loading&amp;nbsp; M4 RTOS binary from u-boot. It is USB Host application and port status change interrupts are not getting triggered to M4 code when loaded via u-boot. It works fine, when loaded via JTAG. So I am kind of sure that since XHCI controllers are accessible from U-Boot, thats why M4 is not getting XHCI related events and interrupts.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Dilip&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 12:17:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Resource-Domain-Controller-Core-accessing-Bus-Master/m-p/1158658#M162472</guid>
      <dc:creator>dilip</dc:creator>
      <dc:date>2020-09-24T12:17:25Z</dc:date>
    </item>
  </channel>
</rss>

