Hi all, I'm using at89c51rc2 by atmel and keil uvision2. Programming in C. i might have some problem when accessing the 1024 bytes of Xdata (available on chip). Some variables are being corrupted without any sense. I've been reading about the theme and what i'm doing is: I set AUXR as follows in startup.a51 to use the 1024 bytes of xram. Also, in uvision I set onchip memory (0x00-0x3FF) AUXR DATA 8EH ..... ..... STARTUP1: MOV AUXR,#0CH uvision options: Memory model: large code rom size: large and actually my xdata is about 600 bytes. thanks in advance
But perhaps it's a stack problem??? I notice the symptons as overwritten variables without sense.