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:

mwct2x12 | mwct2xd2 | mwct2xxxs

-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-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:

model | mboot

-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:

mwct2x12 | mwct2xd2 | mwct2xxxs

-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:

model | mboot

-f, --family <family>#

Select the chip family.

Options:

mwct2x12 | mwct2xd2 | mwct2xxxs

-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.

- Retrieve WPC ID from the target
- Generate WPC cert chain on service
- Insert WPC certificate into the target.

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:

model | mboot

-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:

mwct2x12 | mwct2xd2 | mwct2xxxs

-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:

model | mboot

-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:

mwct2x12 | mwct2xd2 | mwct2xxxs

-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.