
E8a Emulator User's Manual 5. Debugging
R20UT0541EJ0601 Rev.6.01 Page 64 of 124
Aug 25, 2011
5.2 Downloading a Program
This section describes how to download a program and view it as source code or assembly-language mnemonics.
Note: After a break has been detected, the High-performance Embedded Workshop displays the location of the program
counter (PC). In most cases, for example if an Elf/Dwarf2-based project is moved from its original path (at the
build), the source file may not be automatically found. In this case, the High-performance Embedded Workshop
will open a source file browser dialog box to allow you to manually locate the file.
5.2.1 Downloading a Program
A l
o
ad module to be debugged must be downloaded.
To download a program, select the load module from [Debug -> Download] or select [Download] from the popup menu
opened by clicking the right-hand mouse button on the load module in [Download modules] of the [Workspace] window.
Note: Before downloading a program, it must be registered to the High-performance Embedded Workshop as a load
module. For registration, refer to section 4.2, Setting at E8a Emulator Activation.
5.2.2 Viewing the Source Code
Select a sourc
e
file name in the [Workspace] window and click [Open] in the popup menu to make the High-performance
Embedded Workshop display the source file in the editor. It is also possible to display your source files by double-clicking
on their names in the [Workspace] window.
Figure 5.2 [Source] Window
Komentáře k této Příručce