TMS320C5x DSP STARTER KIT USER'S GUIDE
TMS320C5x DSP STARTER KIT USER'S GUIDE TMS320C5x DSP STARTER KIT USER'S GUIDE
Invoking the Debugger6.1 Invoking the DebuggerHere’s the basic format for the command that invokes the debugger:dsk5d[options]dsk5doptionsis the command that invokes the debugger.supply the debugger with additional information.Table 6–1. Summary of Debugger OptionsTable 6–1 lists the debugger options; the following subsections describe theoptions.OptionDescription? or H Displays a listing of the available optionsbrateSelects the valid baud ratecom# or c# Selects serial communication port 1, 2, 3, or 4eaddressDefines a program entry pointiSelects a logic level for DTR (data terminal ready) reset; notethat the default DTR is inverselSelects the EGA/VGA screen sizesm [0,1] Sets the configuration of CNF bit (default = 0)s Selects the default screen length of 25Displaying a list of available options (? or H option)You can display the contents of Table 6–1 on your screen by using the ? orH option. For example, enter:dsk5d ?Selecting the baud (b option)The valid baud settings are: b4800 b9600 b19200 b38400 b576006-2
Invoking the DebuggerIdentifying the serial port (com# or c# option)The c1, c2, c3, or c4 option identifies the serial port that the debugger uses forcommunicating with your PC. The default setting, c1, is used when your serialport is connected to serial communication port 1 (com1). Depending on yourserial port connection, replace serial port with one of these values: If you are using com1, enter:dsk5d c1 If you are using com2, enter:dsk5d c2 If you are using com3, enter:dsk5d c3 If you are using com4, enter:dsk5d c4Defining an entry point (e option)Use option e to set the initial program entry address. The address you selectmust be a four-digit hexadecimal value. For example:dsk5d ea00hThe above example sets the DSK debugger at an initial address of 0a00h.Selecting a data terminal ready (DTR) logic level (i option)Using option i tells the dsk5d to invert DTR as a reset signal. Usually, theRS-232 DTR line is high and pulses low for a reset signal. However, if you usethe i option (inverse), the DTR line is low and pulses high for a reset signal.Selecting the screen size (l and s options)Table 6–2. Screen Size OptionsBy default, the debugger uses an 80-character-by-25-line screen. You can useone of the options in Table 6–2 to switch between screen sizes.OptionlsDescription80 characters by 43 lines80 characters by 25 lines (default)Using the DSK Debugger6-3
- Page 36 and 37: Getting Started2) Enter the followi
- Page 38 and 39: Getting Started5) Now you are ready
- Page 40 and 41: Creating DSK Assembler Source Files
- Page 42 and 43: Creating DSK Assembler Source Files
- Page 44 and 45: Creating DSK Assembler Source Files
- Page 46 and 47: Symbols4.3 SymbolsSymbols are used
- Page 48 and 49: Assembling Your Program4.5 Assembli
- Page 50 and 51: 4-12
- Page 52 and 53: Using the DSK Assembler Directives5
- Page 54 and 55: Directives That Define Sections5.2
- Page 56 and 57: Directives That Reference Other Fil
- Page 58 and 59: Directives That Initialize Memory5.
- Page 60 and 61: Miscellaneous Directives5.6 Miscell
- Page 62 and 63: .byte/.stringDirectives ReferenceSy
- Page 64 and 65: .copy/.includeDirectives ReferenceL
- Page 66 and 67: .endDirectives ReferenceSyntax.endD
- Page 68 and 69: .float/.bfloat/.double/.efloat/.tfl
- Page 70 and 71: .if/.else/.endifDirectives Referenc
- Page 72 and 73: .liston/.listoffDirectives Referenc
- Page 74 and 75: .lqxx/.qxxDirectives ReferenceSynta
- Page 76 and 77: .mmregsDirectives ReferenceTable 5-
- Page 78 and 79: .setDirectives ReferenceSyntax symb
- Page 80 and 81: .spaceDirectives ReferenceListing f
- Page 82 and 83: .text / .psDirectives ReferenceExam
- Page 84 and 85: 5-34
- Page 88 and 89: Invoking the DebuggerSetting the co
- Page 90 and 91: Using Pulldown Menus in the Debugge
- Page 92 and 93: Using Pulldown Menus in the Debugge
- Page 94 and 95: Using Pulldown Menus in the Debugge
- Page 96 and 97: Using Pulldown Menus in the Debugge
- Page 98 and 99: Using Dialog BoxesYou can omit entr
- Page 100 and 101: Using Software Breakpoints6.4 Using
- Page 102 and 103: Quick-Reference Guide6.5 Quick-Refe
- Page 104 and 105: Quick-Reference GuideTable 6-14.Deb
- Page 106 and 107: Circuit Board DimensionsFigure A-1.
- Page 108 and 109: Schematic DiagramP1594837261CONNECT
- Page 110 and 111: Schematic DiagramEODR\OUT-AUXIN-TCL
- Page 112 and 113: GlossaryCWindows that show code, te
- Page 114 and 115: GlossaryIIC:Integrated circuit. A t
- Page 116 and 117: Glossarysingle step: A form of prog
- Page 118 and 119: Indexconditional assembly, directiv
- Page 120 and 121: IndexinitializingCPU registers 6-10
- Page 122 and 123: IndexTtag, definition B-6temporary
Invoking the Debugger6.1 Invoking the DebuggerHere’s the basic format for the command that invokes the debugger:dsk5d[options]dsk5doptionsis the command that invokes the debugger.supply the debugger with additional information.Table 6–1. Summary of Debugger OptionsTable 6–1 lists the debugger options; the following subsections describe theoptions.OptionDescription? or H Displays a listing of the available optionsbrateSelects the valid baud ratecom# or c# Selects serial communication port 1, 2, 3, or 4eaddressDefines a program entry pointiSelects a logic level for DTR (data terminal ready) reset; notethat the default DTR is inverselSelects the EGA/VGA screen sizesm [0,1] Sets the configuration of CNF bit (default = 0)s Selects the default screen length of 25Displaying a list of available options (? or H option)You can display the contents of Table 6–1 on your screen by using the ? orH option. For example, enter:dsk5d ?Selecting the baud (b option)The valid baud settings are: b4800 b9600 b19200 b38400 b576006-2