Upgrading the Kvaser LIN interface firmware and bootcode
========================================================

This instruction applies to Kvaser DRVLIN (connected to a LAPcan or
a LAPcan II) and Kvaser Leaf Professional LIN.


To upgrade the LIN interface with the latest firmware and bootcode,
1) extract the files from the archive to the hard disk,
2) connect the LIN interface to the computer,
3) make sure the LIN interface is powered from the LIN side,
4) make sure the LIN interface is NOT connected to a LIN bus.

We recommend that all other Kvaser CAN and LIN interfaces be unplugged
during the operation, if possible. (You don't have to remove the
PCI boards if you have any.)


Open the folder where you placed the extracted files.

First, run the program display_firmware_version.bat to verify that the
LIN interface 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 DRVLIN cable was found.

If no power is applied to the LIN interface, the transceiver EAN number, serial
number and type will be reported but nothing more.



To upgrade, run upgrade_boot.bat:

   ---------------------------------------------------------------------------
   This will upgrade the bootcode on the Kvaser DRVLIN/LIN Leaf professional.
   Make sure not to unplug or use the DRVLIN/LIN Leaf during upgrade.

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

  Press any key when ready...
  KVASER LIN Flash Programmer, Version 2.0
  (c) 2002 Kvaser AB, Sweden

  Version for co-existance with ICD2

  Check channel 2 for LIN cable
  LIN cable found on channel 2
  Boot version 2.06:0, date 2005-11-04
  Downloading code...
  Download successful
  Init auto-startup flag
  Check channel 3 for LIN cable
  KVASER LIN Flash Programmer, Version 2.0
  (c) 2002 Kvaser AB, Sweden

  Version for co-existance with ICD2

  Check channel 2 for LIN cable
  LIN cable found on channel 2
  Boot version 2.06:0, date 2005-11-04
  Boot updater version 254.03:3, date 2002-10-07
  Downloading code...
  Download successful
  Init auto-startup flag
  Check channel 3 for LIN cable
  KVASER LIN Flash Programmer, Version 2.0
  (c) 2002 Kvaser AB, Sweden

  Version for co-existance with ICD2

  Check channel 2 for LIN cable
  LIN cable found on channel 2
  Boot version 2.06:0, date 2005-11-04
  Downloading code...
  Download successful
  Init auto-startup flag
  Check channel 3 for LIN cable

  -
  - The update SUCCEEDED.
  -

  Press any key when ready...


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

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

  Check channel 2 for LIN
  LIN cable found on channel 2 ----------------------------------
  Transceiver EAN no: 0007330130100183, serial no: 0000000001b88e3a, type: 19
  Boot version 2.06:0, date 2005-11-04
  Current operation mode: SLAVE (2)
  Current bittime=400, (bitrate approx. = 10000)
  Autostart on
  Firmware version 2.06:0, date 2005-11-04
  Check channel 3 for LIN
  Transceiver EAN no: 0000000000000000, serial no: 0000000000000000, type: 0


===========================================================================
