Datasheet

Semihosting
ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-5
5.2 Semihosting implementation
The functionality provided by semihosting is basically the same on all debug hosts. The
implementation of semihosting, however, differs between hosts.
5.2.1 ARMulator
When a semihosting SWI is encountered, ARMulator traps the SWI directly and the
instruction in the SWI entry in the vector table is not executed.
To turn the support for semihosting off in ARMulator, change
Default_Semihost
in the
default.ami
file to
No_Semihost
.
See Peripheral models on page 2-32 for more details.
5.2.2 RealMonitor
RealMonitor implements a SWI handler that must be integrated with your system to
enable semihosting support.
When the target executes a semihosted SWI instruction, the RealMonitor SWI handler
carries out the required communication with the host.
For further information refer to the documentation supplied with RealMonitor.
5.2.3 Angel
The Angel debug monitor installs a SWI handler during its initialization. This occurs
when the target powers up.
When the target executes a semihosted SWI instruction, the Angel SWI handler carries
out the required communication with the host.