Flasher App Runner

From SEGGER Knowledge Base
Jump to navigation Jump to search

Flasher App Runner is a command line application designed to load and execute Flasher Apps on a Flasher.

Usage

FlasherRun [option...] file

Positional arguments

Name Meaning
file Flasher app file to run.

Command line options

Name Meaning
--help Show help message and quit
--ip dest Connect to Flasher via TCP/IP to 'dest' using IP address or nickname
--usb dest Connect to Flasher via USB to 'dest' using serial number or nickname
--quiet Start application in silent mode, preventing any output
-t bool, --telemetry bool Enable or disable app telemetry gathering and output
-T time, --timeout time App execution will be terminated after 'time' ms

Exit codes

Value Meaning
0 Success. Either:
  • Executed Flasher app returned an exit code >= 0 or
  • --help parameter was passed.
< 0 Failure. Either:
  • Error occurred during connection or load process. Exit code -1.
  • Internal error (e.g. stack overflow, not enough memory, access violation, ...). Exit code -1.
  • Flasher app returned exit code < 0. In this case the returned exit code is either because one of the above or the exit code of the Flasher app.