Share via


MFDevice.Deploy Method

Deploys an object file to a device in Motorola SREC format (.hex).

Namespace: Microsoft.NetMicroFramework.Tools.MFDeployTool.Engine
Assembly: (in )

Syntax

 public bool Deploy (
         string filepath,
         string signatureFile,
         out uint entrypoint
)

Parameters

  • filepath
    Path to the SREC file to be deployed.
  • signatureFile
    Path to the digital signature for the SREC file.
  • entrypoint
    Receives the entry point address for the SREC file after it has been deployed.

Return Value

true if the deployment was successful, or false if not.

Remarks

The signature file is used to validate the image after it has been deployed. If the signature does not match, the deployed SREC file is erased from the device.

Can throw MFFileNotFoundException, MFDeviceNoResponseException, or MFUserExitException.

Version Information

Available in MFDeploy version 1.0

See Also