Hex dump
Extracts data from the hex file and saves it to a binary file.
Command name:
hex-dump
Inputs:
Name | Type | Optional/Required | Description |
|---|---|---|---|
file | string | required | The path to the hex file. |
address | string, integer | required | Address of the data in the hex file. |
size | string, integer | required | Size of the data. |
description | string | optional | Description for this field. |
Outputs:
Name | Type | Optional/Required | Description |
|---|---|---|---|
file | string | required | Path to the output bin file. |
fill-value | string, integer | optional | Value to fill the spaces between the segments. Available values: - . Default: . |
description | string | optional | Description for this field. |
Example:
{
"schema-version": 1.0,
"content": [
{
"name": "hex-dump command example",
"description": "Extracts data from the hex file",
"enabled": true,
"commands": [
{
"command": "hex-dump",
"inputs": [
{
"description": "Input hex file",
"file": "input.hex",
"address": "0x00",
"size": "0xFF"
}
],
"outputs": [
{
"description": "Output bin file",
"file": "output.bin",
"fill-value": 0
}
]
}
]
}
]
}