<?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>MCUXpresso SDKのトピックRe: MIMX8ML8 SDK optimized memcpy routine bug</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/MIMX8ML8-SDK-optimized-memcpy-routine-bug/m-p/2378558#M5504</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/263488"&gt;@bjoern_almqvist&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you are doing very well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The structure of the SDK regarding to the RPMSG has not any change from that Version.&lt;/P&gt;
&lt;P&gt;Actually, in that case it is a good and functional workaround.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;RPMSG is commonly used to send flags and short messages instead of big amount of data in the buffer, then M and A cores can access to the shared memory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Salas.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jun 2026 20:45:49 GMT</pubDate>
    <dc:creator>Manuel_Salas</dc:creator>
    <dc:date>2026-06-08T20:45:49Z</dc:date>
    <item>
      <title>MIMX8ML8 SDK optimized memcpy routine bug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/MIMX8ML8-SDK-optimized-memcpy-routine-bug/m-p/2377258#M5500</link>
      <description>&lt;P&gt;I had trouble getting RPMsg-Lite to run continuously on the i.MX8M Plus Cortex-M7 (FreeRTOS, MCUXpresso SDK 2.16.000, arm-gnu-toolchain 13.3) with a 1 ms request/response cycle to Linux. After a variable number of cycles the communication froze hard and the M7 stopped servicing the incoming messages.&lt;/P&gt;&lt;P&gt;I added a SysTick watchdog that samples the interrupted program counter when the app stopped. During a freeze it consistently showed the M7 stuck in the size_ge_16 burst loop in fsl_memcpy.S, with the link register pointing back into rpmsg_queue_recv, inside env_memcpy(data, msg.data, msg.len) while copying a received payload out of the vring buffer.&lt;/P&gt;&lt;P&gt;It looks like a latent alignment bug in the optimized memcpy routine, exposed by the specific alignment of the rpmsg shared-memory buffers it’s asked to copy. (I did not isolate the exact faulty instruction.)&lt;/P&gt;&lt;P&gt;Swapping to the standard libc memcpy fixed it for me, i.e. changing the SDK_MISC_OVERRIDE_MEMCPY define to 0.&lt;/P&gt;&lt;P&gt;Is this something that is logged and fixed in later SDK versions?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2026 07:12:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/MIMX8ML8-SDK-optimized-memcpy-routine-bug/m-p/2377258#M5500</guid>
      <dc:creator>bjoern_almqvist</dc:creator>
      <dc:date>2026-06-05T07:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: MIMX8ML8 SDK optimized memcpy routine bug</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/MIMX8ML8-SDK-optimized-memcpy-routine-bug/m-p/2378558#M5504</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/263488"&gt;@bjoern_almqvist&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you are doing very well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The structure of the SDK regarding to the RPMSG has not any change from that Version.&lt;/P&gt;
&lt;P&gt;Actually, in that case it is a good and functional workaround.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;RPMSG is commonly used to send flags and short messages instead of big amount of data in the buffer, then M and A cores can access to the shared memory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Salas.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2026 20:45:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/MIMX8ML8-SDK-optimized-memcpy-routine-bug/m-p/2378558#M5504</guid>
      <dc:creator>Manuel_Salas</dc:creator>
      <dc:date>2026-06-08T20:45:49Z</dc:date>
    </item>
  </channel>
</rss>

