<?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: Issue in RPMsg communication between A9-M4 for i.MX6SX in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Issue-in-RPMsg-communication-between-A9-M4-for-i-MX6SX/m-p/1092614#M160060</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikhil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;similar issues was described on below links (though for other processors) and one&lt;/P&gt;&lt;P&gt;can debug it and try provided solutions:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.toradex.com/community/questions/35310/rpmsg-task-stuck-in-rpmsg-rtos-init-on-m4.html" title="https://www.toradex.com/community/questions/35310/rpmsg-task-stuck-in-rpmsg-rtos-init-on-m4.html"&gt;RPMsg task stuck in rpmsg_rtos_init on M4 - Toradex Community&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.toradex.com/community/questions/13761/unhandled-exception-while-loading-firmware-to-m4-c.html" title="https://www.toradex.com/community/questions/13761/unhandled-exception-while-loading-firmware-to-m4-c.html"&gt;Unhandled exception while loading firmware to M4 core of VF61 (Win CE 6) - Toradex Community&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jul 2020 07:49:15 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2020-07-30T07:49:15Z</dc:date>
    <item>
      <title>Issue in RPMsg communication between A9-M4 for i.MX6SX</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-in-RPMsg-communication-between-A9-M4-for-i-MX6SX/m-p/1092613#M160059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on i.MX6SX based custom board and trying to establish RPMsg communication between A9 and M4 cores.&lt;/P&gt;&lt;P&gt;I able to build the M4 freeRTOS code and examples using arm-gcc toolchain provided in document "Getting Started with FreeRTOS™ BSP for i.MX 6SoloX".&lt;/P&gt;&lt;P&gt;I tried running pingpong_freertos example on board and observed following prints on M4 side:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="m4_log.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/105420iFC390AB5B9AB42FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="m4_log.PNG" alt="m4_log.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this, I installed pingpong loadable module on A9 side (linux) , and observed &lt;STRONG&gt;no prints&lt;/STRONG&gt; on A9 console or dmesg logs&lt;/P&gt;&lt;P&gt;Also I found following prints in dmesg (&lt;STRONG&gt;while linux boots&lt;/STRONG&gt;) :-&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="a9_rpmsg_log.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/105467iDB615F72275FF3B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="a9_rpmsg_log.PNG" alt="a9_rpmsg_log.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further I debugged on M4 side and found that M4 freeRTOS code stucks in &lt;STRONG&gt;rpmsg_rtos_init() function (specifically in&amp;nbsp; env_acquire_sync_lock()&lt;/STRONG&gt; api) and never comes out of it, even when i installed pingpong kernel module on A9 side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per "FreeRTOS BSP for i.MX 6SoloX Demo User’s Guide Rev 0" document, M4 console should display following :-&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Name service handshake is done, M4 has setup a rpmsg channel [1 ---&amp;gt; 1024]"&amp;nbsp; to indicate handshake between 2 cores.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help me to figure out that why there is no name service handshaking print on M4 side..? and how to communicate between A9-M4c cores using RPMsg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using linux kernel 4.14.174 with 512 GB RAM and running pingpong-freertos example on TCM memory.&lt;/P&gt;&lt;P&gt;Following is the linker file modifications i did on M4 side:-&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Specify the memory areas */&lt;BR /&gt;MEMORY&lt;BR /&gt;{&lt;BR /&gt; m_interrupts (RX) : ORIGIN = 0x9FF00000, LENGTH = 0x00000240&lt;BR /&gt; m_text (RX) : ORIGIN = 0x9FF00240, LENGTH = 0x00017DC0&lt;BR /&gt; m_data (RW) : ORIGIN = 0x20000000, LENGTH = 0x00008000&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2020 10:18:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-in-RPMsg-communication-between-A9-M4-for-i-MX6SX/m-p/1092613#M160059</guid>
      <dc:creator>nikhil3karale</dc:creator>
      <dc:date>2020-07-27T10:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in RPMsg communication between A9-M4 for i.MX6SX</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-in-RPMsg-communication-between-A9-M4-for-i-MX6SX/m-p/1092614#M160060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikhil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;similar issues was described on below links (though for other processors) and one&lt;/P&gt;&lt;P&gt;can debug it and try provided solutions:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.toradex.com/community/questions/35310/rpmsg-task-stuck-in-rpmsg-rtos-init-on-m4.html" title="https://www.toradex.com/community/questions/35310/rpmsg-task-stuck-in-rpmsg-rtos-init-on-m4.html"&gt;RPMsg task stuck in rpmsg_rtos_init on M4 - Toradex Community&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.toradex.com/community/questions/13761/unhandled-exception-while-loading-firmware-to-m4-c.html" title="https://www.toradex.com/community/questions/13761/unhandled-exception-while-loading-firmware-to-m4-c.html"&gt;Unhandled exception while loading firmware to M4 core of VF61 (Win CE 6) - Toradex Community&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2020 07:49:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-in-RPMsg-communication-between-A9-M4-for-i-MX6SX/m-p/1092614#M160060</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-07-30T07:49:15Z</dc:date>
    </item>
  </channel>
</rss>

