User Guide - nxpwpc

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

Required Select the chip family.

Options:

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 service adapter setting. Can be used multiple times.

-c, --config <config>#

Path to the YAML/JSON configuration file.

-s, --save-debug-data#

Save the data being transferred (for debugging purposes).