<?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>S12 / MagniV MicrocontrollersのトピックRe: Xgate debugging - software error interrupt</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Xgate-debugging-software-error-interrupt/m-p/200911#M8115</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK.. I really feel stupid now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#include "xgate.h"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No more software error interrupt, no more pointers to bad places.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That include has to be in every .cxgate file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 May 2010 06:49:12 GMT</pubDate>
    <dc:creator>nhtshot</dc:creator>
    <dc:date>2010-05-18T06:49:12Z</dc:date>
    <item>
      <title>Xgate debugging - software error interrupt</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Xgate-debugging-software-error-interrupt/m-p/200909#M8113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having the dreaded software error interrupt on some xgate code. I'm using the MC9s12XDP512 part and codewarrior with all the newest stuff applied.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've managed to assembly step it to the JAL that's throwing the exception.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;E089d0 LDL R6, #235&lt;/P&gt;&lt;P&gt;E089d2 ORH R6, #128&lt;/P&gt;&lt;P&gt;E089d4 JAL R6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At this point, R6 = 80EB which is an odd number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know what function this is jumping to, but I haven't any clue how I'm supposed to fix this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is the compiler putting a function on an odd boundary? Or am I completely missing something here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should I have some additional options in the compiler settings or some pragmas in that file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried #pragma options align=2 with no success.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 May 2010 01:35:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Xgate-debugging-software-error-interrupt/m-p/200909#M8113</guid>
      <dc:creator>nhtshot</dc:creator>
      <dc:date>2010-05-18T01:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Xgate debugging - software error interrupt</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Xgate-debugging-software-error-interrupt/m-p/200910#M8114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;E080EB also appears to be within the Page_E0_0, XGATE sees registers here, which is obviously bad.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 May 2010 04:40:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Xgate-debugging-software-error-interrupt/m-p/200910#M8114</guid>
      <dc:creator>nhtshot</dc:creator>
      <dc:date>2010-05-18T04:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Xgate debugging - software error interrupt</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Xgate-debugging-software-error-interrupt/m-p/200911#M8115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK.. I really feel stupid now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#include "xgate.h"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No more software error interrupt, no more pointers to bad places.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That include has to be in every .cxgate file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 May 2010 06:49:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Xgate-debugging-software-error-interrupt/m-p/200911#M8115</guid>
      <dc:creator>nhtshot</dc:creator>
      <dc:date>2010-05-18T06:49:12Z</dc:date>
    </item>
  </channel>
</rss>

