| |||
| Home > Configuring Custom Targets > Linking a board, chip, or component to a connection > Linking several board groups to one connection | |||
You might want to link several groups to a single connection
if the groups represent different, possibly optional, parts of the
same target. For example, the Integrator/AP motherboard definition BOARD=AP and
an Integrator core module definition such as BOARD=CM940T.
This kind of layout is shown in tree form in Figure 13.6.
When you reference multiple boards, RealView Debugger merges the
settings from each matching group. Therefore the complete configuration
is the combined configurations of all of the matching groups. If
the same setting is specified in more than one group, the specification
in the group that is listed first in the CONNECTION is
used, for example BoardChip_name=AP in Figure 13.6.
To set up this linking configuration you must first ensure
that the *.bcd files exist and contain the
required BOARD, CHIP, or COMPONENT groups.
Then reference these files from your board file:
In the Connection Properties window,
expand the connection that you are using, for example CONNECTION=testconn2 shown
in Figure 13.3.
Link the AP target description as described in Linking one board group to one connection, unless you have already done this.
Right-click on the BoardChip_name,
in the right pane, to display the BoardChip context
menu shown in Figure 13.4.
Select the name of the required group, for example CM940T.
You might have to select the <More...> option
to find the group you require. A new entry is displayed in the right
pane with an asterisk * beside it, shown in Figure 13.7 (that is *BoardChip_name
CM940T).
Select File → Save and Close to save your changes and close the Connection Properties window.
When you connect to your RVI/RVI-ME target, the configuration defined in your board groups is applied to the connection. This gives you visibility of all your custom hardware.
Use the method described here to set up as many configuration groups as you require.
This procedure describes adding board CM940T after
board AP. A board group is always added at the
top of the list.
However, you might want to reorder the boards in the BoardChip_name list
(to recreate the structure shown in Figure 13.6). To do this:
Right-click
on any BoardChip_name entry to display the BoardChip context
menu and select Manage List.... The Settings:
List Manager dialog box is displayed.
Select the checkbox for the AP entry,
so that it is checked.
Click Move Up. The AP entry
is moved above the CM940T entry.
Click OK to close the dialog
box. The BoradChip_name list is reordered.
Select File → Save and Close to save your changes and close the Connection Properties window.