After you have built your model, it can be simulated and debugged with Model Debugger.
For more information on using Model Debugger, see the Model Debugger for Fast Models User Guide.
You can use RealView® Debugger instead of Model Debugger. See Using RealView Debugger
To use Model Debugger:
If it has not already been configured, ensure that System Canvas can locate the executable for Model Debugger. See Configuring Model Debugger.
Click the Debug button on the System Canvas toolbar to launch Model Debugger.
The Model Debugger Configure Model Parameters dialog opens to show the parameters that you can configure. See Figure 3.3. Make any required changes, then click OK.
The names of the panes in the dialog might be different to those shown in Figure 3.3, depending on the model you are using, but the purpose and usage is the same in all cases.
The Model Debugger Select Targets dialog opens and displays the debuggable components that are available for connection to Model Debugger. See Figure 3.4.
Select the targets to load by clicking the box next to it and clicking OK. One or more instances of Model Debugger are then created, depending on how many targets you selected to load.
For each instance of Model Debugger connected to a core:
Use the Load Application dialog shown in Figure 3.5 to specify the application to load for the core.
If there is only one core in the model, the dialog is typically displayed after the target is selected. If the dialog is not automatically displayed, select Load Application Code from the File menu.
Select the application code (.axf)
to load for the core.
Click Open to select the file and close the dialog.
Click Run to start the simulation.
An example of a dual core system connected to two instances
of Model Debugger is shown in Figure 3.6. One core is running ARM embedded Linux,
and the other is running the brot.axf example.