E.3.1 Add a download file

Add a load module file to the debug-dedicated project as the download file to debug.

Caution

To perform source level debugging (step execution in source level units, etc.), a load module file with the symbol information must be added to the debug-dedicated project.

Remark

The specified load module file is reflected automatically on the [Download File Settings] tab in the Property panel of the debugging tool.
When the specified load module file is downloaded to the debug tool, the source file is automatically added to the project tree based on the source file information acquired from the download file.
Also use this [Download File Settings] tab to configure the load module file type and download options, add a hex file or binary file to download additionally as well as the load module file added by this method below.
See the "CS+ Integrated Development Environment User’s Manual: Debug Tool", for details on the downloading.


 

A load module file can be added by the following methods.

(1)

Adding an existing file

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

Figure E.4

Project Tree Panel (Adding a Load Module File)

 

(2)

Creating and adding an empty file

Select the Download files node on the project tree, and then select [Add] >> [Add New File...] from the context menu. The Add File dialog box will open.

Figure E.5

Add File Dialog Box (Adding a Load Module File)

 

In the dialog box, specify the file name to be created newly and the location in which it is created, and then click the [OK] button.

The project tree after adding the load module file will look like the one below.

Figure E.6

Project Tree Panel (After Adding Load Module File "a.out")