<?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>i.MX Processors中的主题 Re: MCUXpresso RDC example does not work on i.MX8M Plus</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/MCUXpresso-RDC-example-does-not-work-on-i-MX8M-Plus/m-p/1636642#M204487</link>
    <description>&lt;P&gt;Thanks for the prompt help,&amp;nbsp;Chavira.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;This application can't support running with Uboot!&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;As I mentioned, I also tried running it by remoteproc in Linux.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;accordingly, it does not support Flash target and DDR target!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;OK. But the application is &lt;A href="https://github.com/nxp-mcuxpresso/mcux-sdk-examples/blob/main/evkmimx8mp/driver_examples/rdc/armgcc/flags.cmake#L154" target="_self"&gt;compiled with MIMX8ML8xxxxx_cm7_ram.ld&lt;/A&gt; rather than &lt;A href="https://github.com/nxp-mcuxpresso/mcux-sdk-examples/blob/main/evkmimx8mp/driver_examples/rdc/armgcc/MIMX8ML8xxxxx_cm7_ddr_ram.ld" target="_self"&gt;MIMX8ML8xxxxx_cm7_ddr_ram.ld&lt;/A&gt;&amp;nbsp;nor&amp;nbsp;&lt;A href="https://github.com/nxp-mcuxpresso/mcux-sdk-examples/blob/main/evkmimx8mp/driver_examples/rdc/armgcc/MIMX8ML8xxxxx_cm7_flash.ld" target="_self"&gt;MIMX8ML8xxxxx_cm7_flash.ld&lt;/A&gt;. It should have supported running from TCM.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;some of the used Resources are assigned to the Cortex-A core by uboot&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I believe you were referring to &lt;A href="https://github.com/nxp-imx/uboot-imx/blob/lf_v2022.04/arch/arm/dts/imx8mp-evk-u-boot.dtsi#L40" target="_self"&gt;this RDC configuration&lt;/A&gt; assigned by &lt;A href="https://github.com/nxp-imx/uboot-imx/blob/lf_v2022.04/arch/arm/mach-imx/spl.c#L471" target="_self"&gt;&lt;SPAN&gt;SPL&lt;/SPAN&gt;&lt;/A&gt;. I have removed them and loaded the new UBoot, the example still doesn't work.&lt;/P&gt;&lt;P&gt;Could you please suggest what else I can try?&lt;/P&gt;</description>
    <pubDate>Wed, 19 Apr 2023 22:11:01 GMT</pubDate>
    <dc:creator>sonfly</dc:creator>
    <dc:date>2023-04-19T22:11:01Z</dc:date>
    <item>
      <title>MCUXpresso RDC example does not work on i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MCUXpresso-RDC-example-does-not-work-on-i-MX8M-Plus/m-p/1636265#M204453</link>
      <description>&lt;P&gt;&lt;A href="https://github.com/nxp-mcuxpresso/mcux-sdk-examples/blob/main/evkmimx8mp/driver_examples/rdc/" target="_blank" rel="noopener"&gt;https://github.com/nxp-mcuxpresso/mcux-sdk-examples/blob/main/evkmimx8mp/driver_examples/rdc/&lt;/A&gt;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;&lt;SPAN&gt;IMX8MP evaluation board&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;&lt;SPAN&gt;SCH-46370 REV B1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;&lt;SPAN&gt;Affected BSP&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;&lt;SPAN&gt;All BSPs from&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/evaluation-kit-for-the-i-mx-8m-plus-applications-processor:8MPLUSLPD4-EVK" target="_blank" rel="nofollow noopener"&gt;NXP website&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;with kernel&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/nxp-imx/linux-imx/tree/lf-5.10.y" target="_blank" rel="noopener"&gt;lf-5.10.y&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/nxp-imx/linux-imx/tree/lf-5.15.y" target="_blank" rel="noopener"&gt;lf-5.15.y&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;&lt;SPAN&gt;MCUXpresso SDK version&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;&lt;A href="https://github.com/nxp-mcuxpresso/mcux-sdk-examples/blob/main/evkmimx8mp/driver_examples/rdc/" target="_self"&gt;&lt;SPAN&gt;SDK_2.13.0_EVK-MIMX8MP&lt;/SPAN&gt;&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Testing Procedure:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Case 1, in U-Boot:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;load mmc 2:2 0x70000000 lib/firmware/rdc.bin
cp.b 70000000 0x7e0000 20000
bootaux 0x7e0000&lt;/PRE&gt;&lt;P&gt;Case 2,&amp;nbsp;&lt;SPAN&gt;in Linux:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;echo -n rdc.elf &amp;gt; /sys/class/remoteproc/remoteproc0/firmware
echo start &amp;gt; /sys/class/remoteproc/remoteproc0/state&lt;/PRE&gt;&lt;P&gt;Expected Output:&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;RDC Example:
RDC Peripheral access control
RDC Peripheral access control with SEMA42
RDC memory region access control

RDC Example Success&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;Actual Output (in both cases):&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;RDC Example:
RDC Peripheral access control&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;I also tried running each of the three test cases&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/nxp-mcuxpresso/mcux-sdk-examples/blob/main/evkmimx8mp/driver_examples/rdc/rdc.c#L232" target="_blank" rel="noopener"&gt;APP_RDC_Periph()&lt;/A&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/nxp-mcuxpresso/mcux-sdk-examples/blob/main/evkmimx8mp/driver_examples/rdc/rdc.c#L234" target="_blank" rel="noopener"&gt;APP_RDC_PeriphWithSema42()&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/nxp-mcuxpresso/mcux-sdk-examples/blob/main/evkmimx8mp/driver_examples/rdc/rdc.c#L236" target="_blank" rel="noopener"&gt;APP_RDC_Mem()&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;by commenting out the other two, all failed. Even though&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/nxp-mcuxpresso/mcux-sdk-examples/blob/main/evkmimx8mp/driver_examples/rdc/rdc.c#L179" target="_blank" rel="noopener"&gt;HardFault_Handler&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;was triggered, &lt;SPAN&gt;memDemoError equals 3&lt;/SPAN&gt; in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/nxp-mcuxpresso/mcux-sdk-examples/blob/main/evkmimx8mp/driver_examples/rdc/rdc.c#L133" target="_blank" rel="noopener"&gt;Fault_Handler&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, the same RDC example for IMX8MM evk works perfectly:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://github.com/nxp-mcuxpresso/mcux-sdk-examples/tree/main/evkmimx8mm/driver_examples/rdc" target="_blank" rel="noopener"&gt;https://github.com/nxp-mcuxpresso/mcux-sdk-examples/tree/main/evkmimx8mm/driver_examples/rdc&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%"&gt;&lt;SPAN&gt;IMX8MM evaluation board&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="50%"&gt;&lt;SPAN&gt;SCH-31407 REV C4&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;&lt;SPAN&gt;Tested BSP&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="50%"&gt;&lt;SPAN&gt;All BSPs from&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/evaluation-kit-for-the-i-mx-8m-mini-applications-processor:8MMINILPD4-EVK" target="_blank" rel="nofollow noopener"&gt;NXP website&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;with kernel&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/nxp-imx/linux-imx/tree/lf-5.10.y" target="_blank" rel="noopener"&gt;lf-5.10.y&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/nxp-imx/linux-imx/tree/lf-5.15.y" target="_blank" rel="noopener"&gt;lf-5.15.y&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;&lt;SPAN&gt;MCUXpresso SDK version&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="50%"&gt;&lt;A href="https://github.com/nxp-mcuxpresso/mcux-sdk-examples/tree/main/evkmimx8mm/driver_examples/rdc" target="_self"&gt;&lt;SPAN&gt;SDK_2.13.0_EVK-MIMX8MM&lt;/SPAN&gt;&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;Any help or suggestion is much appreciated!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 09:12:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MCUXpresso-RDC-example-does-not-work-on-i-MX8M-Plus/m-p/1636265#M204453</guid>
      <dc:creator>sonfly</dc:creator>
      <dc:date>2023-04-20T09:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso RDC example does not work on i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MCUXpresso-RDC-example-does-not-work-on-i-MX8M-Plus/m-p/1636333#M204459</link>
      <description>&lt;P&gt;Thank you for contacting NXP support!&lt;/P&gt;
&lt;P&gt;This application can't support running with Uboot! and accordingly, it does not support Flash target and DDR target!&lt;/P&gt;
&lt;P&gt;This example aims to show the basic usage of the IP's function, some of the used Resources are assigned to the Cortex-A core by uboot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/nxp-mcuxpresso/mcux-sdk-examples/blob/main/evkmimx8mp/driver_examples/rdc/readme.txt" target="_blank"&gt;mcux-sdk-examples/readme.txt at main · nxp-mcuxpresso/mcux-sdk-examples (github.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 14:15:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MCUXpresso-RDC-example-does-not-work-on-i-MX8M-Plus/m-p/1636333#M204459</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2023-04-19T14:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso RDC example does not work on i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MCUXpresso-RDC-example-does-not-work-on-i-MX8M-Plus/m-p/1636642#M204487</link>
      <description>&lt;P&gt;Thanks for the prompt help,&amp;nbsp;Chavira.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;This application can't support running with Uboot!&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;As I mentioned, I also tried running it by remoteproc in Linux.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;accordingly, it does not support Flash target and DDR target!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;OK. But the application is &lt;A href="https://github.com/nxp-mcuxpresso/mcux-sdk-examples/blob/main/evkmimx8mp/driver_examples/rdc/armgcc/flags.cmake#L154" target="_self"&gt;compiled with MIMX8ML8xxxxx_cm7_ram.ld&lt;/A&gt; rather than &lt;A href="https://github.com/nxp-mcuxpresso/mcux-sdk-examples/blob/main/evkmimx8mp/driver_examples/rdc/armgcc/MIMX8ML8xxxxx_cm7_ddr_ram.ld" target="_self"&gt;MIMX8ML8xxxxx_cm7_ddr_ram.ld&lt;/A&gt;&amp;nbsp;nor&amp;nbsp;&lt;A href="https://github.com/nxp-mcuxpresso/mcux-sdk-examples/blob/main/evkmimx8mp/driver_examples/rdc/armgcc/MIMX8ML8xxxxx_cm7_flash.ld" target="_self"&gt;MIMX8ML8xxxxx_cm7_flash.ld&lt;/A&gt;. It should have supported running from TCM.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;some of the used Resources are assigned to the Cortex-A core by uboot&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I believe you were referring to &lt;A href="https://github.com/nxp-imx/uboot-imx/blob/lf_v2022.04/arch/arm/dts/imx8mp-evk-u-boot.dtsi#L40" target="_self"&gt;this RDC configuration&lt;/A&gt; assigned by &lt;A href="https://github.com/nxp-imx/uboot-imx/blob/lf_v2022.04/arch/arm/mach-imx/spl.c#L471" target="_self"&gt;&lt;SPAN&gt;SPL&lt;/SPAN&gt;&lt;/A&gt;. I have removed them and loaded the new UBoot, the example still doesn't work.&lt;/P&gt;&lt;P&gt;Could you please suggest what else I can try?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 22:11:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MCUXpresso-RDC-example-does-not-work-on-i-MX8M-Plus/m-p/1636642#M204487</guid>
      <dc:creator>sonfly</dc:creator>
      <dc:date>2023-04-19T22:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso RDC example does not work on i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MCUXpresso-RDC-example-does-not-work-on-i-MX8M-Plus/m-p/1641009#M204902</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, would someone be able to confirm if this is a bug please?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 22:55:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MCUXpresso-RDC-example-does-not-work-on-i-MX8M-Plus/m-p/1641009#M204902</guid>
      <dc:creator>sonfly</dc:creator>
      <dc:date>2023-04-26T22:55:50Z</dc:date>
    </item>
  </channel>
</rss>

