Renesas M16C/6V Manual do Utilizador Página 16

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 18
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 15
FLASHER 5 Manual 16
Using Flasher in batch mode
Introduction
Flasher.exe supports command line options to enable automated programming of targets. This document
describes the supported commands and their respective parameters.
Flasher PC software version 1.72b or above replaces FlasherPro, which is not delivered anymore.
How to start Flasher program in batch mode
To use Flasher in batch mode, just call Flasher.exe directly from DOS-Box or start any batch file which calls
Flasher.exe, To start any action, parameter may be passed as command line options.
General rules
The first parameter specified must be the file to load, if download is required.
The return code is 0 if all operations have been executed successfully, !=0 otherwise.
All commands are identical to the corresponding commands in the menu bar.
All commands are processed from left to right.
If “-exit” is specified as the last command, the program will terminate as soon as any error occurs or af-
ter all commands have been executed.
If one parameter contains a space use quotation marks for this parameter.
List of commands
The following commands are currently supported as parameter when Flasher is called in batch mode:
Command Description
-download Downloads the loaded hex file into Flashers memory without
starting any additional action.
-checkblank Checks if target is blank
-verify Verifies loaded data with contents of target
-clear Clears target area, selected memory banks
-clearchip Clears entire chip. Clearing the entire chip might not be im-
plemented for all devices. Then the command behaves the
same as the clear command.
-programverify Programs & verifies target
-program Programs loaded data into target
-readback Reads target area into PC
-start Starts application program (serial mode only, only Flasher
MV3)
-com<PORT> Sets COM-port of PC(1..4).
-saveas<FILENAME.EXT>[,FIRST-LAST] Saves the file currently in PC memory. The extension needs
to be “MOT”, “HEX” or “BIN” and determines the filetype.
The optional range is used for files in BIN-format.
-merge<FILENAME.EXT> Merge specified file to current data
-delrange<FIRST-LAST> Deletes the specified range of data
-relocate<OFFSET> Relocates current data by offset
-selbanks<START,END> Sets the numbers of start and end bank. The numbers have
to be the same as in the selection box shown under Op-
tions/Device.
-selmultiple<BANK1, BANK2 … BANKn> Selects individual banks. The numbers have to be the same
as in the selection box shown under Options/Device.
-seldevice<DEVICENAME> Selects the desired device. The name of the device has to
be exactly the same as in the selection box shown under
Options/Device.
-password<LENGTH,ID1,ID2,...,IDn> Sets the ID-bytes
-setFILL<xx> Sets the fill byte, the parameter is a two digit hex number.
-openfile<FILENAME.EXT> opens a HEX file
-setACBP Sets option 'Automatic clear before program'.
-setCOD Sets option 'Clear on demand'.
-setDE Sets option 'Detailed errorlevel on return'.
-setDNVBP Sets option 'Do not verify blank pages'.
Vista de página 15
1 2 ... 11 12 13 14 15 16 17 18

Comentários a estes Manuais

Sem comentários