AN2395 Freescale Semiconductor / Motorola, AN2395 Datasheet - Page 3

no-image

AN2395

Manufacturer Part Number
AN2395
Description
PC Master Software Usage
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
PC Master Software Variables
MOTOROLA
All of the information related to one project is stored in a single PC master
software project file with the extension “.pmp”. This information includes the
project settings and options, the Project Tree, Detail View pages, real-time
chart definitions, watch interface settings, variables and commands,
stimulators, and other details.
One of the most important ways to debug the embedded application is to read
the target application’s variables and write to them. These simple actions give
the user the possibility to fully control any application. To start working with PC
master software variables, their names and addresses have to be defined. In
order to make this step easier, PC master software supports various types of
map files (e.g., CodeWarrior elf and HiWare map formats).
Once the variables and their addresses are loaded or manually defined, the
user is able to choose the format in which the content will be interpreted
(decimal, hexadecimal, binary, and ASCII formats are supported). If the
variable represents a linear quantity (e.g., voltage), the content can be
transformed to the correct value using linear transformation available in the PC
master software application.
In
definition with linear transformation to obtain the correct value of the rotor’s
revolutions. In
Here, the variable represents the rotor’s revolutions in RPM. The minimum
value of the 16-bit variable (0) corresponds to 0 RPM, the maximum value
(32767) corresponds to 1500 RPM. The coordinates of the first point are [0, 0]
and the coordinates of the second point of the linear transformation are [32767,
1500].
This simple example only demonstrated one unique feature. Many other
functions can be defined to effectively display variable information.
Embedded applications usually contain many status variables whose contents
indicate the current state of the application. Wouldn’t it be great to see a text
description of each state, instead of an impersonal number? That can also be
done with PC master software with the possibility of enumerating any variable
and assigning several text values to it. As an example,
configuration of the ApplicationMode variable. This variable was highlighted in
Figure
To further the list of PC master software variable features, we should not forget
the capability of monitoring minimum and maximum variable values, mask
definition (used to write variable content), defining refresh rate of each
variable, etc.
Figure
Freescale Semiconductor, Inc.
For More Information On This Product,
1.
2, you can see an example of the PC master software variable
PC Master Software Usage
Go to: www.freescale.com
Figure 1
you can see the Speed variable in the Watch-grid pane.
Figure 3
PC Master Software Variables
shows the
AN2395/D
3

Related parts for AN2395