beautypg.com

Bit proprietary f, Mc-8l family, Support tools – FUJITSU Semiconductor User Manual

Page 68: 2) s, V3 c analyzer

background image

67

8-bit Proprietary F

2

MC-8L Family

Support Tools

F

2

MC-8LF

amily

Support tools

2)

S

OFTUNE

V3 C Analyzer

Designed to meet the following user situations:

• One wishes to examine a program’s structure or processing, but the programmer is absent or documentation is

unavailable.

• During program development, one wishes to create a structural program while taking into account structure and

processing.

• One wishes to examine the range of effects caused by program modification.

• One wishes to create a program’s internal documentation.

• One wishes to explore the possibilities of a more efficient program.

The structure and usage of data in a C-language source program are displayed visually, and the internal data struc-
ture, functional tree, stack usage and other infomation can be acquired and stored in a file.

(1) Outline

Recent software (ROM) for embedded microcontrollers is increasingly extending its development scale. This situation
is created from development by many programmers, diversion of exsting resources, and use of package programs.
This development support tool statically analyzes the C-source program to visually display and print the function-to-
function structure, reference data, and statistical data. In addition to generating the information required for design and
maintenance, the development support tool also provides functions for development aimed at embedded applications.
These functions (maximum stack size calculation) are specific to the C compilers (fcc911s, fcc907s, fcc896s) used for
Fujitsu microcontrollers (FR family, F

2

MC-16 family, and F

2

MC-8L family).

(2) Features

• Displays and prints the function-to-function structure, reference data, and statistical data.

• Supports the embedded capability of C compilers (fcc911/fcc911s, cc907/fcc907s, and fcc 896s)for Fujitsu

microcontrollers (FR family, F

2

MC-16 family and F

2

MC-8L family).

• Provides easy operation and simple display over a GUI.

(3) Explanation of Features

The following data is enabled for development, maintenance, and higher porting efficiency.

• Graphic flow

This feature displays the "call" function in the block structure way. It also allows the display of the entire function
and calls from any function and the retrieval of functions.

• Logic flow

This feature visually displays the internal structure of the C-source program.
For example, it shapes the control structure of

for

and

switch

statements and structure declarations. A jump

feature for retrieval by functions, variable, tag, and macro names is also provided.

• Displaying statistical data

This feature displays the complexity and line count of a programs every function, the source of destination func-
tion name, and the count of appearances of

if

,

for

and

asm

statements, etc.

• Displaying argument data

This feature displays data about the function-called file name and line number, the return value of the declared
function, and the type of argument. It also checks the adjustability of dummy arguments with actual arguments.

• Displaying cross-reference data

This feature displays functions, variables, tag and macro declarations in its function and its line number.

• Displaying global data

This feature displays the functions using global variables. It also detects unused global variables.

• Program checking

This feature checks and displays the adjustabiltiy of dummy arguments with actual arguments.

• Calculating the maximum amount of stacks used

This feature calculates and displays the amount of stacks used in the entire function, as well as in any other func-
tions. This calculation is made on the basis of the output of C compilers (fcc911/fcc911s, fcc907/fcc907s, and
fcc896s) for Fujitsu microcontrollers (FR family, F

2

MC-16 family and F

2

MC-8L family).