Structure

{
"command": "extract-payload", // Command name
"inputs": [ // Command inputs
{
"description": "Input description",
"file": "input.hex"
}
],
"outputs": [ // Command outputs
{
"description": "Output description",
"file": "output.bin"
}
]
}

Properties

Name

Type

Optional/Required

Description

command

string

required

Command name. Available values: add-signature, custom-script, extract-payload, hex-segment, merge, shift and sign.

inputs

list

required

Command inputs. Different commands may have different requirements for this field.

outputs

list

optional

Command outputs. Different commands may have different requirements for this field.

Example

{    
"schema-version": 1.0,
"content": [
{
"name": "Shift command example",
"description": "Shifts a hex segment to a secondary address",
"enabled": true,
"commands": [
{
"command": "shift",
"inputs": [
{
"description": "CM33 Secure + CM33 Non-Secure application",
"file": "rram_3.hex",
"address" : "0x32030000"
}
],
"outputs": [
{
"description": "CM33 Secure + CM33 Non-Secure application shifted to secure region",
"address": "0x3202A000",
"file": "shifted_rram_3.hex"
}
]
}
]
}
]
}