更换语言:
   Contact us
  • Follow CooCox
  •         
  • CooCox Market
  •         
  • Tech Support
  •     
Home  ›  CooCox CoFlash ›Command Line Interface

CooCox CoFlash Command Line Interface  

In addition to its traditional Windows graphical user interface (GUI), CoFlash supports a command line mode as well. This makes it possible to use CoFlash for batch processing purposes.

CoFlash Command Usage:

Synopsis:coflash [global option]… [command]… [argument]…

 

global option

 Option  Description
 -h,--help  Show help information
 -V,--version  Show version information

 

erase command

Usage:coflash erase CPU [option]…
Example:coflash erase AT91SAM3U4E
 Option  Description
 -d,--driver=FILE  Specify the driver file path
 -a,--adapter-name=ADAPTER Optional.Specify the USB Adapter.Default is ColinkEx.
 -c,--adapter-clk=Freq Optional.Specify the USB Adapter Max Clock(HZ)
 -e,--erase=OPTION  Optional.Specify the erase option. Erase option can be all/affected/nothing.
"all" is default.
 -p,--port=PORT  Optional.Specify the Debug Port to use. port option can be SWD/JTAG. "SWD" is Default.
 -h,--help  Show help information for the erase command.

 

program command

Usage:coflash program CPU FILE [option]…
Example:coflash program AT91SAM3U4E test.bin
 Option  Description
 -d,--driver=FILE  Specify the driver file path
 -a,--adapter-name=ADAPTER Optional.Specify the USB Adapter.Default is ColinkEx.
 -c,--adapter-clk=Freq  Optional.Specify the USB Adapter Max Clock(HZ).
 -e,--erase=OPTION  Optional.Specify the erase option. Erase option can be all/affected/nothing.
"all" is default.
 -p,--port=PORT  Optional.Specify the Debug Port to use. port option can be SWD/JTAG. "SWD" is Default.
 -o,--offset=INDEX Optional.Specify the offset sector index. Default is 0
 -r,--postrun=OPTION Optional. true/false, "true" is default.
 -v,--verify=OPTION Optional. true/false, "true" is default.
 -h,--help  Show help information for the program command.

 

blankcheck command

Usage:coflash blankcheck CPU [OPTION]...
Example:coflash blankcheck AT91SAM3U4E
 Option  Description
 -d,--driver=FILE  Specify the driver file path
 -a,--adapter-name=ADAPTER Optional.Specify the USB Adapter.Default is ColinkEx.
 -c,--adapter-clk=Freq  Optional.Specify the USB Adapter Max Clock(HZ).
 -p,--port=PORT  Optional.Specify the Debug Port to use. port option can be SWD/JTAG. "SWD" is Default.
 -h,--help  Show help information for the blankcheck command.

 

verify command

Usage:coflash verify CPU FILE [OPTION]...
Example:coflash verify AT91SAM3U4E test.bin
 Option  Description
 -d,--driver=FILE  Specify the driver file path.
 -a,--adapter-name=ADAPTER Optional.Specify the USB Adapter.Default is ColinkEx.
 -c,--adapter-clk=Freq  Optional.Specify the USB Adapter Max Clock(HZ).
 -p,--port=PORT  Optional.Specify the Debug Port to use. port option can be SWD/JTAG. "SWD" is Default.
 -o,--offset=INDEX Optional.Specify the offset sector index. Default is 0.
 -h,--help  Show help information for the verify command.

 

help command

Usage:coflash help COMMAND
Example:coflash help program

© 2009 -2011 CooCox - Terms of Use         Business Model         Market             About us