Skip to main content
Firmware Stable

Firmware upgrade script

It is surely inconvenient to upgrade dozens of devices manually. For automation, you can use scripting (e.g. Python, bash, batch) and create a script to upgrade your devices.

tip

Run these commands in your operating system environment. Do not use the device's CLI / the term tool.

Examples using Windows batches:

  • Upgrade to the latest stable release over USB:

    resetconn       :: Reset connection options to default
    set if=usb :: Set the interface to USB
    srm UPGRADE-stable
  • Upgrade to latest testing release variant VECTOR_LYNX_generic over CAN (default can speed is 1Mbps):

    resetconn       :: Reset connection options to default
    set if=kvaser :: Set the interface to kvaser
    srm UPGRADE-testing:VECTOR_LYNX_generic
  • Upgrade to latest testing release to exact version VECTOR_OPHION_generic v4.0.1-testing Oct 17 2022 over CAN (CAN speed is set to 500kbps):

    resetconn       :: Reset connection options to default
    set if=kvaser :: Set interface to kvaser
    set opt=0,4
    srm "UPGRADE:VECTOR_OPHION_generic v4.0.1-testing Oct 17 2022"
    warning

    Because the firmware name contains spaces, it is necessary to use quotes.