This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
manual:bootcommander [2017/12/11 17:43] voorburg [Program usage] |
manual:bootcommander [2019/04/09 21:06] voorburg [Program usage] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== BootCommander Utility ====== | ====== BootCommander Utility ====== | ||
- | BootCommander is a command line interface (CLI) program for performing firmware updates on a microcontroller that runs the OpenBLT bootloader. It provides a firmware update tool for those that prefer a command line interface program over one with a graphical user interface, such as [[manual:microboot|Microboot]]. | + | BootCommander is a command line interface (CLI) program for performing firmware updates on a microcontroller that runs the OpenBLT bootloader. It provides a firmware update tool for those that prefer a command line interface program over one with a graphical user interface, such as [[manual:microboot|MicroBoot]]. |
BootCommander was written in the C programming language (C99) and developed with cross-platform support in mind. It has been successfully tested on a Windows PC, Linux PC and even on embedded Linux systems such as a Raspberry Pi and a Beagle Board. | BootCommander was written in the C programming language (C99) and developed with cross-platform support in mind. It has been successfully tested on a Windows PC, Linux PC and even on embedded Linux systems such as a Raspberry Pi and a Beagle Board. | ||
Line 45: | Line 45: | ||
* **kvaser_leaflight** = Kvaser Leaf Light V2. | * **kvaser_leaflight** = Kvaser Leaf Light V2. | ||
* **lawicel_canusb** = Lawicel CANUSB. | * **lawicel_canusb** = Lawicel CANUSB. | ||
+ | * **vector_xldriver** = Vector XL Driver. | ||
* **-c=[value]** sets the zero based index of the CAN channel if multiple CAN channels are supported for the CAN adapter, as a 32-bit value (default = 0). | * **-c=[value]** sets the zero based index of the CAN channel if multiple CAN channels are supported for the CAN adapter, as a 32-bit value (default = 0). | ||
* **-b=[value]** sets the communication speed, a.k.a baudrate in bits per second, as a 32-bit value (default = 500000). Supported values: 1000000, 800000, 500000, 250000, 125000, 100000, 50000, 20000, 10000. | * **-b=[value]** sets the communication speed, a.k.a baudrate in bits per second, as a 32-bit value (default = 500000). Supported values: 1000000, 800000, 500000, 250000, 125000, 100000, 50000, 20000, 10000. | ||
Line 105: | Line 106: | ||
==== Building on Windows with MinGW ==== | ==== Building on Windows with MinGW ==== | ||
- | This method assumes that the MinGW compiler toolchain is installed on your PC. The installer can be downloaded from https://sourceforge.net/projects/mingw-w64/. An alternative approach is to download the Code::Blocks package that is bundled together with the MinGW toolchain from http://www.codeblocks.org/downloads/26, for example "codeblocks-16.01mingw-setup.exe". | + | This method assumes that the MinGW compiler toolchain is installed on your PC. The installer can be downloaded from https://sourceforge.net/projects/mingw-w64/. |
Make sure the **.\bin** directory of the MinGW installation directory is added to your path in Windows. A quick way to verify that this is the case, run the following command from the Command Prompt in Windows and make sure the program could be found: | Make sure the **.\bin** directory of the MinGW installation directory is added to your path in Windows. A quick way to verify that this is the case, run the following command from the Command Prompt in Windows and make sure the program could be found: |