Technical Support

MON51: CONFLICT BETWEEN DATA AND CODE MEMORY


Information in this article applies to:

  • C51 Version 5.50

SYMPTOMS

I have read in the MON51.HLP file that in order for the Monitor to function correctly the data and code memory have to be von Neumann wired so that they occupy the same physical memory locations. Looking at my map file it appears that both data and code memory start at location 0000H, however my program executes on my target board with the Monitor. How is this possible?

CAUSE

The data memory is internal and is either 128 or 256 bytes in size. This memory space is completely seperate from any external memory or internal code memory. It is xdata and code memory that has to be von Neumann wired, and the possible conflict is between these two memory areas. xdata is the external data memory.

SEE ALSO

Last Reviewed: Monday, November 26, 2001


Did this article provide the answer you needed?
 
Yes
No
Not Sure