Texas Instruments TMS370 manual Selecting a Current Device Ð the Choose Device Command

Page 49

Selecting a Current Device/Saving the Configuration Parameters and Device Table to a File

2.11 Selecting a Current Device Ð the Choose Device Command

The choose device command moves the cursor directly to the device table. Use the cursor control keys to move the cursor to the device you will be pro- gramming and press to select it. The selected device is highlighted. Press-

ing returns you to the configuration command line.

A device must be specified before the software allows you to enter the display window.

2.12Saving Configuration Parameters and the Device Table to a File Ð the Save Command

The save command allows you to save the current configuration parameters or device table to a specific file. The initial prompt after this command executes gives you the following two choices; the letter used to invoke the command is printed in bold type.

Command

Function

 

 

Device Table

Save the current device table in a file.

 

 

Configuration

Save the current configuration in a Configuration/Batch file

Both save options prompt for only one parameterÐthe filename to save the data into. The file you specify can be either an existing file or a new file. The contents of an existing file are erased before the save takes place. The follow- ing paragraphs describe each option in detail.

Saving the Device Table

Use this option to save the current device table in a file that you specify. The file can be loaded later through the load device table command or the configuration/batch file. If the current device table is empty, no file will be generated.

To prevent accidental overwriting of the default device table, the name device.tbl cannot be used for saving the current device table. If you wish to update the default device table, save it under another name and then use the DOS copy command to copy your new device table to device.tbl.

Saving Configuration Parameters

Use this option to save the current configuration in a file that you specify. The current configuration is the one defined in the load configuration sec- tion. If you have not selected a current device type, the following error message is displayed:

No device is selected, can not build the file

Press any key to erase the error message and return to the configuration command menu.

2-15

Image 49
Contents Users Guide 2546239-9704 TMS370 Microcontroller/Gang Programmer Users Guide Important Notice Read This First How to Use This ManualRelated Documentation Information About Cautions and Warnings Read This First Contents Differences in Command Structures for Microcontroller Figures Tables Examples Xii Section Introduction and Installation±1. Microcontroller Programmer Personality Module Microcontroller Programmer Overview and DescriptionMicrocontroller Programmer Overview and Description ±2. Gang Programmer Board Gang Programmer Overview and DescriptionGang Programmer Overview and Description Operating the Gang Programmer in Standalone Mode Operating the Gang Programmer in PC ModeGang Programmer Overview and Description Connecting a Programmer to the PDS Base Unit Properly Installing the Programmer HardwareConnection to a PC Power ConnectionConnection to an XDS Switch No ±3. Socket Identification Integrated Circuit IC InsertionTo install a DIP device To install a Plcc device Installing the Software in a Single Directory Properly Installing the Programmer SoftwareInstalling the Software in Multiple Directories PRGRM370 @PROJ1.CFG Coff file Invoking the Programmer SoftwareInteractive Programming Example Getting StartedÐExample SessionsGettingStartedÐExampleSessions \prgrm370 xyz.out @abc.cfg ±b Batch Programming ExampleIntroduction and Installation Operating in the Configuration Window ±1. Command Menu Structure How Command Menus WorkWhat Happens If I Make an Error? Using the Special Function Keys±1. Edit Control Keys Understanding Your Input at the Cursor Prompt±2. Configuration Window Commands Configuration Window Overview and DescriptionConfiguration Window Overview and Description ±3. Show Ranges Parameter Summary Secondary Configuration WindowÐthe Show Ranges WindowSelecting the Proper Program Algorithm Device family name Device first name Control Register Program Algorithm Editing the Configuration ParametersEditing the Device Table ±4. Device Table Edit CommandsEditing the Configuration Parameters and Device Table Loading the Device Table Saving the Device Table Selecting a Current Device Ð the Choose Device CommandShowing the Display Window Ð the Display Command Operating in the Display Window Operating in the Display Window What Happens If I Make an Error Understanding Your Input at the Prompt ±2. PC Memory Display and Reverse Assembled Code Windows Display Window Overview and Description±3. Reverse Assembled Code Window Commands ±2. Display Window CommandsESC Filling a Block of PC Memory With a Value Ð the Fill Command Loading a Coff File Into PC MemoryÐ the Load Command Outputting a Coff File From PC Memory Outputting a Coff File From PC Memory Moving Blocks of PC MemoryÐthe Move Command Programming Using the Microcontroller Programmer Programming a Device From PC Memory Ð the Program CommandProgramming Complete, Program another device?y/n Programming Using the Gang Programmer Address out of range, Press any key ±4. Show Text File Commands Showing and Operating Within a Text FileÐthe Show CommandPositioning the Cursor at Top of a File Ð the Top Command Uploading Using the Microcontroller Programmer Uploading Using the Gang Programmer Unable to communicate with TMS370 device ± Retry, Abort Verifying the Contents of a Device ± the Verify Command Verifying Using the Gang Programmer Device test failed, continue? y/n Verifying the Contents of a Device Editing the Contents of PC MemoryÐthe Edit Command Using the Master Mode MenuÐthe Master Command Quitting the Program and Exiting to DOSÐthe Quit Command Suspending the Program and Entering DOSÐthe System CommandOperating the Programmer in Batch Mode Example A±1. Example Configuration/Batch File Understanding the Batch Mode FileExecutable Batch Commands Batch File Command Rules and DescriptionsDefaultable Commands Nonexecutable Batch CommandsBatch Mode Status Messages Operating the Programmer in Batch Mode Error Messages Invalid programming range ± Retry, Abort Error Message DescriptionsInvalid Vcc chosen ± Retry, Abort These error messages are specific to the gang programmers Table C±1. Valid Configuration Parameters Configuration ParametersConfiguration Parameters Using Keystroke Capture Files Table D±1. Valid Nonprintable Characters Example D±1. Keystroke File Example.key$INS Using Keystroke Capture Files Show ID software revision information, 2-9 description IndexConnecting to a pc, 1-9 connecting to an XDS Index Index-4 Important Notice