AnsweredAssumed Answered

MC9S12DT256 : have problem to when set __stack=0x3FFF

Question asked by Linda X on Mar 9, 2012
Latest reply on Mar 14, 2012 by Linda X

I am using MC9S12DT256MFUE. It supposes to have 12k RAM. But when I set __stack=0x3FFF, the stack was unable to update, i.e. when calling a sub-routine, the return address was not saved in the stack. The stack works if I set __stack=0x2FFF. Is there any other registers I need to initialize?

Thank you

Outcomes