Summary of Contents for Texas Instruments TMS370 Series
Page 1
查询TMS370供应商 捷多邦,专业PCB打样工厂,24小时加急出货 TMS370 Family EPROM/EEPROM Programming T ool Getting Started Guide 1996 Microprocessor Development Systems...
Page 2
Printed in U.S.A., September 1996 SPNU128A M411007-9741 revision B...
Page 3
TMS370 Family EPROM/EEPROM Programming Tool Getting Started Guide SPNU128A September 1996 BOOK BLOCKS ONLY Printed on Recycled Paper...
Page 5
IMPORTANT NOTICE Texas Instruments (TI) reserves the right to make changes to its products or to discontinue any semiconductor product or service without notice, and advises its customers to obtain the latest version of relevant information to verify, before placing orders, that the information being relied on is current.
Page 6
Preface Read This First About This Manual This manual helps you install the TMS370 Family EPROM/EEPROM pro- grammer. You can use the programmer to program EPROM and EEPROM de- vices. The interface to the programmer is similar to that of the TMS370 Family C source debugger.
Page 7
Information About Cautions / Related Documentation From Texas Instruments Information About Cautions This book contains cautions. This is an example of a caution statement. A caution statement describes a situation that could potentially damage your software or equipment. The information in a caution is provided for your protection. Please read each caution carefully.
Page 8
If You Need Assistance If You Need Assistance . . . If you want to . . . Contact Texas Instruments at . . . Visit TI online World Wide Web: http://www.ti.com Receive general information World Wide Web: http://www.ti.com/sc/docs/pic/home.htm or assistance North America, South America: (214) 644–5580...
Page 9
FCC Warning / Trademarks FCC Warning This equipment is intended for use in a laboratory test environment only. It gen- erates, uses, and can radiate radio frequency energy and has not been tested for compliance with the limits of computing devices pursuant to subpart J of part 15 of FCC rules, which are designed to provide reasonable protection against radio frequency interference.
Contents Contents Installing the Programming Tool With Windows ........Lists the hardware and software necessary to install the EPROM/EEPROM programming tool;...
Chapter 1 Installing the Programming Tool With Windows This chapter helps you install the ’370 EPROM/EEPROM programming tool on a PC running Windows . When you complete the installation, turn to Chapter 2, Using The Programmer , for more information about using the ’370 programming tool .
System Requirements 1.1 System Requirements To install and use the ’370 family programmer, you need the items listed in the following hardware and software checklists. Hardware checklist Host 32-bit x86-based or Pentium PC with a free full-duplex commu- nication (serial) port, a hard-disk system, and a 1.44M-byte floppy- disk drive Memory Minimum of 3M bytes RAM...
System Requirements Software checklist Operating system Windows version 3.1 or later Software tools TMS370 8-bit microcontroller family assembler and linker Optional: TMS370 8-bit microcontroller family C compiler Required file sk370dv.prg defines the different TMS370 EPROM/EEPROM fami- included as part of ly devices that can be used for programming and other information debugger package specific to the the programmer.
Step 1: Installing the Programmer Board 1.2 Step 1: Installing the Programmer Board The programmer board (shown in figure 1-1) is designed to accept five types of integrated circuits (ICs): 40-pin dual inline packages (DIPs) 28-pin DIPs 28-pin plastic leaded chip carriers (PLCCs) 68-pin PLCCs 44-pin PLCCs These types of ICs fit the following ’370 devices:...
Page 16
Step 1: Installing the Programmer Board Improper connection of the programmer board can damage your programmer and/or your PC. Do not attempt to plug in multiple devices. Plugging in multiple devices can damage your PC and/or programmer. To install the programmer board, follow these steps: 1) Turn the power switch (S1) on the programmer board to the OFF position.
Page 17
Step 1: Installing the Programmer Board 4) Connect a 5-V/500-mA power supply to the programmer board via the bar- rel jack (P1). Alternatively, you can connect the power supply to the screw power socket (P2). The + and – input lines are labeled on the printed board.
Step 1: Installing the Programmer Board Programming notes For PLCC sockets, TI recommends using Yamhichi easy-extract sockets. 28 Pin: IC120–0284–308 44 Pin: IC120–0444–306 68 Pin: IC120–0684–304 You can find Yamhichi Electronics on the World Wide Web at http://www.yeu.com. The TMS370C758, TMS370C768, and TMS370C777 devices have a dual- bank EPROM: EPROM Block 1 EPROM Block 2...
Step 2: Installing the Programmer Software 1.3 Step 2: Installing the Programmer Software This section explains the process of installing the programmer software on a hard-disk system. 1) Make a backup copy of the product disk. 2) On your hard disk or system disk, create a directory named 370prg. This directory will contain the programmer software.
Step 2: Installing the Programmer Software Using a program-item icon A program-item icon represents an application that you can run from Windows. Program-item icons are contained inside program groups. The programmer software already has a standard icon that you can use. To use the standard programmer icon, follow these steps: 1) If the program group in which you want to place the icon is not already open, double-click on it to open it.
Step 3: Setting Up the Programmer Environment 1.4 Step 3: Setting Up the Programmer Environment To ensure that your programmer works correctly, you must perform some tasks before you invoke the programmer for the first time or anytime you power up or reboot your PC.
Step 3: Setting Up the Programmer Environment Modifying the PATH statement Define a path to the programmer directory. The general format for doing this PATH=C:\370PRG This allows you to invoke the programmer without specifying the name of the directory that contains the programmer executable file. If you are modifying an autoexec.bat file that already contains a PATH statement, simply include ;C:\370prg at the end of the statement, as shown in Figure 1–2 (a) .
Step 3: Setting Up the Programmer Environment Invoking the new or modified batch file If you modify the autoexec.bat file, be sure to invoke it before invoking the programmer for the first time. To invoke this file, enter: AUTOEXEC If you create your own batch file, you must invoke it before entering Windows.
Step 4: Verifying the Installation 1.5 Step 4: Verifying the Installation To ensure that you have correctly installed the programmer software, invoke the software and load the sample program: If you set up an icon for the programmer software, follow these steps: 1) Start Windows.
Page 25
Step 4: Verifying the Installation If you see a display similar to this, you have correctly installed your program- mer board and software. If you do not see this kind of display, then your programmer may not be installed properly. Go back through the installation instructions and be sure you have followed each step correctly;...
Chapter 2 Using the Programmer This chapter briefly describes the programmer interface. The programmer in- terface is similar to that of the C source debugger described in the TMS370 Family C Source Debugger User’s Guide . Refer to the user’s guide for addi- tional information about using the interface.
Invoking the Programmer 2.1 Invoking the Programmer Before turning on the programmer, be sure that it is plugged in and correctly connected as described in Section 1.2. Turn on the programmer’s power switch before running the programmer software. Here is the basic format for the command that invokes the programmer: prg370w [ filename ] [ options ]...
Descriptions of the Interface Windows and Their Contents 2.2 Descriptions of the Interface Windows and Their Contents The programmer interface has three windows. Each window is identified by a name in its upper left corner. The COMMAND window provides an area for typing in commands and displays various types of information such as progress messages, error messages, or command output.
Using the Menu Bar and the Pulldown Menus 2.3 Using the Menu Bar and the Pulldown Menus In addition to the command window, the programmer has a menu bar, which gives you an alternative method for entering many of the programmer com- mands.
Defining a Memory Map 2.4 Defining a Memory Map Before you begin a programmer session, you must supply the programmer with a valid memory map. The memory map tells which areas of memory the software can access and which are inaccessible. Typically, you define the map to match the MEMORY definition in your linker command file.
Programming Memory Devices 2.5 Programming Memory Devices The programmer allows you to transfer data from a PC to on-chip EPROM/ EEPROM in order to program a ’370 device. The programmer provides you with a complete set of commands for programming a memory device. These commands allow you to: Set the device name.
Programming Memory Devices Setting the device name The internal configuration of programmable devices differs from one device to another, and the programmer must be able to access information about the de- vice that you want to program. Table 2–2 shows the programmer abbreviations for specific device names.
Programming Memory Devices Verifying that the device EPROM is blank If you want to program EPROM on a ’370 device, you must first verify that the device is blank. EEPROM does not need to be blank before programming. To verify that an EPROM is blank, use the BLANK command. You can use the BLANK command in either of two ways: Use the BLANK command with the following syntax: blank address, length...
Programming Memory Devices Transferring data into the device Once you have prepared your ’370 device for programming, you can program the device with the contents of the programmer’s memory. To do so, use the PROG command. You can use the PROG command in either of two ways: Use the PROG command with the following syntax: prog address, length [ , filename ] If you enter the PROG command without any parameters, the programmer...
Page 35
Programming Memory Devices If the device programming fails, the software creates an error file in your prg370w directory. Click on the file icon to view the error message. The con- tents of the error file will look something like this: ********************************************** PROGRAM EPROM DEVICE address fail = 0x6024...
Programming Memory Devices Verifying that the device was programmed correctly To verify whether a device has been programmed successfully, you can use the VER command. This command compares the on-chip EPROM/EEPROM of the specified address range with that of the programmer memory and logs all of the mismatches in a file.
Programming Memory Devices If the device programming fails, the software creates an error file in your prg370w directory. Click on the file icon to view the error message. The con- tents of the error file will look something like this: ************************************************** Value Value...
Page 38
Programming Memory Devices The length parameter defines the length of the range. The length must be within the boundaries of one of the EPROM/EEPROM ranges that you de- fined previously with the MA command. This parameter can be any C ex- pression.
Functional Summary of Programmer Commands 2.6 Functional Summary of Programmer Commands This section summarizes the programmer commands according to categories: Managing windows Displaying files, loading programs, and changing data Programming memory devices Performing system tasks Memory mapping Customizing the screen The programmer commands are similar to the C source debugger version of the same commands.
Page 40
Functional Summary of Programmer Commands Programming memory devices These commands allow you to transfer data from emulator RAM to on-chip EPROM/EEPROM to program a memory device. Use this Or this pulldown To do this... command... menu selection... Set the device name pgdevice Prog Device...
Functional Summary of Programmer Commands Memory mapping These commands enable you to define the areas of target memory that the programmer can access. Use this Or this pulldown To do this... command... menu selection... Initialize a block of memory fill Memory Fill Add an address range to the memory map...
Page 42
IMPORTANT NOTICE Texas Instruments (TI) reserves the right to make changes to its products or to discontinue any semiconductor product or service without notice, and advises its customers to obtain the latest version of relevant information to verify, before placing orders, that the information being relied on is current.
Need help?
Do you have a question about the TMS370 Series and is the answer not in the manual?
Questions and answers