1.3. CADI classes used to connect to a simulation

Figure 1.2 shows the relation of CADI interface classes in the target connection mechanism.

Figure 1.2. Relationship between CADI interface classes used to connect to a target

To view this graphic, your browser must support the SVG format. Either install a browser with native support, or install an appropriate plugin such as Adobe SVG Viewer.


Each interface class is derived from CAInterface to enable compatibility checks and the extension mechanism. See The CAInterface class.

The CADIBroker class manages the connection to a CADI simulation and consequently to a target. It provides a CADI simulation by either:

The CADISimulation class interacts with the CADISimulationCallback and CADIErrorCallback callback classes. An object of each of these classes must be registered to it. Pointers to the callback objects are forwarded to the simulation and used for asynchronous communication between the target and debugger.

It is necessary to unregister the callback before ending the simulation. This avoids problems that might result from disconnecting from a simulation without shutting it down.

Copyright © 2014 ARM. All rights reserved.ARM DUI 0842B
Non-ConfidentialID111014