Texas-instruments TMS370 User Manual

Browse online or download User Manual for Hardware Texas-instruments TMS370. Texas Instruments TMS370 User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 99
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
2546239-9704 Microcontroller Products
TMS370 Microcontroller/Gang
Programmer
Users Guide
Page view 0
1 2 3 4 5 6 ... 98 99

Summary of Contents

Page 1 - User’s Guide

2546239-9704 Microcontroller ProductsTMS370 Microcontroller/GangProgrammerUser’s Guide

Page 2 - 2546239-9704

ContentsviiiTable of Contents2.12 Saving Configuration Parameters and the Device Table to a File — the Save Command 2-15. . . . . . . . . . . . . . .

Page 3

Running TitleixFigures1–1. Microcontroller Programmer Personality Module 1-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2.

Page 4

Running TitlexTable of ContentsTables1–1. XDS Memory Expansion/Communications Board Switch Settings 1-10. . . . . . . . . . . . . . . . . . 2–1. Edit

Page 5 - Read This First

Running TitlexiExamplesA–1. Example Configuration/Batch File A-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 7 - Trademarks

1-1Chapter 1Introduction and InstallationThis chapter describes how each programmer operates, how to install hard-ware, and how to install software. I

Page 8

Microcontroller Programmer Overview and Description1-2Introduction and Installation1.1 Microcontroller Programmer Overview and Description The TMS370

Page 9

Microcontroller Programmer Overview and Description1-3The base unit of the programmer contains two LEDs. The red LED is markedprogram or device power

Page 10 - Table of Contents

Gang Programmer Overview and Description1-4Introduction and Installation1.2 Gang Programmer Overview and DescriptionThe TMS370 Gang Programmer is an i

Page 11 - Running Title

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

Page 13 - Examples

Gang Programmer Overview and Description1-6Introduction and Installation1.2.1 Operating the Gang Programmer in PC ModeIn PC mode, the gang programmer

Page 14

Gang Programmer Overview and Description1-71) Position the toggle switch to either the program position or the verificationposition.2) Press the push

Page 15 - Introduction and Installation

Properly Installing the Programmer Hardware1-8Introduction and Installation1.3 Properly Installing the Programmer HardwareCorrectly installing the pro

Page 16

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

Page 17

Properly Installing the Programmer Hardware1-10Introduction and Installation2) Connect port A of the XDS to the PC by using the cable supplied with th

Page 18

Properly Installing the Programmer Hardware1-111.3.5 Integrated Circuit (IC) InsertionICs may be inserted or removed while power is applied to the pr

Page 19 - PDS power on

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

Page 20

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

Page 21

Properly Installing the Programmer Software1-14Introduction and Installation1.4 Properly Installing the Programmer SoftwareInstalling software is exac

Page 22

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

Page 23 - 1.3.4 Connection to an XDS

TMS370 Microcontroller/GangProgrammerUser’s GuideSPNU023February, 1991

Page 24

Invoking the Programmer Software1-16Introduction and Installation1.5 Invoking the Programmer SoftwareBefore activating the programmer, be sure that it

Page 25

Getting Started—Example Sessions1-171.6 Getting Started—Example SessionsThis section will help you get a quick start using your programmer. Once youg

Page 26

Getting Started—Example Sessions1-18Introduction and InstallationObject file:6) Enter the name of the COFF file containing the object code with which

Page 27

Getting Started—Example Sessions1-191.6.2 Interactive Programming Example 2This sample session illustrates entering the interactive mode with the COF

Page 28

1-20Introduction and Installation

Page 29 - PRGRM370 @PROJ1.CFG

2-1Chapter 2Operating in the Configuration WindowThis chapter describes the commands offered in the configuration window ofthe programmer’s display.Th

Page 30 - Config./Batch file

How Command Menus Work2-2Operating in the Configuration Window2.1 How Command Menus WorkThe interactive mode of the programmer is driven by command me

Page 31 - C:\>prgrm370

Using the Special Function Keys/What Happens If I Make an Error2-32.2 Using the Special Function KeysFunction keys through invoke various actions

Page 32

Understanding Your Input at the Cursor Prompt2-4Operating in the Configuration Window2.4 Understanding Your Input at the Cursor PromptThe programmer s

Page 33 - to quit the program

Configuration Window Overview and Description2-52.5 Configuration Window Overview and DescriptionIf you use the configuration command while in the di

Page 34

IMPORTANT NOTICETexas Instruments (TI) reserves the right to make changes to its products or to discontinue anysemiconductor product or service withou

Page 35 - Chapter 2

Configuration Window Overview and Description2-6Operating in the Configuration WindowThe device table lists devices that can be programmed through the

Page 36 - 2.1 How Command Menus Work

Secondary Configuration Window—the Show Ranges Window2-72.6 Secondary Configuration Window—the Show Ranges WindowA small subwindow appears when you s

Page 37

Secondary Configuration Window—the Show Ranges Window2-8Operating in the Configuration Window2.6.1 Selecting the Proper Program AlgorithmFor EEPROM m

Page 38 - Table 2–1. Edit Control Keys

Showing the Software Revision Information/Defining and Adding a Device to the Device Table2-92.7 Showing the Software Revision Information — the Show

Page 39

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

Page 40

Editing the Configuration Parameters and Device Table2-11Program Algorithm:If the family code is 10h (TMS370 EEPROM range), one of three pro-gramming

Page 41

Editing the Configuration Parameters and Device Table2-12Operating in the Configuration Window2.9.2 Editing the Device TableThe device table is a list

Page 42 - 1010 1010

Editing the Configuration Parameters and Device Table2-13Pressing causes this temporary window to disappear, and the previouswindow is resumed.Pre

Page 43

Loading the Device Table and Configuration Parameters From a File2-14Operating in the Configuration Window2.10 Loading the Device Table and Configurat

Page 44

Selecting a Current Device/Saving the Configuration Parameters and Device Table to a File2-152.11 Selecting a Current Device — the Choose Device Comm

Page 45 - Program Algorithm:

PrefaceRead This FirstHow to Use This ManualThis manual describes how to use and operate the TMS370 MicrocontrollerProgrammer and the TMS370 Gang Prog

Page 46

Showing the Display Window/Ending Your Current Session and Returning to DOS2-16Operating in the Configuration Window2.13 Showing the Display Window —

Page 47

3-1Chapter 3Operating in the Display WindowThis chapter describes the commands offered in the display window of theprogrammer’s display.The first part

Page 48 - File — the Load Command

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

Page 49 - Save Command

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

Page 50 - Confirm:

Understanding Your Input At the Cursor Prompt3-4Operating in the Display Window3.4 Understanding Your Input at the PromptThe programmer software often

Page 51 - Chapter 3

Display Window Overview and Description3-53.5 Display Window Overview and DescriptionThe display window has two separate areas (see Figure 3–2): the

Page 52 - 3.1 How Command Menus Work

Display Window Overview and Description3-6Operating in the Display WindowTable 3–2. Display Window CommandsCommand FunctionFill Memory Fill PC memory

Page 53

Display Window Overview and Description3-7F2 (Pg Up) Scroll backward through code.F3 (Address) Invoke disassembler at specified PC memory address.ESC

Page 54 - Table 3–1. Edit Control Keys

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

Page 55

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

Page 56

Related DocumentationivRead This FirstRelated DocumentationThe following TMS370 documents are available through Texas InstrumentsIncorporated:The TMS3

Page 57 - Gang Programmer

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

Page 58

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.

Page 59 - Size (in bytes) : 0000h

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

Page 60 - COFF object base address:

Programming a Device From PC Memory3-133.10 Programming a Device From PC Memory — the Program CommandWhen you use the program command, the microcontr

Page 61

Programming a Device From PC Memory3-14Operating in the Display WindowThis message is updated when the programmer starts programming the nextpacket.If

Page 62 - Moving Blocks of PC Memory

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

Page 63 - program

Programming a Device From PC Memory3-16Operating in the Display WindowOnce the programming begins, it proceeds packet by packet in180-byte seg-ments.

Page 64

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

Page 65 - program

Showing and Operating Within a Text File3-18Operating in the Display Window3.11.1 Finding Character Strings Within a Text File — the Find CommandThe

Page 66

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,

Page 67 - ”file.txt” line 113/355

Information About Cautions and WarningsvInformation About Cautions and WarningsThis book may contain cautions and warnings.A caution describes a situ

Page 68

Uploading a Device’s Contents Into PC Memory3-20Operating in the Display WindowDuring the uploading process, the programmer displays a status message

Page 69 - PC memory base address:

Uploading a Device’s Contents Into PC Memory3-21unable to communicate with TMS370 device – Retry, AbortYou should inspect all of the devices for misa

Page 70

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

Page 71

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

Page 72 - Device base address:

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

Page 73

Verifying the Contents of a Device3-25Once the actual verification begins, it proceeds packet by packet (180-bytesegments). Before a packet is read,

Page 74

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

Page 75

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

Page 76 - [101F] = F26E

Suspending the Program and Entering DOS/Quitting the Program and Exiting to DOS3-28Operating in the Display Window3.16 Suspending the Program and Ente

Page 77 - Using the Master Mode Menu

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

Page 78

viRead This First

Page 79 - Appendix A

Understanding the Batch Mode FileA-2Operating the Programmer in Batch ModeA.1 Understanding the Batch Mode FileBatch mode allows you to program and/or

Page 80 - Batch mode

Batch File Command Rules and DescriptionsA-3A.2 Batch File Command Rules and DescriptionsThe batch commands can be classified as executable or nonexe

Page 81 - Language Tools User’s Guide

Batch File Command Rules and DescriptionsA-4Operating the Programmer in Batch ModeA.2.2 Nonexecutable Batch CommandsNonexecutable commands do not invo

Page 82

Batch Mode Status MessagesA-5A.3 Batch Mode Status MessagesWhen programming begins, a status message informs you:Programming at device addresswhere d

Page 83 - Batch Mode Status Messages

A-6Operating the Programmer in Batch Mode

Page 84

B-1Appendix BError MessagesThis appendix briefly describes the error messages associated with theprogrammers. It also gives reasons why the error occu

Page 85 - Error Messages

Error Message DescriptionsB-2Error MessagesB.1 Error Message DescriptionsThe following messages are common to all programmers.Chip inserted incorrectl

Page 86 - Error Message Descriptions

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

Page 87 - Error Message Descriptions

Error Message DescriptionsB-4Error MessagesThese error messages are specific to the gang programmers.checksum error in master device – Retry, AbortThe

Page 88

C-1Appendix CConfiguration ParametersTable C–1 describes the valid configuration parameters for the programmers discussed in this manual.Use of invali

Page 89 - Configuration Parameters

viiContents1 Introduction and Installation 1-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 90

C-2Configuration Parameters

Page 91 - Using Keystroke Capture Files

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

Page 92

Using Keystroke Capture FilesD-2Using Keystroke Capture FilesExample D–1. Keystroke File Example.keyC$DARW choose device$DARW move cursor down to 370

Page 93

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

Page 94

D-4Using Keystroke Capture Files

Page 95

Index-1IndexAadd device command, 2-9address range, PC memory, 3-5Bbatch modecommand descriptions, A-3executable, A-3nonexecutable, A-4description, A-2

Page 96

IndexIndex-2system (using DOS commands), 3-28uploading (device’s contents), 3-19, 3-20verify (device contents), 3-22, 3-23description, 3-5Eedit comman

Page 97

IndexIndex-3upload, 3-27memory, PC, 1-2microcontroller programmerdescription, 1-2features, 1-2physical description, 1-3move PC memory command, 3-12Oou

Page 98

IndexIndex-4

Page 99

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

No comments