Connect Method


This method is used to connect to a target C8051Fxxx device. Establishing a valid connection is necessary for all memory operations to succeed.


Syntax
object.Connect( _
        [ nECprotocol As Long, ] _
        [ nBaudRateIndex As Long ] _
    )

Parameters
nECprotocol
    Connection protocol used by the target device;
    Look at the 'ECprotocol-Enumeration' for possible values.
    The default is 0.
nBaudRateIndex
    Target baud rate to establish a connection;
    Look at the 'BaudRateIndex-Enumeration' for possible values.
    The default is 0.