Upgrading the Kvaser LIN cable firmware
=======================================

This procedure applies to:
- Kvaser DRVLIN
- Kvaser Leaf Professional LIN


To upgrade the LIN cable with the latest firmware, extract the files from the
archive to the harddisk and connect the LIN cable to a LAPcan channel and make
sure it is powered.


First, run display_firmware_version.bat to verify that the cable is
possible to contact and to get the current firmware version:

  KVASER LIN Setup Tool, Version 2.0
  (c) 2002 Kvaser AB, Sweden

  Check channel 0 for LIN cable
  LIN cable found on channel 0 ----------------------------------
  Transceiver EAN no: 0000000000000000, serial no: 0000000000ab5d0f, type: 19
  Boot version 2.01:4, date 2002-09-20
  Current operation mode: SLAVE (2)
  Current bittime=400, (bitrate approx. = 10000)
  Autostart on
  Firmware version 2.00:15, date 2002-10-07
  Check channel 1 for LIN cable
  Transceiver EAN no: 0000000000000000, serial no: 0000000000000000, type: 0

In the example, one cable was found.
If no power is applied to the LIN cable, the transceiver EAN number, serial
number and type will be reported but nothing more.



To upgrade, run upgrade.bat. It will typically look like this:

   ---------------------------------------------------------------------------
   This will upgrade the firmware on a Kvaser DRVLIN
   or a Kvaser Leaf Professional LIN.

   The upgrade will take approximately 30 seconds.

   DO NOT unplug or use the device during the upgrade.

   NOTE: this will upgrade ALL connected Kvaser LIN hardware.
   ---------------------------------------------------------------------------

  Press any key to continue . . .

  KVASER LIN Flash Programmer, Version 2.0
  (c) 2002 Kvaser AB, Sweden

  Check channel 0 for LIN cable
  LIN cable found on channel 0
  Boot version 2.01:4, date 2002-09-20
  Downloading code...
  Download successful
  Init auto-startup flag
  Check channel 1 for LIN cable



After success, you can run display_firmware_version.bat again to
verify that the new firmware is installed:

  C:\temp\linupgrd> picsetup
  KVASER LIN Setup Tool, Version 2.0
  (c) 2002 Kvaser AB, Sweden

  Check channel 0 for LIN cable
  LIN cable found on channel 0 ----------------------------------
  Transceiver EAN no: 0000000000000000, serial no: 0000000000ab5d0f, type: 19
  Boot version 2.01:4, date 2002-09-20
  Current operation mode: SLAVE (2)
  Current bittime=400, (bitrate approx. = 10000)
  Autostart on
  Firmware version 2.03:4, date 2003-09-17
  Check channel 1 for LIN cable
  Transceiver EAN no: 0000000000000000, serial no: 0000000000000000, type: 0
