
Define Your Own Command String / Close the Debugger
2-30
Define your own command string
If you find that you often enter a command with the same parameters, or often
enter the same commands in sequence, you will find it helpful to have a short-
hand method for entering these commands. The debugger provides an
alias-
ing feature that allows you to do this.
This lesson shows you how you can define an alias to set up a memory map,
defining the same map that was defined in the previous lesson.
Define an alias for setting up the memory map:
1) Use the ALIAS command to associate a nickname with the commands
used for defining a memory map:
alias mymap,”mr;ma 0x0080 0000,0x20,ROM;
ma 0x0080 0100,0x7f,RAM;ml”
(Note: Because of space constraints, the command is shown on two
lines.)
2) Now, to use this memory map, just enter the alias name:
mymap
This is equivalent to entering the following four commands:
mr
ma 0x0080 0000,0x20,ROM
ma 0x0080 0100,0x7f,RAM
ml
Close the debugger
This is the end of the tutorial—close the debugger.
Close the debugger and return to the operating system:
quit
Summary of Contents for TMS320C6 Series
Page 10: ...x ...
Page 20: ...xx ...
Page 118: ...4 20 ...
Page 144: ...6 16 ...
Page 164: ...7 20 ...
Page 170: ...8 6 ...
Page 284: ...B 18 ...
Page 290: ...C 6 ...