Fr Family Softune Workbench User's Manual
Total Page:16
File Type:pdf, Size:1020Kb
FUJITSU SEMICONDUCTOR CM71-00329-3E CONTROLLER MANUAL FR FAMILY SOFTUNETM WORKBENCH USER’S MANUAL for V6 FR FAMILY SOFTUNETM WORKBENCH USER’S MANUAL for V6 FUJITSU LIMITED Preface ■ What is the SOFTUNE Workbench? SOFTUNE Workbench is support software for developing programs for the FR families of microprocessors / microcontrollers. It is a combination of a development manager, simulator debugger, emulator debugger, monitor debugger, and an integrated development environment for efficient development. ■ Purpose of this manual and target readers This manual explains the functions of SOFTUNE Workbench. This manual is intended for engineers developing various types of products using SOFTUNE Workbench. Be sure to read this manual completely. ■ Trademarks SOFTUNE is a trademark of FUJITSU LIMITED. REALOS (REALtime Operating System) is a trademark of FUJITSU LIMITED. The names of products and systems appearing in this manual are trademarks or registered trademarks of their respective companies. i ■ Organization of Manual This manual consists of two chapters. CHAPTER 1 "Basic Functions" This chapter describes the basic functions on the SOFTUNE Workbench. CHAPTER 2 "Dependence Functions" This chapter describes the functions on each debugger. • The contents of this document are subject to change without notice. Customers are advised to consult with FUJITSU sales representatives before ordering. • The information, such as descriptions of function and application circuit examples, in this document are presented solely for the purpose of reference to show examples of operations and uses of Fujitsu semiconductor device; Fujitsu does not warrant proper operation of the device with respect to use based on such information. When you develop equipment incorporating the device based on such information, you must assume any responsibility arising out of such use of the information. Fujitsu assumes no liability for any damages whatsoever arising out of the use of the information. • Any information in this document, including descriptions of function and schematic diagrams, shall not be construed as license of the use or exercise of any intellectual property right, such as patent right or copyright, or any other right of Fujitsu or any third party or does Fujitsu warrant non-infringement of any third-party's intellectual property right or other right by using such information. Fujitsu assumes no liability for any infringement of the intellectual property rights or other rights of third parties which would result from the use of information contained herein. • The products described in this document are designed, developed and manufactured as contemplated for general use, including without limitation, ordinary industrial use, general office use, personal use, and household use, but are not designed, developed and manufactured as contemplated (1) for use accompanying fatal risks or dangers that, unless extremely high safety is secured, could have a serious effect to the public, and could lead directly to death, personal injury, severe physical damage or other loss (i.e., nuclear reaction control in nuclear facility, aircraft flight control, air traffic control, mass transport control, medical life support system, missile launch control in weapon system), or (2) for use requiring extremely high reliability (i.e., submersible repeater and artificial satellite). Please note that Fujitsu will not be liable against you and/or any third party for any claims or damages arising in connection with above-mentioned uses of the products. • Any semiconductor devices have an inherent chance of failure. You must protect against injury, damage or loss from such failures by incorporating safety design measures into your facility and equipment such as redundancy, fire protection, and prevention of over-current levels and other abnormal operating conditions. • If any products described in this document represent goods or technologies subject to certain restrictions on export under the Foreign Exchange and Foreign Trade Law of Japan, the prior authorization by Japanese government will be required for export of those products from Japan. Copyright ©2002-2006 FUJITSU LIMITED All rights reserved ii Reading This Manual ■ Product Names In this manual and this product, product name is designated as follows: The Microsoft® Windows® 98 operating system is abbreviated to Windows 98. The Microsoft® Windows® Millennium Edition operating system is abbreviated to Windows Me. The Microsoft® Windows® 2000 Professional operating system is abbreviated to Windows 2000. The Microsoft® Windows® XP Professional operating system is abbreviated to Windows XP. iii iv CONTENTS CHAPTER1 Basic Functions...............................................................................1 1.1 Workspace Management Function......................................................................................... 2 1.2 Project Management Function................................................................................................ 3 1.3 Project Dependence ............................................................................................................... 5 1.4 Make/Build Function ............................................................................................................... 6 1.4.1 Customize Build Function............................................................................................. 7 1.5 Include Dependencies Analysis Function............................................................................... 9 1.6 Functions of Setting Tool Options......................................................................................... 10 1.7 Error Jump Function ............................................................................................................. 11 1.8 Editor Functions.................................................................................................................... 13 1.9 Storing External Editors........................................................................................................ 14 1.10 Storing External Tools .......................................................................................................... 16 1.11 Macro Descriptions Usable in Manager................................................................................ 17 1.12 Setting Operating Environment............................................................................................. 21 1.13 Debugger Types ................................................................................................................... 22 1.14 Memory Operation Functions ............................................................................................... 23 1.15 Register Operations.............................................................................................................. 24 1.16 Line Assembly and Disassembly.......................................................................................... 25 1.17 Symbolic Debugging............................................................................................................. 26 1.17.1 Referring to Local Symbols ........................................................................................ 28 1.17.2 Referring to C/C++ Variables ..................................................................................... 29 CHAPTER2 Dependence Functions .................................................................31 2.1 Simulator Debugger.............................................................................................................. 32 2.1.1 Instruction Simulation ................................................................................................. 34 2.1.2 Memory Simulation..................................................................................................... 35 2.1.3 I/O Port Simulation ..................................................................................................... 36 2.1.4 Interrupt Simulation .................................................................................................... 37 2.1.5 Reset Simulation ........................................................................................................ 38 2.1.6 Power-Save Consumption Mode Simulation.............................................................. 39 2.1.7 Break .......................................................................................................................... 40 2.1.7.1 Code Break ........................................................................................................... 41 2.1.7.2 Data Break ............................................................................................................ 42 2.1.7.3 Trace Buffer-full Break .......................................................................................... 43 2.1.7.4 Guarded Access Break ......................................................................................... 44 2.1.7.5 Forced Break......................................................................................................... 45 2.1.8 Measuring Execution Cycle Count ............................................................................. 46 2.1.9 Trace .......................................................................................................................... 47 2.1.9.1 Trace Sampling ..................................................................................................... 48 2.1.9.2