<?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>S32 Design StudioのトピックRe: Shared memory usage in MPC5746C</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Shared-memory-usage-in-MPC5746C/m-p/1019315#M5944</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the snippet of your shared memory section seems to be correct.&lt;/P&gt;&lt;P&gt;Please check in the map file the object ShmMsgToCore1 is placed at valid address 0x4007C800.&lt;/P&gt;&lt;P&gt;I assume the entire SRAM is initialized by the startup to avoid ECC exceptions by core0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you possibly narrow it down to which specific instruction/core&amp;nbsp; is causing the exception?&lt;/P&gt;&lt;P&gt;Is it indeed memset() or some other following statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Also you might be interested in this example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-335344"&gt;Example S32R274 multi-core shared memory - S32DS Power v1.2&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jan 2020 13:30:15 GMT</pubDate>
    <dc:creator>stanish</dc:creator>
    <dc:date>2020-01-28T13:30:15Z</dc:date>
    <item>
      <title>Shared memory usage in MPC5746C</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Shared-memory-usage-in-MPC5746C/m-p/1019314#M5943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am&amp;nbsp;working on&amp;nbsp;MPC5746C MCU and recently I have declared a shared memory regions in SRAM memory section.&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/99597i87A6C088C418F4A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;When I use "memset" function to reset the memory region, it is causing an exception and leading to an ISR.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/99598i9310C789309D5111/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The object declaration is as shown below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/99599i390F047BE7B05C7B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;Is this the correct way ? Any mistake in declaring and processing the shared memory ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Dec 2019 06:23:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Shared-memory-usage-in-MPC5746C/m-p/1019314#M5943</guid>
      <dc:creator>jayasankar_band</dc:creator>
      <dc:date>2019-12-26T06:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Shared memory usage in MPC5746C</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Shared-memory-usage-in-MPC5746C/m-p/1019315#M5944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the snippet of your shared memory section seems to be correct.&lt;/P&gt;&lt;P&gt;Please check in the map file the object ShmMsgToCore1 is placed at valid address 0x4007C800.&lt;/P&gt;&lt;P&gt;I assume the entire SRAM is initialized by the startup to avoid ECC exceptions by core0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you possibly narrow it down to which specific instruction/core&amp;nbsp; is causing the exception?&lt;/P&gt;&lt;P&gt;Is it indeed memset() or some other following statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Also you might be interested in this example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-335344"&gt;Example S32R274 multi-core shared memory - S32DS Power v1.2&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2020 13:30:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Shared-memory-usage-in-MPC5746C/m-p/1019315#M5944</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2020-01-28T13:30:15Z</dc:date>
    </item>
  </channel>
</rss>

