2546239-9704 Microcontroller ProductsTMS370 Microcontroller/GangProgrammerUser’s Guide
ContentsviiiTable of Contents2.12 Saving Configuration Parameters and the Device Table to a File — the Save Command 2-15. . . . . . . . . . . . . . .
Running TitleixFigures1–1. Microcontroller Programmer Personality Module 1-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2.
Running TitlexTable of ContentsTables1–1. XDS Memory Expansion/Communications Board Switch Settings 1-10. . . . . . . . . . . . . . . . . . 2–1. Edit
Running TitlexiExamplesA–1. Example Configuration/Batch File A-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xiiTable of Contents
1-1Chapter 1Introduction and InstallationThis chapter describes how each programmer operates, how to install hard-ware, and how to install software. I
Microcontroller Programmer Overview and Description1-2Introduction and Installation1.1 Microcontroller Programmer Overview and Description The TMS370
Microcontroller Programmer Overview and Description1-3The base unit of the programmer contains two LEDs. The red LED is markedprogram or device power
Gang Programmer Overview and Description1-4Introduction and Installation1.2 Gang Programmer Overview and DescriptionThe TMS370 Gang Programmer is an i
Gang Programmer Overview and Description1-5alone mode; it is ignored in PC mode. The red LED built into this switch ismarked TMS370 power on and indi
2546239-9704
Gang Programmer Overview and Description1-6Introduction and Installation1.2.1 Operating the Gang Programmer in PC ModeIn PC mode, the gang programmer
Gang Programmer Overview and Description1-71) Position the toggle switch to either the program position or the verificationposition.2) Press the push
Properly Installing the Programmer Hardware1-8Introduction and Installation1.3 Properly Installing the Programmer HardwareCorrectly installing the pro
Properly Installing the Programmer Hardware1-91.3.2 Power ConnectionConnect the female end of the power cord to the PDS base unit.The programmer can
Properly Installing the Programmer Hardware1-10Introduction and Installation2) Connect port A of the XDS to the PC by using the cable supplied with th
Properly Installing the Programmer Hardware1-111.3.5 Integrated Circuit (IC) InsertionICs may be inserted or removed while power is applied to the pr
Properly Installing the Programmer Hardware1-12Introduction and InstallationTo install a DIP device:1) Align the IC so that pin 1 is oriented in the u
Properly Installing the Programmer Hardware1-13To install a PLCC device:With this release of the programmers, the PLCC sockets do not have a lid;ther
Properly Installing the Programmer Software1-14Introduction and Installation1.4 Properly Installing the Programmer SoftwareInstalling software is exac
Properly Installing the Programmer Software1-15table. The order in which the programmer looks for the device table is out-lined below.a) First, it lo
TMS370 Microcontroller/GangProgrammerUser’s GuideSPNU023February, 1991
Invoking the Programmer Software1-16Introduction and Installation1.5 Invoking the Programmer SoftwareBefore activating the programmer, be sure that it
Getting Started—Example Sessions1-171.6 Getting Started—Example SessionsThis section will help you get a quick start using your programmer. Once youg
Getting Started—Example Sessions1-18Introduction and InstallationObject file:6) Enter the name of the COFF file containing the object code with which
Getting Started—Example Sessions1-191.6.2 Interactive Programming Example 2This sample session illustrates entering the interactive mode with the COF
1-20Introduction and Installation
2-1Chapter 2Operating in the Configuration WindowThis chapter describes the commands offered in the configuration window ofthe programmer’s display.Th
How Command Menus Work2-2Operating in the Configuration Window2.1 How Command Menus WorkThe interactive mode of the programmer is driven by command me
Using the Special Function Keys/What Happens If I Make an Error2-32.2 Using the Special Function KeysFunction keys through invoke various actions
Understanding Your Input at the Cursor Prompt2-4Operating in the Configuration Window2.4 Understanding Your Input at the Cursor PromptThe programmer s
Configuration Window Overview and Description2-52.5 Configuration Window Overview and DescriptionIf you use the configuration command while in the di
IMPORTANT NOTICETexas Instruments (TI) reserves the right to make changes to its products or to discontinue anysemiconductor product or service withou
Configuration Window Overview and Description2-6Operating in the Configuration WindowThe device table lists devices that can be programmed through the
Secondary Configuration Window—the Show Ranges Window2-72.6 Secondary Configuration Window—the Show Ranges WindowA small subwindow appears when you s
Secondary Configuration Window—the Show Ranges Window2-8Operating in the Configuration Window2.6.1 Selecting the Proper Program AlgorithmFor EEPROM m
Showing the Software Revision Information/Defining and Adding a Device to the Device Table2-92.7 Showing the Software Revision Information — the Show
Defining and Adding a Device to the Device Table2-10Operating in the Configuration WindowValid types of memory are EPROM or EEPROM.Legal VCC values ar
Editing the Configuration Parameters and Device Table2-11Program Algorithm:If the family code is 10h (TMS370 EEPROM range), one of three pro-gramming
Editing the Configuration Parameters and Device Table2-12Operating in the Configuration Window2.9.2 Editing the Device TableThe device table is a list
Editing the Configuration Parameters and Device Table2-13Pressing causes this temporary window to disappear, and the previouswindow is resumed.Pre
Loading the Device Table and Configuration Parameters From a File2-14Operating in the Configuration Window2.10 Loading the Device Table and Configurat
Selecting a Current Device/Saving the Configuration Parameters and Device Table to a File2-152.11 Selecting a Current Device — the Choose Device Comm
PrefaceRead This FirstHow to Use This ManualThis manual describes how to use and operate the TMS370 MicrocontrollerProgrammer and the TMS370 Gang Prog
Showing the Display Window/Ending Your Current Session and Returning to DOS2-16Operating in the Configuration Window2.13 Showing the Display Window —
3-1Chapter 3Operating in the Display WindowThis chapter describes the commands offered in the display window of theprogrammer’s display.The first part
How Command Menus Work3-2Operating in the Display Window3.1 How Command Menus WorkThe interactive mode of the programmer is driven by command menus th
Using Special Function Keys/What Happens If I Make an Error?3-33.2 Using the Special Function KeysFunction keys through invoke various actions in
Understanding Your Input At the Cursor Prompt3-4Operating in the Display Window3.4 Understanding Your Input at the PromptThe programmer software often
Display Window Overview and Description3-53.5 Display Window Overview and DescriptionThe display window has two separate areas (see Figure 3–2): the
Display Window Overview and Description3-6Operating in the Display WindowTable 3–2. Display Window CommandsCommand FunctionFill Memory Fill PC memory
Display Window Overview and Description3-7F2 (Pg Up) Scroll backward through code.F3 (Address) Invoke disassembler at specified PC memory address.ESC
Filling a Block of PC Memory With a Value3-8Operating in the Display Window3.6 Filling a Block of PC Memory With a Value — the Fill CommandUse the fil
Loading a COFF File Into PC Memory3-93.7 Loading a COFF File Into PC Memory— the Load CommandUse the load command to load a COFF file into the PC mem
Related DocumentationivRead This FirstRelated DocumentationThe following TMS370 documents are available through Texas InstrumentsIncorporated:The TMS3
Outputting a COFF File From PC Memory3-10Operating in the Display Window3.8 Outputting a COFF File From PC Memory — the Output COFF CommandUse the out
Outputting a COFF File From PC Memory3-11After the input session is completed, the programmer uses the PC memoryblocks given to create the COFF file.
Moving Blocks of PC Memory3-12Operating in the Display Window3.9 Moving Blocks of PC Memory—the Move CommandUse the move command to move a block of PC
Programming a Device From PC Memory3-133.10 Programming a Device From PC Memory — the Program CommandWhen you use the program command, the microcontr
Programming a Device From PC Memory3-14Operating in the Display WindowThis message is updated when the programmer starts programming the nextpacket.If
Programming a Device From PC Memory3-153.10.2 Programming Using the Gang ProgrammerIn PC mode, use the gang programmer’s program command to programmu
Programming a Device From PC Memory3-16Operating in the Display WindowOnce the programming begins, it proceeds packet by packet in180-byte seg-ments.
Showing and Operating Within a Text File3-173.11 Showing and Operating Within a Text File—the Show CommandUse the show command to show a text file. T
Showing and Operating Within a Text File3-18Operating in the Display Window3.11.1 Finding Character Strings Within a Text File — the Find CommandThe
Uploading a Device’s Contents Into PC Memory3-193.12 Uploading a Device’s Contents Into PC Memory– the Upload CommandWhen you use the upload command,
Information About Cautions and WarningsvInformation About Cautions and WarningsThis book may contain cautions and warnings.A caution describes a situ
Uploading a Device’s Contents Into PC Memory3-20Operating in the Display WindowDuring the uploading process, the programmer displays a status message
Uploading a Device’s Contents Into PC Memory3-21unable to communicate with TMS370 device – Retry, AbortYou should inspect all of the devices for misa
Verifying the Contents of a Device3-22Operating in the Display Window3.13 Verifying the Contents of a Device – the Verify CommandWhen you use the veri
Verifying the Contents of a Device3-23rent device type. If the address is not in the range, the following error messageis displayed.Address out of
Verifying the Contents of a Device3-24Operating in the Display WindowStep 3: If you chose to verify a single device against PC memory, you mustnow spe
Verifying the Contents of a Device3-25Once the actual verification begins, it proceeds packet by packet (180-bytesegments). Before a packet is read,
Editing the Contents of PC Memory3-26Operating in the Display Window3.14 Editing the Contents of PC Memory—the Edit CommandThe edit command puts the p
Using the Master Mode Menu3-273.15 Using the Master Mode Menu—the Master CommandThe master command mode allows you to program and manipulate data wit
Suspending the Program and Entering DOS/Quitting the Program and Exiting to DOS3-28Operating in the Display Window3.16 Suspending the Program and Ente
A-1Appendix AOperating the Programmer in Batch ModeIn the batch control mode, the execution flow is defined in a configuration/batch file, and all mes
viRead This First
Understanding the Batch Mode FileA-2Operating the Programmer in Batch ModeA.1 Understanding the Batch Mode FileBatch mode allows you to program and/or
Batch File Command Rules and DescriptionsA-3A.2 Batch File Command Rules and DescriptionsThe batch commands can be classified as executable or nonexe
Batch File Command Rules and DescriptionsA-4Operating the Programmer in Batch ModeA.2.2 Nonexecutable Batch CommandsNonexecutable commands do not invo
Batch Mode Status MessagesA-5A.3 Batch Mode Status MessagesWhen programming begins, a status message informs you:Programming at device addresswhere d
A-6Operating the Programmer in Batch Mode
B-1Appendix BError MessagesThis appendix briefly describes the error messages associated with theprogrammers. It also gives reasons why the error occu
Error Message DescriptionsB-2Error MessagesB.1 Error Message DescriptionsThe following messages are common to all programmers.Chip inserted incorrectl
Error Message DescriptionsB-3invalid Vcc chosen – Retry, AbortThe VCC value you have chosen for your device is invalid.Use a valid VCC value—0, 5, or
Error Message DescriptionsB-4Error MessagesThese error messages are specific to the gang programmers.checksum error in master device – Retry, AbortThe
C-1Appendix CConfiguration ParametersTable C–1 describes the valid configuration parameters for the programmers discussed in this manual.Use of invali
viiContents1 Introduction and Installation 1-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C-2Configuration Parameters
D-1Appendix DUsing Keystroke Capture FilesA keystroke capture file is a file in which the keystrokes you type are re-corded to be replayed later. Keys
Using Keystroke Capture FilesD-2Using Keystroke Capture FilesExample D–1. Keystroke File Example.keyC$DARW choose device$DARW move cursor down to 370
Using Keystroke Capture FilesD-3Text Name Actual Keystroke$INS insert$LARW left arrow arrow$RAWR right arrow$SRECORD stop record$SP space$TAB tab$UAR
D-4Using Keystroke Capture Files
Index-1IndexAadd device command, 2-9address range, PC memory, 3-5Bbatch modecommand descriptions, A-3executable, A-3nonexecutable, A-4description, A-2
IndexIndex-2system (using DOS commands), 3-28uploading (device’s contents), 3-19, 3-20verify (device contents), 3-22, 3-23description, 3-5Eedit comman
IndexIndex-3upload, 3-27memory, PC, 1-2microcontroller programmerdescription, 1-2features, 1-2physical description, 1-3move PC memory command, 3-12Oou
IndexIndex-4
IMPORTANT NOTICETexas Instruments (TI) reserves the right to make changes to its products or to discontinue any semiconductorproduct or service withou
Comments to this Manuals