
Define a Memory Map
2-29
An Introductory Tutorial to the C Source Debugger
Define a memory map
You can set up a memory map to tell the debugger which areas of memory it
can and can’t access. This is called
memory mapping. When you invoked the
debugger for this tutorial, the debugger automatically read a default memory
map from the initialization batch file included in the sim6x directory. For the pur-
poses of the sample program, that’s fine (which is why this lesson was saved
for the end).
View the default memory map settings:
ml
Look in the COMMAND window display area—you’ll see a listing of the areas
that are currently mapped.
It’s easy to add new ranges to the map or delete existing ranges.
Change the memory map:
1) Use the MD (memory delete) command to delete the block of program
memory:
md 0x0080 0000
This deletes the block of memory beginning at address 0x0080 0000.
2) Use the MA (memory add) command to define a new block of program
memory and a new block of data memory:
ma 0x0080 0000,0x20,ROM
ma 0x0080 0100,0x7f,RAM
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...