
ICE Emulator for 8051
6
©1989-2019 Lauterbach GmbH
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.
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
8.
Set breakpoints (optional)
There are several ways to set breakpoints (Command:
). Breakpoints can be displayed
using the
command.
9.
application
Application can be started with giving a break address. For example
”go main”
starts the application
and stops at symbol main.
10.
application (optional)
Application can be breaked manually by using th
BREAK
command.
system.mode emulint
; system works with internal target
; clock
data.load.ih test.hex
; 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
break
;break application manually