User Tools

Site Tools


manual:libopenblt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:libopenblt [2022/02/10 11:12]
voorburg [Building on Windows with Microsoft Visual C++]
manual:libopenblt [2022/03/02 13:11] (current)
voorburg
Line 2: Line 2:
  
 The OpenBLT Host Library contains an application programming interface (API) for communicating with a microcontroller target, running the OpenBLT bootloader, for making firmware updates on the target. The goal of the OpenBLT Host Library is to empower you to quickly and efficiently create your own firmware update tool, in case you don’t prefer the standard MicroBoot and BootCommander tools that are included in the OpenBLT bootloader package. The OpenBLT Host Library contains an application programming interface (API) for communicating with a microcontroller target, running the OpenBLT bootloader, for making firmware updates on the target. The goal of the OpenBLT Host Library is to empower you to quickly and efficiently create your own firmware update tool, in case you don’t prefer the standard MicroBoot and BootCommander tools that are included in the OpenBLT bootloader package.
 +
 +Note that LibOpenBLT was designed for PCs and embedded Linux devices. If you would like to integrate similar functionality on a microcontroller,​ have a look at [[manual:​libmicroblt|LibMicroBLT]].
  
 {{:​manual:​libopenblt_architecture.png?​nolink&​|}} {{:​manual:​libopenblt_architecture.png?​nolink&​|}}
Line 72: Line 74:
 ==== Building on Windows with MinGW ==== ==== Building on Windows with MinGW ====
  
-This method assumes that the MinGW compiler toolchain is installed on your PC. A convenient way to install it, is by downloading installer that bundles the Code::​Blocks IDE together with MinGW. When using OpenBLT version 1.14 or newer, it is recommended to download the [[https://​sourceforge.net/​projects/​codeblocks/​files/​Binaries/​20.03/​Windows/​codeblocks-20.03mingw-setup.exe/​download|64-bit installer version]], because all included PC binaries are 64-bit as well. Otherwise you can download the [[https://​sourceforge.net/​projects/​codeblocks/​files/​Binaries/​20.03/​Windows/​32bit/​codeblocks-20.03-32bit-mingw-32bit-setup.exe/​download|32-bit installer version]].+This method assumes that the MinGW compiler toolchain is installed on your PC. A convenient way to install it, is by downloading ​the installer that bundles the Code::​Blocks IDE together with MinGW. When using OpenBLT version 1.14 or newer, it is recommended to download the [[https://​sourceforge.net/​projects/​codeblocks/​files/​Binaries/​20.03/​Windows/​codeblocks-20.03mingw-setup.exe/​download|64-bit installer version]], because all included PC binaries are 64-bit as well. Otherwise you can download the [[https://​sourceforge.net/​projects/​codeblocks/​files/​Binaries/​20.03/​Windows/​32bit/​codeblocks-20.03-32bit-mingw-32bit-setup.exe/​download|32-bit installer version]].
  
 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: ​
Line 116: Line 118:
 https://​sourceforge.net/​p/​openblt/​code/​HEAD/​tree/​trunk/​Host/​Source/​LibOpenBLT/​bindings/​pascal/​ https://​sourceforge.net/​p/​openblt/​code/​HEAD/​tree/​trunk/​Host/​Source/​LibOpenBLT/​bindings/​pascal/​
  
 +Note that the [[manual:​microboot|MicroBoot]] firmware update tool itself is developed using Lazarus, using exactly these bindings. The OpenBLT download package includes the full source code for MicroBoot. You can use it as a reference on how to use the Pascal bindings for LibOpenBLT.
  
manual/libopenblt.1644487942.txt.gz · Last modified: 2022/02/10 11:12 by voorburg