2.1.3 Use an existing GHS project file

This section describes how to use an existing GHS project file to create a new CS+ project.

-

You can use CS+ to debug load module files built by the GHS compiler, in the same manner as a debug-dedicated project.

-

Building based on existing GHS project files is easy.

Remark

For notes on the use of GHS download-module files, refer to section "Advanced downloading" under "Download/Upload Programs" in chapter "FUNCTIONS" of "CS+ RH850 Debug Tool".

 

The procedure for using an existing GHS project file to create a new CS+ project is shown below.

Remark

See "CS+ Integrated Development Environment Users Manual: Project Operation" for details about (1), (4), (5), and (6).

(1)

Create or load a project

Create a new CS+ project, or load an existing one created using an existing GHS project file.

When you create a new project, specify [Using Existing GHS Project File(GHS CCRH850)] as the project type.

(2)

Confirm the path of tools

Confirm the setting of the [Path of Tools] category from the [Build Options] tab on the Property panel, and change it if this is required.

(3)

Set a GHS project file to be used

Set a GHS project file to be used in the [Build] category from the [Build Options] tab on the Property panel.

Caution

If you need to set build options, set them in the MULTI IDE from Green Hills Software in advance.

(4)

Set a download file

Drag a load module file from Explorer or the like, and drop it onto the Download files node on the project tree.

Remark

For details, refer to section "Add a download file" under "Add a File to a Project" in chapter "USING AN EXTERNAL BUILD TOOL" of "CS+ Project Operation". In this case, read the statement "debug-dedicated project(s)" as "project(s) based on an existing GHS project file".

(5)

Run a build

Run a build.

Remark

If there are any commands you wish to run before or after the build process, on the Property panel, from the [Common Options] tab, in the [Others] category, set the [Commands executed before build processing] and [Commands executed after build processing] properties.

(6)

Save the project

Save the setting contents of the project to the project file.