User Guide - nxpwpc#
This user’s guide describes how to use nxpwpc application.
Command line interface#
nxpwpc#
Utility covering WPC operations.
nxpwpc [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.
get-cert#
Get WPC Certificate Chain for given WPC ID appropriate for given family.
nxpwpc get-cert [OPTIONS]
Options
- -st, --service-type <service_type>#
Name of the WPC service type.
- Options:
el2go
- -sp, --service-parameters <service_parameters>#
‘key=value’ to set/override a service adapter setting. Can be used multiple times.
- -f, --family <family>#
Select the chip family.
- Options:
mwct2012 | mwct2012a | mwct2014s | mwct2015s | mwct2016s | mwct20d2 | mwct20d2a | mwct2d16s | mwct2d17s
- -c, --config <config>#
Path to the YAML/JSON configuration file.
- -i, --wpc-id <wpc_id>#
Required Path to WPC-ID generated by get-id command.
- -o, --output <output>#
Required Path to a file, where to store the output.
get-families#
Shows the full family info for commands in this group.
nxpwpc get-families [OPTIONS]
Options
- -c, --cmd-name <cmd_name>#
Choose the command name to get full information about NXP families support.
- Options:
insert-cert | get-id | get-cert | put-cert | get-template
get-id#
Get the WPC identifier for WPC service appropriate for given family.
nxpwpc get-id [OPTIONS]
Options
- -tt, --target-type <target_type>#
Name of the MCU target type.
- Options:
mboot | model
- -tp, --target-parameters <target_parameters>#
‘key=value’ to set/override a target adapter setting. Can be used multiple times.
- -f, --family <family>#
Select the chip family.
- Options:
mwct2012 | mwct2012a | mwct2014s | mwct2015s | mwct2016s | mwct20d2 | mwct20d2a | mwct2d16s | mwct2d17s
- -c, --config <config>#
Path to the YAML/JSON configuration file.
- -o, --output <output>#
Required Path to a file, where to store the output.
get-template#
Generate a configuration template.
nxpwpc get-template [OPTIONS]
Options
- -st, --service-type <service_type>#
Required Name of the WPC service type.
- Options:
el2go
- -tt, --target-type <target_type>#
Required Name of the MCU target type.
- Options:
mboot | model
- -f, --family <family>#
Select the chip family.
- Options:
mwct2012 | mwct2012a | mwct2014s | mwct2015s | mwct2016s | mwct20d2 | mwct20d2a | mwct2d16s | mwct2d17s
- -o, --output <output>#
Required Path to a file, where to store the output.
- --force#
Force overwriting of existing files.
insert-cert#
Perform full WPC Cert chain flow.
Parameters for target and service may be passed using “-tp” or “-sp” options respectively, or via a config file (“-c”). The config file template can be generated using “get-template” command.
nxpwpc insert-cert [OPTIONS]
Options
- -st, --service-type <service_type>#
Name of the WPC service type.
- Options:
el2go
- -sp, --service-parameters <service_parameters>#
‘key=value’ to set/override a service adapter setting. Can be used multiple times.
- -tt, --target-type <target_type>#
Name of the MCU target type.
- Options:
mboot | model
- -tp, --target-parameters <target_parameters>#
‘key=value’ to set/override a target adapter setting. Can be used multiple times.
- -f, --family <family>#
Select the chip family.
- Options:
mwct2012 | mwct2012a | mwct2014s | mwct2015s | mwct2016s | mwct20d2 | mwct20d2a | mwct2d16s | mwct2d17s
- -c, --config <config>#
Path to the YAML/JSON configuration file.
- -s, --save-debug-data#
Save the data being transferred (for debugging purposes).
put-cert#
Insert the WPC Certificate Chain into the target.
nxpwpc put-cert [OPTIONS]
Options
- -tt, --target-type <target_type>#
Name of the MCU target type.
- Options:
mboot | model
- -tp, --target-parameters <target_parameters>#
‘key=value’ to set/override a target adapter setting. Can be used multiple times.
- -f, --family <family>#
Select the chip family.
- Options:
mwct2012 | mwct2012a | mwct2014s | mwct2015s | mwct2016s | mwct20d2 | mwct20d2a | mwct2d16s | mwct2d17s
- -c, --config <config>#
Path to the YAML/JSON configuration file.
- -i, --wpc-cert <wpc_cert>#
Required Path to WPC-CERT generated by get-cert command.