<?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のトピックSTRUCT undefined in XGATE asm</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/STRUCT-undefined-in-XGATE-asm/m-p/1959309#M20164</link>
    <description>&lt;P&gt;Hello everyone!! I program in assembler. I'm working on a project where I have a memory structure and the XGATE sees the occupied space but does not identify the variables. How can I explain it? Look at this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;COL_CH&amp;nbsp; &amp;nbsp; &amp;nbsp;STRUCT&lt;BR /&gt;TCNT&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ds.b&amp;nbsp; &amp;nbsp;1&lt;BR /&gt;DTCYC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ds.b&amp;nbsp; &amp;nbsp;1&lt;BR /&gt;PORT&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ds.b&amp;nbsp; &amp;nbsp;1&lt;BR /&gt;MASK&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ds.b&amp;nbsp; 1&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ENDSTRUCT&lt;/P&gt;&lt;P&gt;PIXEL &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; STRUCT&lt;BR /&gt;CH_R &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE&amp;nbsp; &amp;nbsp;COL_CH&lt;BR /&gt;CH_G &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE&amp;nbsp; &amp;nbsp;COL_CH&lt;BR /&gt;CH_B &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE&amp;nbsp; &amp;nbsp;COL_CH&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ENDSTRUCT&lt;/P&gt;&lt;P&gt;COLUMN&amp;nbsp; &amp;nbsp; STRUCT&lt;BR /&gt;LED0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE PIXEL&lt;BR /&gt;LED1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE PIXEL&lt;BR /&gt;LED2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE PIXEL&lt;BR /&gt;LED3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE PIXEL&lt;BR /&gt;LED4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE PIXEL&lt;BR /&gt;LED5 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE PIXEL&lt;BR /&gt;LED6 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE PIXEL&lt;BR /&gt;LED7 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE PIXEL&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ENDSTRUCT&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;DEFAULT_RAM SECTION&lt;/P&gt;&lt;P&gt;ALIGN 2&lt;/P&gt;&lt;P&gt;MyData:&lt;BR /&gt;Col0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE COLUMN&lt;BR /&gt;Col1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE COLUMN&lt;BR /&gt;Col2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE COLUMN&lt;BR /&gt;Col3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE COLUMN&lt;BR /&gt;Col4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE COLUMN&lt;BR /&gt;Col5 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE COLUMN&lt;BR /&gt;Col6 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE COLUMN&lt;BR /&gt;Col7 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE COLUMN&lt;BR /&gt;Col8 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE COLUMN&lt;BR /&gt;Col9 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE COLUMN&lt;BR /&gt;ColSlct&amp;nbsp; &amp;nbsp; &amp;nbsp;ds.b&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I access "ColSlct" with the XGATE it takes the correct address of "ColSlct" and appears in the data window as defined, but if I try to access for example to "Col0:LED0:CH_R:TCNT" or "Col1:LED0:CH_R:DTCYC" it always points to address 0 and appears in the data window as "undefined"&lt;/P&gt;&lt;P&gt;Why could this be?&lt;BR /&gt;If I compile this same structure for the S12X it addresses correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thank you in advance... Is this how it is said?&lt;/P&gt;</description>
    <pubDate>Sun, 22 Sep 2024 23:27:14 GMT</pubDate>
    <dc:creator>Leojunin</dc:creator>
    <dc:date>2024-09-22T23:27:14Z</dc:date>
    <item>
      <title>STRUCT undefined in XGATE asm</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/STRUCT-undefined-in-XGATE-asm/m-p/1959309#M20164</link>
      <description>&lt;P&gt;Hello everyone!! I program in assembler. I'm working on a project where I have a memory structure and the XGATE sees the occupied space but does not identify the variables. How can I explain it? Look at this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;COL_CH&amp;nbsp; &amp;nbsp; &amp;nbsp;STRUCT&lt;BR /&gt;TCNT&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ds.b&amp;nbsp; &amp;nbsp;1&lt;BR /&gt;DTCYC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ds.b&amp;nbsp; &amp;nbsp;1&lt;BR /&gt;PORT&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ds.b&amp;nbsp; &amp;nbsp;1&lt;BR /&gt;MASK&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ds.b&amp;nbsp; 1&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ENDSTRUCT&lt;/P&gt;&lt;P&gt;PIXEL &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; STRUCT&lt;BR /&gt;CH_R &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE&amp;nbsp; &amp;nbsp;COL_CH&lt;BR /&gt;CH_G &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE&amp;nbsp; &amp;nbsp;COL_CH&lt;BR /&gt;CH_B &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE&amp;nbsp; &amp;nbsp;COL_CH&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ENDSTRUCT&lt;/P&gt;&lt;P&gt;COLUMN&amp;nbsp; &amp;nbsp; STRUCT&lt;BR /&gt;LED0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE PIXEL&lt;BR /&gt;LED1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE PIXEL&lt;BR /&gt;LED2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE PIXEL&lt;BR /&gt;LED3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE PIXEL&lt;BR /&gt;LED4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE PIXEL&lt;BR /&gt;LED5 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE PIXEL&lt;BR /&gt;LED6 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE PIXEL&lt;BR /&gt;LED7 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE PIXEL&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ENDSTRUCT&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;DEFAULT_RAM SECTION&lt;/P&gt;&lt;P&gt;ALIGN 2&lt;/P&gt;&lt;P&gt;MyData:&lt;BR /&gt;Col0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE COLUMN&lt;BR /&gt;Col1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE COLUMN&lt;BR /&gt;Col2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE COLUMN&lt;BR /&gt;Col3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE COLUMN&lt;BR /&gt;Col4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE COLUMN&lt;BR /&gt;Col5 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE COLUMN&lt;BR /&gt;Col6 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE COLUMN&lt;BR /&gt;Col7 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE COLUMN&lt;BR /&gt;Col8 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE COLUMN&lt;BR /&gt;Col9 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE COLUMN&lt;BR /&gt;ColSlct&amp;nbsp; &amp;nbsp; &amp;nbsp;ds.b&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I access "ColSlct" with the XGATE it takes the correct address of "ColSlct" and appears in the data window as defined, but if I try to access for example to "Col0:LED0:CH_R:TCNT" or "Col1:LED0:CH_R:DTCYC" it always points to address 0 and appears in the data window as "undefined"&lt;/P&gt;&lt;P&gt;Why could this be?&lt;BR /&gt;If I compile this same structure for the S12X it addresses correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thank you in advance... Is this how it is said?&lt;/P&gt;</description>
      <pubDate>Sun, 22 Sep 2024 23:27:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/STRUCT-undefined-in-XGATE-asm/m-p/1959309#M20164</guid>
      <dc:creator>Leojunin</dc:creator>
      <dc:date>2024-09-22T23:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: STRUCT undefined in XGATE asm</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/STRUCT-undefined-in-XGATE-asm/m-p/1968453#M20178</link>
      <description>&lt;P&gt;Hello everyone!! I program in&amp;nbsp;assembler. I'm working on a project where I have a memory&amp;nbsp;structure&amp;nbsp;and the&amp;nbsp;XGATE&amp;nbsp;sees the occupied space but&amp;nbsp;...&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;assembler&amp;nbsp;considers it to be&amp;nbsp;&lt;A href="https://spacebarcounter.org/" target="_self"&gt;spacebar counter&amp;nbsp;&lt;/A&gt;undefined&amp;nbsp;and generates an error message. ... As all other directive in&amp;nbsp;assembler, the directives&amp;nbsp;STRUCT&amp;nbsp;and&amp;nbsp;... As an example, Infineon uses the Cerberus as standard Debug Port for most of it's devices, e.g. XC16x,. XC2000, TriCore and many others.&amp;nbsp;&lt;SPAN&gt;Defined and defweak symbols use this field as a reference marker. If the field is not NULL, or this&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;structure&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;is the tail of the.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;undefined&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;symbol list, the&amp;nbsp;...&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 08 Oct 2024 05:36:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/STRUCT-undefined-in-XGATE-asm/m-p/1968453#M20178</guid>
      <dc:creator>Patriciabin</dc:creator>
      <dc:date>2024-10-08T05:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: STRUCT undefined in XGATE asm</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/STRUCT-undefined-in-XGATE-asm/m-p/1969417#M20179</link>
      <description>I don't understand what you mean or it's incomplete</description>
      <pubDate>Wed, 09 Oct 2024 02:57:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/STRUCT-undefined-in-XGATE-asm/m-p/1969417#M20179</guid>
      <dc:creator>Leojunin</dc:creator>
      <dc:date>2024-10-09T02:57:27Z</dc:date>
    </item>
  </channel>
</rss>

