2.1 FVP Debug

This section describes how to debug an FVP.

FVP Debug options

To debug an FVP, you can:
  • Start the FVP from within a debugger.
  • Connect a debugger to a model that is already running.
You can use your own debugger if it has a CADI interface to connect to an FVP. For information about using your debugger in this way, see your debugger documentation.

Semihosting support

Semi-hosting enables code running on a platform model to directly access the I/O facilities on a host computer. Examples of these facilities include console I/O and file I/O.
The simulator handles semihosting by intercepting HLT 0xF000, or SVC 0x123456 or 0xAB, depending on whether the processor is in A64, A32 or T32 state. It handles all other HLTs and SVCs as normal.
If the operating system does not use HLT 0xF000, SVC 0x123456 or 0xAB for its own purposes, it is not necessary to disable semihosting support to boot an operating system.
To temporarily or permanently disable semihosting support for a current debug connection, see your debugger documentation.
Related information
ARM Compiler toolchain Developing Software for ARM Processors
Non-ConfidentialPDF file icon PDF versionARM DUI0837H
Copyright © 2014-2016 ARM. All rights reserved.