User Guide - ifr
This user’s guide describes how to use ifr application.
Command line interface
ifr
Utility for generating and parsing IFR. Please note that IFR0 ROMCFG region is one-time-programmable only.
ifr [OPTIONS] COMMAND [ARGS]...
Options
- -v, --verbose
Print more detailed information
- -vv, --debug
Display more debugging information.
- --version
Show the version and exit.
- --help
Show this message and exit.
devices
List supported devices.
ifr devices [OPTIONS]
generate-binary
Generate binary data.
ifr generate-binary [OPTIONS]
Options
- -d, --device <device>
Required Device to use
- Options
kw45xx | k32w1xx
- -c, --user-config <user_config_file>
Required YAML/JSON file with user configuration
- -o, --output <output>
Required Save the output into a file instead of console
get-template
Generate user configuration template file.
ifr get-template [OPTIONS]
Options
- -d, --device <device>
Required Device to use
- Options
kw45xx | k32w1xx
- -r, --revision <revision>
Chip revision; if not specified, most recent one will be used
- -o, --output <output>
Save the output into a file instead of console
- -f, --full
Show full config, including computed values
parse-binary
Parse binary and extract configuration.
ifr parse-binary [OPTIONS]
Options
- -d, --device <device>
Required Device to use
- Options
kw45xx | k32w1xx
- -r, --revision <revision>
Chip revision; if not specified, most recent one will be used
- -o, --output <output>
Save the output into a file instead of console
- -b, --binary <binary>
Required Binary to parse
- -f, --show-diff
Show differences comparing to defaults