Step 2: Setting Up The Debugger Environment - Motorola SCOUTTRAINER25 User Manual

Remote training system
Hide thumbs Also See for SCOUTTRAINER25:
Table of Contents

Advertisement

1.3 Step 2: Setting Up the Debugger Environment

To ensure that your debugger works correctly, you must identify the items that
are listed in Table 1–1. You can specify this information either in an initializa-
tion batch file (see page 1-6) or in your autoexec.bat file (see page 1-7).
Table 1–1. Debugger Environment Variables
To identify . . .
Directory with executable files for
the C source debugger
Directory with debugger data files,
such as init.cmd and init.clr
Directory with the program source
files that you want to debug
Address of the emulator port on
your PC and other options that you
your PC and other options that you
want to use every time that you
invoke the debugger
invoke the debugger
Note:
When you invoke the debugger, you can include –x on the command line to override any D_OPTIONS in the initialization
file or in your autoexec.bat file.
Step 2: Setting Up the Debugger Environment
Use a statement with this format . . .
PATH= drive :\ directory
SET D_DIR= drive :\ directory
SET D_SRC= drive :\ directory
SET D_OPTIONS= [ object filename ] [ options ]
[ object filename ]
Names the file that you want to load every time that
you invoke the debugger.
[ options ]
Indicates the port address and other options; for
more information, see the TMS320C2xx C Source
Debugger User's Guide .
–p port address
Identifies the emulator port on your PC:
378 default port address for the XDS510PP (LPT1
on most PCs); to verify the address of the
printer port where you connected the
XDS510PP, see your PC documentation.
240 default port address for the XDS510; for more
information, see the XDS51x Emulator Instal-
lation Guide .
–b
Selects a screen size of 80 characters by 43 lines
(EGA or VGA)
–bb
Selects a screen size of 80 characters by 50 lines
(VGA only)
–font height
Uses the Windows Terminal font closest in point
size to the specified height
–i pathname
Identifies additional directories
–mv version
Specifies the memory map to use with the simulator
–profile
Allows you to enter the profiling environment
–s
Loads only the symbol table for a named object file
–t filename
Identifies a new initialization file
–v
Loads the object code with a minimal symbol table
Installing the Simulator and C Source Debugger With DOS
1-5

Advertisement

Table of Contents
loading

Table of Contents