Converts hex file to binary.

Command name:

hex2bin

Inputs:

Name

Type

Optional/Required

Description

file

string

required

The path to the input hex file.

start

string, integer

optional

Start of address range.

end

string, integer

optional

End of address range.

description

string

optional

Description for this field.

Outputs:

Name

Type

Optional/Required

Description

file

string

required

The path to the output bin file.

size

string, integer

optional

Size of the resulting file in bytes.

fill-value

string, integer

optional

Value to fill the spaces between the segments. Available values:

0x00

-

0xFF

. Default:

0xFF

.

description

string

optional

Description for this field.

Example:

{
"schema-version": 1.0,
"content": [
{
"name": "hex2bin command example",
"description": "Converts hex file to binary",
"enabled": true,
"commands": [
{
"command": "hex2bin",
"inputs": [
{
"description": "Input hex file",
"file": "input.hex",
"start": "0x32000000",
"end": "0x32000200"
}
],
"outputs": [
{
"description": "Output bin file",
"file": "output.bin",
"size": "0x400",
"fill-value": 0
}
]
}
]
}
]
}