XDK110
BCDS
© Bosch Connected Devices and Solutions GmbH reserves all rights even in the event of industrial property rights. We reserve all rights of disposal such as
copying and passing on to third parties. BOSCH and the symbol are registered trademarks of Robert Bosch GmbH, Germany.
Note: Specifications within this document are subject to change without notice.
General Information Guide XDK110
!
Page
!
42
Using the Command Line Tools
Instead of using the XDK Workbench, the FOTA container can also be created by using the
command line tools „
create_fota_container.jar“
and „
append_signature.jar
“ that can be found inside
the folder „fota“ in your XDK Workbench installation directory.
Table 14:
Command Line arguments create_fota_container.jar
Table 15:
Command Line arguments append_signature.jar
Note
that the FOTA container file should be copied to the MCU with negative offset, so that the
starting address of the executable part of the binary is at the correct MCU flash address and the
container header is located at the addresses right before that.
Argument
Relevance
Meaning
-fv, --firmwareVersion <arg>
Required
Firmware Version
-h
-
Shows help content
-hv, --headerVersion <arg>
Required
The version of FOTA container header
-i, --inputFile <arg>
Required
Path of the input binary file
-o, --outputFile <arg>
Optional
Path of the output binary file
(if not set, the input file will be overwritten)
-pc, --productClass <arg>
Required
Product Class
-hv, --headerVersion <arg>
Required
Product Variant
Argument
Relevance
Meaning
-h
-
Shows help content
-i, --inputFile <arg>
Required
Path of the input binary file
-o, --outputFile <arg>
Optional
Path of the output binary file
(if not set, the input file will be overwritten)
-s, --signature <arg>
Required
Firmware Signature as hexadecimal string