hi ,all
thanks for any hints in advance!
MCU = XEG128, CW4.6, mutilink debuger for HCS12X/XE
in prm file,i put the stack for xgate from 0xFD1000 throughout 0xFD12FF ;
RAM_XGATE_STK = READ_WRITE 0xFD1000 TO 0xFD12FF ALIGN 2[1:1]; /* The stack is set by the XGATE compiler option -Cstv=D300 */
but in the debug mode, open the memory window, XGATE address: D000 ~D3000, i never watch the stack area refresh the contents( all data are gray,never change to red)
something wrong with my setting or operation?
and another issue is: some local variables in XGATE_ISR_LIN() function, which should be stored in XGATE stack according to the xgate compiler spec , was allocated into the other data, i.e. CPU12_DATA CPU12 memory space 0x29f0'L (should say "occupy“ , one breakpoint was set over the local variables in the XGATE_ISR_LIN function to confirm this point), and results in unexpected change of the CPU12_DATA , so would you please tell me how to find the root cause for this issue step by step? or what's the items i should check?
if more info need, i will post it.
thanks