How To...
How To Load an Application
202
Microcontrollers Debugger Manual
this file (for example, CALL INIT.CMD), it automatically executes when the
connection component is loaded.
NOTE Refer to Starting Debugger from CodeWarrior IDE.
How To Load an Application
1. Choose HCS08FCS > Load. The Load Executable File dialog box opens.
2. Select an application (for example FIBO.ABS).
3. Click OK. The dialog box is closed and the application is loaded in the Debugger
(refer to Figure 6.1).
The Source component contains source from the module containing the entry point for the
application (usually the startup module). The highlighted statement is the entry point.
The Assembly component contains the corresponding disassembled code. The highlighted
statement is the entry point.
The Data:1 component contains the list of global variables defined in the module
containing the application entry point.
The Data:2 component lists local variables, if any are available.
The PC in the Register component is initialized with the PC value from the application
entry point.
How to Start an Application
There are two different ways to start an application:
• Choose Run > Start/Continue
• Click the Start > Continue icon in the debugger tool bar
RUNNING in the status line indicates that the application is running.
The application continues execution until:
• you decide to stop the execution (See How to Stop an Application).
• it reaches a breakpoint or watchpoint.
• it detects an exception (watchpoints or breakpoints).