Technical data

FIRE Emulator for H8S and H8/300H 8 Q u i c k S t a r t
©1989-2014 Lauterbach GmbH
5. Select frequency (optional)
The CPU can be clocked by an internal (emulator) or external (target) clock source. If the internal
clock is used, the clock is provides by the VCO of the emulator. The setting of the internal clock is
done by the “vco” command.
The current CPU frequency can be displayed in the counter window (Command: Count).
6. Activate the emulator
When the emulator is activated a debug-monitor program is loaded into a hidden emulator memory.
Afterwards, a bondout reset-signal is inactivated and the monitor program starts. This program allows
access to user memory (data.dump, data.list) and cpu-registers, and gives control to start and stop
the emulation.
7. Load application file (optional)
Application can be loaded by various file formats. UBROF format is often used to load code and
symbol information. For information about the load command for your compiler see Compiler.
8. Set breakpoints (optional)
There are several ways to set breakpoints (Command: Break.Set). Breakpoints can be displayed
using the Break.List command.
9. Start application
Application can be started with giving a break address. For example ”go main” starts the application
and stops at symbol main.
vco.clock 20. ; input clock to the EXTAL pin of
; the cpu is set to 20 MHz (only
; necessary if internal clock is
; used)
system.mode emulext ; system works with external target
; clock
data.load.ubrof iarh8s.dbg ; load application file
breakpoint.set main /program
breakpoint.set flags /write
; set program break on function
; main
; set write break on variable
; ’flags’
go ; run application