beautypg.com

6 getting started—example sessions – Texas Instruments TMS370 User Manual

Page 31

background image

Getting Started—Example Sessions

1-17

1.6

Getting Started—Example Sessions

This section will help you get a quick start using your programmer. Once you
get started, the menu structure and prompts make the programmer easy to
learn and to use. The remainder of this manual provides a detailed reference
if you need further information on any of the commands, prompts, or error
messages. Use the Table of Contents at the front of the manual and the Index
at the end of the manual to direct you to the specific topic you need.

We assume that you are familiar with the TMS370 Assembler and Linker soft-
ware and that a COFF file has been created that contains object code with
which a device can be programmed. These are prerequisites to using the
programmers and is beyond the scope of this manual.

1.6.1

Interactive Programming Example 1

This example assumes that the programmer software has been loaded onto
your PC, and that the DOS prompt is

C:

>.

In this example you will invoke the programmer, choose a device to program,
and use the

load command to give the programmer the name of the object file

and portion of the object code to be programmed onto the device.

1) From the DOS prompt, invoke the programmer to bring up the interactive

display in the configuration window.

C:\>prgrm370

The programmer title banner appears briefly; then the configuration
window appears with the top line containing the following command menu:

CONFIG:showID AddDevice

Edit Load ChooseDevice Save Display Quit

2) Place a TMS370 device in the appropriate socket; press

to select the

choose device command.

The cursor moves down the screen to the beginning of the Device Table.
Also, a function key command line containing the following commands
appears at the bottom of the screen:

F1NextPage F2PrevPage F4ShowRanges F5SelectDev F6DeleteDev

3) Move the cursor to the appropriate device using the cursor arrow keys.

Once you have found the correct device, press

to select the device.

4) Press

to return to the configuration command line, and then press

to move to the display window.

The display window command line contains the following commands:

Fill

Load

Output

COFF

Move

Progm

Show

Upload

Verify

Edit

Config

sYs

Quit

5) Press

for the load command. The following prompt appears at the top

line of the screen: