1.4.1 Bootloader and Application Binary Merge Script
Help
This document describes the usage of btl_app_merge_bin.py host script.
Downloading the Host Script
To clone or download the host tools from Github, go to the bootloader repository and then click Clone button
to clone this repo or download as zip file. This content can also be download using
content manager by following these instructions.
Path of the tool in bootloader repository is tools/btl_app_merge_bin.py.
Setting Up the Host PC
The script is compatible with Python 3.x and higher.
Description
This script should be used to merge the bootloader binary and application
binary
It creates a merged binary output where bootloader is placed from start and the
application will be placed at the offset passed as parameter
If the application offset is not equal to end of bootloader offset it fills the
gap with 0xFF until the application offset
The merged binary can be used by CAN NVM Host Application as input for Updating
bootloader and application together
The merged binary will be created in the directory from where the script was
called
Usage Examples
Below is the syntax to show help menu for the script: