Example 1: Connecting to a target from MULTI

You can automate the series of repeated steps required to connect to a target. With the large number of connection methods and the variability of specific user environments, automating a connection is generally unique to a user. MULTI lets you define exactly what you want automated.

In this example, the target processor is a PPC860, the target board is Motorola PPC860ADS, and MULTI is connected to it via an HP Processor Probe. The program being debugged is foo. The following scripts give you a button in MULTI that will connect MULTI to the target and initialize it.

File: foo.rc

debugbutton "My Connect" c="< connect.txt" i=connect

File: connect.txt

remote hpserv 192.67.44.234
target rst
target ads setup

Related topic:


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.