3.3.7. Enabling semihosting

You can use the RealView Trace 2 launch configuration dialog to set up semihosting, a feature that enables the target to communicate I/O requests made in the application code to the host system, rather than attempting to support the I/O itself. A simple example of this is the use of a host window to provide a system console, to which the output of functions like printf() can be written.

To disable semihosting, uncheck the Provide Semihosting checkbox. If semihosting is enabled, enter memory locations in the Heap Base, Limit, and Stack Base fields to define the parameters of the heap and stack and enter any command line arguments for the image file in the Command Line field.


Uncheck the Provide Semihosting checkbox if you are profiling on an OS.

Copyright © 2007- 2009 ARM Limited. All rights reserved.ARM DUI 0414D