<?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: RAM memory corruption on using Xgate for CAN in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/RAM-memory-corruption-on-using-Xgate-for-CAN/m-p/498812#M12258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Today, I provided an extended answer for a question related to an XGATE. The answer provides answer also to you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/388232"&gt;Data sharing between S12x and Xgate&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Ladislav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Mar 2016 11:52:43 GMT</pubDate>
    <dc:creator>lama</dc:creator>
    <dc:date>2016-03-23T11:52:43Z</dc:date>
    <item>
      <title>RAM memory corruption on using Xgate for CAN</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/RAM-memory-corruption-on-using-Xgate-for-CAN/m-p/498811#M12257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a CAN driver working in s12 core. the objective is to route the CAN to Xgate to reduce the load on s12x. For this, I have moved the can isr to the xgate file and updated the vector tables of the core and Xgate accordingly. Then&amp;nbsp; moved the variables used in the can driver(data buffer, buffer cnt) to shared memory region and exported to the xgate file(for use in isr).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On execution, I do get the messages sent from the application, but along with the desired messages, I get junk messages coming out of CAN. The transmit buffer register area of CAN is written randomly and these values are sent out.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently there is no semaphore lock used between Xgate and s12x. Already ADC and ICU channels run in Xgate and is working fine.&lt;/P&gt;&lt;P&gt;Where should I start looking to resolve this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 05:34:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/RAM-memory-corruption-on-using-Xgate-for-CAN/m-p/498811#M12257</guid>
      <dc:creator>subashr</dc:creator>
      <dc:date>2016-03-23T05:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: RAM memory corruption on using Xgate for CAN</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/RAM-memory-corruption-on-using-Xgate-for-CAN/m-p/498812#M12258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Today, I provided an extended answer for a question related to an XGATE. The answer provides answer also to you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/388232"&gt;Data sharing between S12x and Xgate&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Ladislav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 11:52:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/RAM-memory-corruption-on-using-Xgate-for-CAN/m-p/498812#M12258</guid>
      <dc:creator>lama</dc:creator>
      <dc:date>2016-03-23T11:52:43Z</dc:date>
    </item>
  </channel>
</rss>

