![Phytec nanoModul-164 Quick Start Instructions Download Page 90](http://html.mh-extra.com/html/phytec/nanomodul-164/nanomodul-164_quick-start-instructions_1554144090.webp)
nanoMODUL-164 QuickStart Instructions
86
PHYTEC Meßtechnik GmbH 2003 L-379e_4
For instance if you adjust Chip Select Signal /CS1 to be active within
an address range of 1 MB and the actually memory size populating
the nanoMODUL is just 256 kByte, you will get three mirrors of your
RAM.
5.4
Debugging using Monitor kernel
Whenever you decide to use the µVision2 target debugger or Mon166
target Monitor to debug your application, some special precautions
must be taken into consideration to ensure proper code execution of
your application.
Your application and the Keil Monitor kernel contained in the files
boot and monitor must share some memory locations within the target
system. If you do not consider the physical Memory-Model already
claimed by the kernel and the memory requirements of the kernel, you
may get conflicts in memory use. This typically leads to variables
containing not their assigned value, functions returning bad results
and modified code.
If you have a nanoModul-164 with 1 MB SRAM or 1 MB Flash use
the files from the default location:
C:\PHYBasic\nM164\Tools\Mon\MonMx
To obtain information about the memory requirements of the Monitor,
the corresponding memory map file monitor.m66 is made available
together with the monitor executable file. This file contains a detailed
memory map of the Monitor and is also located in the default
destination mentioned above.
You have to link your application to prevent any overlapping memory
ranges. Since the Monitor also uses some special interrupts for
communication with the host-PC at runtime, you should add a
Reserve: statement for 0x008-0x011, 0x0AC-0x0AF to the Location
tab of your L166 Linker options to reserve at least these ranges.
Summary of Contents for nanoModul-164
Page 48: ...nanoMODUL 164 QuickStart Instructions 44 PHYTEC Meßtechnik GmbH 2003 L 379e_4 ...
Page 72: ...nanoMODUL 164 QuickStart Instructions 68 PHYTEC Meßtechnik GmbH 2003 L 379e_4 ...
Page 84: ...nanoMODUL 164 QuickStart Instructions 80 PHYTEC Meßtechnik GmbH 2003 L 379e_4 ...
Page 92: ...nanoMODUL 164 QuickStart Instructions 88 PHYTEC Meßtechnik GmbH 2003 L 379e_4 ...
Page 96: ...Published by PHYTEC Meßtechnik GmbH 2003 Ordering No L 379e_4 Printed in Germany ...