Invoking MFDeploy from the Command Line

This overview describes the options available for invoking MFDeploy from the command line.

Usage

To invoke MFDeploy from the command prompt, use the following form:

MFDeploy [COMMAND[:CMD_ARGS]] [/I:INTERFACE[:INTEFACE_ARGS]]

Commands

MFDeploy supports the commands listed in the following table.

Command Description
Erase Erases the user application and user data sectors.
Deploy:<image file>[;<image file>]

Deploys one or more image files.

Ping

Determines whether a particular device is in a state that allows communication. MFDeploy displays one of the following :

Pinging... Error: No response from device
Pinging... TinyCLR
Pinging... TinyBooter
Reboot[:Warm] Reboots the device if the Warm option is not specified. Reboots only the CLR if the Warm option is specified.
List Displays a list of all available serial and USB ports.
Help Displays help information.

Interface

MFDeploy supports the following ports for interfacing with your hardware device.

Interface Description
Serial:<port_num> Selects the serial port (COM port). The communication rate is automatically set to 115200 bps.
USB:<usb_name> Selects a USB port. Use the List command to see the names of the available USB ports.
TCPIP:<ip_addr> Selects the TCP/IP interface.

Examples

>MFDeploy.exe Ping /i:TCPIP:10.52.32.196
Pinging…TinyCLR

>MFDeploy.exe Erase /i:TCPIP:10.52.32.196
      
>MFdeploy.exe Deploy:c:\tinyclr_compressed.hex;c:\ER_CONFIG.hex /i:TCPIP:10.52.32.196 /i:Serial:1:115200