Hello,
We have an application running on DS89C450. We link the compiled objects by means of LX51 advanced linker and 'Linker Code Packing' of the linker is enabled with the optimization level of 9.
Our application have not been using On-Chip XRAM (0x0-0x3FF) so far but we need to use it now.
Our Off-Chip XData memory is located on the adress of 0x4000 with the length of 0x4000. We added On-Chip XRAM block (located on the address of 0x0000 with the length of 0x0400) to this area by means of 'Project Options' dialog box of the Keil environment. We also enabled 'Use On-Chip XRAM' option in the same dialog box.
We looked into the map file generated by the environment after the build and we observed that some of our variables were located in this On-Chip XRAM data area just like wanted them to be.
We enabled PMR.0 bit and configured flash lock bits to the value of 7 (value of 0 is also tried).
But when we load the built application on our target system, it doesn't work at all. What might be going wrong?
We would be appreciated if someone could answer this question as soon as possible.
Best regards,