# # README.TXT This project is a generic base for a ANSI-C project for the HC908AZ60A. Project is prepared to be designed with Processor Expert. The CPU MC9S08DZ60CLH is inserted into the Processor Expert project panel, in the 08DZ60CLH configuration. All the installed Embedded Components are accessible in the Component library window, grouped into folders according to their function. The mouse double-click on selected Embedded Component in the Component library window adds the Component to the project. The mouse double-click on the Component icon in the Project panel opens the Component Inspector window, which is used to set the Component properties. Source code is generated after selecting the Code Design 'Project_name.mcp' menu command from the CodeWarrior main window (Processor Expert | Code design 'Project_name.mcp'). Use the Component methods and events to write your code in the main module 'Project_name'.c and the event module Events.c. Switching among several PE projects already opened in IDE can be performed only this way: Processor Expert | Suspend Processor Expert, Project | Set Default project | 'desired PE project', Processor Expert | Open Processor Expert for 'desired PE project'. For more help please read Processor Expert help (Processor Expert | Help | 'Topic'). The following folders are used in CodeWarrior project window: - User modules: contains your sources. The main module 'Project_name'.c and event module Events.c are located here after the Processor Expert code generation. - Debugger Cmd Files: Here you can place your own specific debugger command files. - Prm: Linker parameter file used for linking. Note that the file used for the linker is specified in the Linker Preference Panel. To open the Preference Panel, please press ( or open the Edit | 'Current Build Target Name' settings menu item in the CodeWarrior main window menu, while the project window is opened). After Processor Expert code generation 'Project_name'.prm file will be placed here. - Libs: contains the ANSI library to be linked with. - Debugger Project File: This *.ini file is passed to the debugger/simulator as configuration file. It contains various target interface settings, and path information as well. This file can be edited from the simulator/debugger e.g. using the "File | Configuration" menu item in the simulator/debugger main window menu. - Generated code: this folder appears after the Processor Expert code generation and contains generated code from Processor Expert. - Doc: other files generated from the Processor Expert (documentation) Available CodeWarrior Targets: - Full Chip Simulation - P&E Multilink/Cyclone Pro - Softec HCS08 - HCS08 Open Source BDM Note that this project is set up for a Softec HCS08 by default. But you can easily change this to work with a target: - launch the simulator/debugger using Project | Debug (while the current project window is opened) - Choose in the simulator/debugger Component | Set Target and then choose a target interface - Choose in the simulator/debugger File | Save Project so the new target settings are saved This project includes a burner command file (.bbl) in order to generate a SRecord file (.s19). Remove this file from prm folder if no SRecord is needed.