
5. Cooperation
In cooperation with SOFTUNE Workbench, the following SOFTUNE components help improve the quality of
1) SOFTUNE C Checker
Designed to meet the following requests from beginners through 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
Recent software for embedded microcontrollers has been developed in the C language. However, it is difficult to understand messages output from a compiler unless the language specifications are well known.
This development support tool checks
(2)Features
•Outputs advice suitable for objectives: Portability, coding error, performance, porting to Fujitsu CPU
•Allows customization to a programmer level.
•Works with C compilers for Fujitsu microcontrollers.
•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 microcontrollers.
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 which generally provide better performance and the items which are essential and effective for the FR family and
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 a structure of the double type, an area is reserved for the return value and an object 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 objects size.
•Porting to Fujitsu CPU’s
This tool advises the user what to consider in porting exsting software from other makers’ CPU to Fujitsu CPU in the FR family and
For example, in porting software resources created for the
Support tools | |
F2 |
|
157