
5. Cooperation
In cooperation with SOFTUNE Workbench, the following SOFTUNE components help improve the quality of
1)SOFTUNE V3 C Checker
Designed to meet the following requests from beginners through to advanced users:
•Eliminate all coding mistakes.
•Review programs quickly and efficiently.
•Enable even
•Maximize coding skills.
•Use software assets on Fujitsu CPUs.
The SOFTUNE C Checker checks code for maintainability, methods of expanding specifications and transportability; indicates areas where quality and performance could be improved, and reports these results to the user. The user can then review the
(1) Outline
Recently software for embedded microcontrollers has been developed in the C language. However, it is difficult to understand the message output from a compiler unless the language specifications are well known.
This development support tool checks
(2)Features
•Outputs advised to be suitable for these objectives: Portability, coding errorperformance, porting to Fujitsu CPU’s.
•Allows customization according to the programmers level.
•Works with C compilers (fcc911/fcc911s, cc907/fcc907s, fcc896s) for Fujitsu microcontrollers (FR family, F2MC- 16 family, and
•Provides easy operation and simple display over a GUI.
(3)Advising Function
The following pieces of advice are given. “Reason of check”, “Example of program”, “Suggestion of correction”, and
•Portability
This tool makes a close check on the items
It also gives an explanation of the operation of C compilers (Fcc911, Fcc907 and Fcc896) for Fujitsu microcon- trollers.
For example, the tool gives the user proper advice on many problems (such as a data type acceptable to a structure, code, and its arrangement) at the time of porting.
•Coding error
This tool indicates the items which are not wrong in the language specifications but may cause an error and the items which are logically inconsistent.
For example, the equivalent expression "if (a==0)" in the if statement is likely to be typed as the assignment expression "if (a=0)" by mistake. Most compilers cannot detect such an error.
•Performance
This tool indicates the items generally providing better performance and the items essential and effective for the FR family,
Stress is especially, put on the detection of object size reduction which can be a problem in software for embedded microcontrollers.
For example, if a function return value is structure of the double type, an area is reserved for the return value and an object which is to be transferred to the area is output.
This tool advises the user to transfer the function return value by a pointer and largely reduce the object size.
•Porting to Fujitsu CPU
This tool advises the user what to consider in porting exsting software from other makers’ CPU to Fujitsu CPU in the FR family,
For example, in porting software resources created for the
Support tools | |
|
|
65