
Identifying Usable Memory Ranges
5-6
Notes:
-
The debugger caches memory that is not defined as a port type
(INPORT, OUTPORT, or IOPORT). For ranges that you don’t want
cached, be sure to map them as ports.
-
Be sure that the map ranges that you specify in a COFF file match those
that you define with the MA command. Moreover, a command sequence
such as:
ma x,0,y,ram; ma x+y,0,z,ram
doesn’t equal
ma x,0,y+z,ram
If you plan to load a COFF block that spanned the length of y + z, use the
second MA command example. Alternatively, you could turn memory
mapping off during a load by using the MAP OFF command.
Memory mapping with the simulator
The ’C6x simulator has memory cache capabilities that allow you to allocate
as much memory as you need. However, to use memory cache capabilities
effectively with the ’C6x, do not allocate more than 20K words of memory in
your memory map. For example, the following memory map allocates 64K
words of ’C6x program memory.
Example 5–1. Sample Memory Map for the TMS320C6x Using Memory Cache
Capabilities
MA 0,0x5000,R|W
MA 0x5000,0x5000,R|W
MA 0xa000,0x5000,R|W
MA 0xf000,0x1000,R|W
The simulator creates temporary files in a separate directory on your disk. For
example, when you enter an MA command, the simulator creates a temporary
file in the root directory of your current disk. Therefore, if you are currently run-
ning your simulator on the C drive, temporary files are placed in the C:\ directo-
ry. This prevents the processor from running out of memory space while you
are executing the simulator.
All temporary files are deleted when you leave the simulator via the QUIT com-
mand. If, however, you exit the simulator with a soft reboot of your computer,
the temporary files are not deleted; you must delete these files manually. (Tem-
porary files usually have numbers for names.)
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...