1 workspace, 2 connect – Renesas Single-Chip Microcomputer M306NKT3 User Manual
Page 69

53
Each script command should be written on a separate line of the text file; FDT will cope with DOS and
UNIX style line breaks (CR or CR LF). File paths within the script file can include drive letters or network
paths (including IP addresses).
4.5.1
Workspace
Description = loads a specified workspace into FDT (Note: a valid workspace and configured project
must be opened to use any of the device-related commands)
Arguments:
<Workspace Path>
Required
The path to the workspace
Example:
Workspace
C:\Workspaces\3069serial\3069serial.AWS
NB: FDT will use the active project from this workspace – there is currently no facility for changing
which is the active project from the script
4.5.2
Connect
Description = connect to a device
Arguments:
<PORT>
“USB”|<USB PID>|<USB BID>
Optional
Optional
If the port specified does not match
the project port settings the command
will fail. For USB direct and FDM
connections this must be set to
“USB”
When using USB it is possible to pre-
empt the Select Device connection
dialog normally seen with these
settings. (If using an FDM the PID
should be set to “FDM” and the BID
should be set to “SN: “ followed by
the FDM’s serial number)
Note that the connection will only be attempted with the project port setting and not to change the port
used to connect. Specification of the port in this command is only to force a failure if the project does
not match this setting, and to suppress the Select Device connection dialog for USB devices by
allowing the PID/BID or FDM and Serial number to be preselected.
Examples:
Connect
Connect
USB|0x000D|0
Connect USB|FDM|SN: 93506
Connect
COM1