On-the-Fly utility return codes

Top  Previous  Next

After completion, the On-the-Fly Control utility issues a return code of 0 (zero) in case of success. Otherwise it issues one or more of the error codes listed below. It returns the codes to the application or to a batch-file that called the utility. There is one exception that is associated with the option –T. Then the utility returns 0 if the programmer was stopped and 1 if it is operating on the target device.

 

The utility prints errors on the Console and, optionally, writes them to the log file and/or Windows clipboard.

 

Return codes:

 

0

Successful completion.

 

1

The –T option was specified and the programmer is busy executing an operation on device.

 

2

Wrong option, parameter or parameter format in the command line.

 

3

Error calling a Windows API function; it could be caused by an abnormal exit of the programmer software.

 

4

The programmer application was closed while the On-the-Fly Control utility has been waiting for a response. Possibly  a user has forced closing the program.

5

The timeout, which was set by the -M option for stopping the programmer, has expired.

 

6

The programmer was launched in the gang mode but an option in the On-the-Fly Control utility tried launching a       function not applicable for gang programmers.

7

Cannot execute a required action because the programmer is busy with operation on the target device.

 

8

Failed to load the project specified by the -P option.

 

9

Failed to launch the script specified by the -S option.

 

10

General error.

 

11

The programming function specified in the -F option does not exist for the selected device.

 

12

An error occurred while the programmer operated with the target device.

 

13

The programmer could not complete an operation and close the program after receiving the -X option request.

 

14

More than one device programmers is running. This requires the -R option use.