49
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>
Optional
If the port specified does not match the project port
settings the command will fail. For USB Direct,
FDM, E8 and E8Direct connections this must be set
to “USB”
“USB”|
<USB
PID>
|
<USB BID>
When using USB Direct it is possible to pre-empt
the Select Device connection dialog normally seen
with these settings.
USB”|“FDM”|”SN: ”
<S
ERIAL NUM>
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
“USB”|”E8
”|<USB
BID>
|
<CONNECT
VOLTAGE>
|
<DISCON
NECT VOLTAGE>
When
<PORT>
is
“USB”
“USB”|”E8Direct
”|<US
B BID>
|
<CONNECT
VOLTAGE>
|
<DISCON
NECT VOLTAGE>
Optional
(One of)
If using E8 or E8Direct the BID of the device, the
initial connection voltage and the voltage to be
applied at disconnect time can be specified. (NB –
currently supported voltage values are “5.0”, “3.3”
or “0”)
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
COM1
Содержание FLASH Development Toolkit 3.07
Страница 16: ...2...
Страница 40: ...26 Figure 3 8 FDM Pin Settings Figure 3 9 E8Direct Pin Settings...
Страница 42: ...28 Figure 3 11 E8DirectRESET Pin Settings...
Страница 74: ...60...
Страница 78: ...64...
Страница 88: ...74...
Страница 112: ...98...
Страница 116: ...102...
Страница 120: ...106...
Страница 124: ...110...
Страница 142: ...128...
Страница 145: ......