Description

17.1 Description

The Vision2 is an integrated software development platform that combines a ro- bust screen editor, and project manager with make facilities. In addition, the Keil package has an integrated source-level debugger that contains a high-speed simulator that gives you the ability to simulate the entire 8051 system. This in- cludes the full complement of the 8051 resources, and the MSC1210 specific on- chip peripherals and external hardware peripherals. You can configure the Vi- sion2 platform for the attributes and peripherals specific to the particular member of the TI MSC1210 family that is being targeted. The process for accomplishing this is outlined in the Keil Software Getting Started manual.

When the target system is properly selected, in the debug mode, one has ac- cess to the full complement of special MSC1210 peripherals. Some of the pe- ripherals available on the simulator are common to the standard 8051 device, whereas the others are specific to the MSC1210. Following is a list of the MSC1210 simulated peripherals:

1)Interrupts

2)Port I/O: Port 0, Port1, Port2, Port3

3)Serial Ports: Serial 0, Serial 1

4)Timers: Timer 0, Timer 1, Timer 2, System Timer, Watchdog

5)SPI

6)Analog-to-Digital Converter

7)Summation/Shifter

8)Clock Control

The use and the applications of these peripherals are discussed in this section.

The graphical user interface (GUI) core of the Keil Simulator consists of a collection of individual dialog windows that represent the respective MSC1210 peripheral module that is being simulated. These dialogs facilitate interaction between the user/developer and the simulator. Facilities are provided for data to be written to, or read from, the various SFRs that control or reflect the status of the individual peripheral modules being simulated by the Keil development platform. These interactive fields include the following:

1)Various editable and noneditable text windows. The contents of these win- dows represent the current value that is programmed into the respective SFR or the present value of the pertinent register.

2)There are also special selection list windows that display a list of choices from which you are allowed to choose. The default settings for these list items are selected and displayed upon the activation of the peripheral module. Any selection made through this medium directly affects the set- ting of the pertinent SFR, on the basis of the location of the affected bit(s) within the bit pattern of the register. If the SFR is represented in the periph- eral module, its value is immediately updated and displayed in the proper text display window.

17-2

Page 230
Image 230
Texas Instruments MSC1210 manual 17-2