| |||||
Technical Support Support Resources
Product Information | MON51: MONITOR DATA AREAInformation in this article applies to:
SYMPTOMSI am configuring the 8051 monitor for my target system. I have a strange memory layout that gives me the maximum amount of XDATA and CODE memory, but it is not exactly von Neumann. I'm using a 128K RAM that may be configured to work in 1 of 2 modes.
I'm using a chip with 8K of on-chip FLASH memory. I've programmed the monitor to start at address 0000h in the on-chip FLASH. I've configured everything so that my target programs start at address 2000h. I modified the monitor INSTALL.A51 file so that the monitor starts in Mode 2 or my hardware design. During code writes, the monitor switches to Mode 1, writes to the XDATA address, and switches back to Mode 2. This works fine for uploading code. The problem is that things like breakpoints and single-stepping do not seem to work. I narrowed this down to the monitor data area. After reading about this it seems that the monitor data area MUST be von Neumann memory. It cannot use the memory configuration that I have designed. Is there a work-around for this? CAUSEThis problem is caused by the MON51.LIB library provided with C51 Version 6.21 and earlier. In this revision of MON51, there were two problems.
RESOLUTIONThis problem is resolved in C51 Version 7.01 and later. You may download the latest updates from the Keil Website. SEE ALSO
FORUM THREADSThe following Discussion Forum threads may provide information related to this topic. Last Reviewed: Saturday, July 09, 2005 | ||||
| |||||