<?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: EBI Bus error causing IVOR1trap, but only after SRAM write in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/EBI-Bus-error-causing-IVOR1trap-but-only-after-SRAM-write/m-p/559970#M3989</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How it is related to EBI? You are testing internal SRAM, is it so?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jul 2016 07:47:37 GMT</pubDate>
    <dc:creator>davidtosenovjan</dc:creator>
    <dc:date>2016-07-12T07:47:37Z</dc:date>
    <item>
      <title>EBI Bus error causing IVOR1trap, but only after SRAM write</title>
      <link>https://community.nxp.com/t5/MPC5xxx/EBI-Bus-error-causing-IVOR1trap-but-only-after-SRAM-write/m-p/559968#M3987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 11pt; font-family: Calibri; color: #51626f;"&gt;I was testing internal SRAM on a MPC567xK when the EBI stopped working:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-size: 11pt; font-family: Calibri; color: #51626f;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri; color: #51626f;"&gt;There is 96KB of ramtest SRAM at 0x40021A00, and this error only occurs after a march12 memory test (bother reads and writes to ram) on ramtest.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;The error, an &lt;SPAN style="color: #51626f; font-family: Calibri;"&gt;IVOR1trap,&lt;/SPAN&gt; only occurs on reading from EBI after the test on ramtest.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 15px;"&gt; &lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri; color: #51626f;"&gt;MCSR is 0x0008800C&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri; color: #51626f;"&gt;BUS_WRERR is also set&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri; color: #51626f;"&gt;MCSSR0 is&amp;nbsp; the last of the following:&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; e_lis&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r8,0x30000&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; e_add16i&amp;nbsp;&amp;nbsp; r3,r8,0x1408&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; se_lwz&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r3,0x0(r3)&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; se_lhz&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r31,0x4(r3)&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri; color: #51626f;"&gt;MCSRR1 is 0x00008000&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri; color: #51626f;"&gt;Here are the rest of my EBI settings:&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri; color: #51626f;"&gt;MCR: 0x06000004&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri; color: #51626f;"&gt;BMCR: 0x00001980&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri; color: #51626f;"&gt;BR0: 0x20000827&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri; color: #51626f;"&gt;OR0: 0xFFB00000&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri; color: #51626f;"&gt;Why does this IVOR1trap only happen after the test on ramtest SRAM?&amp;nbsp; I don't understand how reading and writing to SRAM is changing the behavior of the EBI bus read.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 15:06:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/EBI-Bus-error-causing-IVOR1trap-but-only-after-SRAM-write/m-p/559968#M3987</guid>
      <dc:creator>laurayindra</dc:creator>
      <dc:date>2016-07-11T15:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: EBI Bus error causing IVOR1trap, but only after SRAM write</title>
      <link>https://community.nxp.com/t5/MPC5xxx/EBI-Bus-error-causing-IVOR1trap-but-only-after-SRAM-write/m-p/559969#M3988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;More info:&lt;/P&gt;&lt;P&gt;it is not the SRAM read/write causing the &lt;SPAN style="color: #51626f; font-family: Calibri;"&gt;IVOR1trap on an EBI read.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Calibri;"&gt;the code called before the SRAM read/write is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;asm void mask_external_interrupts()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;nofralloc&lt;/P&gt;&lt;P&gt; wrteei 0&lt;/P&gt;&lt;P&gt; blr&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;and the code called after the SRAM read/write but before the &lt;SPAN style="color: #51626f; font-family: Calibri;"&gt;IVOR1trap is&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;asm void unmask_external_interrupts()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;nofralloc&lt;/P&gt;&lt;P&gt; wrteei 1&lt;/P&gt;&lt;P&gt; blr&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can tell you that the EBI read that caused the &lt;SPAN style="color: #51626f; font-family: Calibri;"&gt;IVOR1trap&lt;/SPAN&gt; is in an interrupt based on an internal timer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know what this assembly code is doing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 18:53:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/EBI-Bus-error-causing-IVOR1trap-but-only-after-SRAM-write/m-p/559969#M3988</guid>
      <dc:creator>laurayindra</dc:creator>
      <dc:date>2016-07-11T18:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: EBI Bus error causing IVOR1trap, but only after SRAM write</title>
      <link>https://community.nxp.com/t5/MPC5xxx/EBI-Bus-error-causing-IVOR1trap-but-only-after-SRAM-write/m-p/559970#M3989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How it is related to EBI? You are testing internal SRAM, is it so?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2016 07:47:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/EBI-Bus-error-causing-IVOR1trap-but-only-after-SRAM-write/m-p/559970#M3989</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2016-07-12T07:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: EBI Bus error causing IVOR1trap, but only after SRAM write</title>
      <link>https://community.nxp.com/t5/MPC5xxx/EBI-Bus-error-causing-IVOR1trap-but-only-after-SRAM-write/m-p/559971#M3990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The test of internal SRAM was wrapped by &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;mask_external_interrupts() and &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;unmask_external_interrupts().&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Removing &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;mask_external_interrupts() and &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;unmask_external_interrupts(), and reducing internal SRAM testing to the unused section of internal SRAM (ramtest) stopped the &lt;SPAN style="color: #51626f; font-family: Calibri;"&gt;IVOR1trap on read from&lt;/SPAN&gt; EBI.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I don't know, and haven't had time to research, what the assembly in &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;mask_external_interrupts() and &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;unmask_external_interrupts() is doing to cause the &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: Calibri;"&gt;IVOR1trap on read from&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; EBI.&amp;nbsp; This read from EBI is being performed from an interrupt routine based on an internal timer.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2016 16:13:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/EBI-Bus-error-causing-IVOR1trap-but-only-after-SRAM-write/m-p/559971#M3990</guid>
      <dc:creator>laurayindra</dc:creator>
      <dc:date>2016-07-12T16:13:34Z</dc:date>
    </item>
  </channel>
</rss>

