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:
COL_CH STRUCT
TCNT ds.b 1
DTCYC ds.b 1
PORT ds.b 1
MASK ds.b 1
ENDSTRUCT
PIXEL STRUCT
CH_R TYPE COL_CH
CH_G TYPE COL_CH
CH_B TYPE COL_CH
ENDSTRUCT
COLUMN STRUCT
LED0 TYPE PIXEL
LED1 TYPE PIXEL
LED2 TYPE PIXEL
LED3 TYPE PIXEL
LED4 TYPE PIXEL
LED5 TYPE PIXEL
LED6 TYPE PIXEL
LED7 TYPE PIXEL
ENDSTRUCT
DEFAULT_RAM SECTION
ALIGN 2
MyData:
Col0 TYPE COLUMN
Col1 TYPE COLUMN
Col2 TYPE COLUMN
Col3 TYPE COLUMN
Col4 TYPE COLUMN
Col5 TYPE COLUMN
Col6 TYPE COLUMN
Col7 TYPE COLUMN
Col8 TYPE COLUMN
Col9 TYPE COLUMN
ColSlct ds.b 1
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"
Why could this be?
If I compile this same structure for the S12X it addresses correctly.
I thank you in advance... Is this how it is said?
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 ... assembler considers it to be spacebar counter undefined and generates an error message. ... As all other directive in assembler, the directives STRUCT and ... 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. Defined and defweak symbols use this field as a reference marker. If the field is not NULL, or this structure is the tail of the. undefined symbol list, the ...