Hello: I have a problem while debugging or simulating the analog device microcontroller Aduc847. When I compile with "Small" memory model, I'm able to watch tha value of all the variables, but If I define the same variables with xdata ( on chip ram memory), with "large" memory model, then the values of this variables have no sense, the seems not to be updated properlly, nothing works fine. At the options tab I have enabled "use on chip XRAM(0x0, 0x7FF)" and "use on chip ROM(0x0, 0xF7FF) the code ram size is "Large: 64Kbyte program" I use keil v7.07 Does anybody have any idea about what's happennig?? thanks in advance David p.d. at the options tab BL51 locate I have enabled also "use memory layout from target dialog"
Remember, the "Use on-chip XRAM" option in uVision merely supplies information to the tools; it does not set up the hardware for you. Are you sure you have done all the necessary setups in order to use the XRAM?
Well Finally I found the solution, the hardware was not initializated to use the XRAM memory on this chip. this thread explain the problem http://www.keil.com/forum/docs/thread5326.asp thank you.