Working Commands#

Note:

  1. Before proceeding, make the connections as shown in Setup Image.

  2. Get the IP address of the DUT using ipconfig or ifconfig.

  3. For any command that is used, the port number always remains 51917.

Init#

This command is used to generate an activation code. Once generated, the firmware will burn this activation code into flash.

Command syntax: commander manufacturing init --mbr <filename.bin|default> --data <updated-mbr-fields> -d < OPN Number > [--skipload] [--pinset n]

Example:commander manufacturing init –host 192.168.10.100:51917 –serialinterface –device SiWG917M100MGTBA

Fields

Description

init

Generate the activation code.

--mbr <filename.bin | default>

Binary file to read the MBR data from. If "default", the MBR data will be populated from a template for the connected device.

--data <filename>

JSON containing MBR fields to update the MBR with.

-d <full opn>

Provide OPN number (for example, SiWG917M100MGTBA).

--pinset <index>

By default, pinset value is 0.

--skipload

Skip loading the TA provisioning firmware.

Init CommandInit Command

Read#

This command is used to read the specified memory region from the DUT and save it to a file.

Command syntax:commander manufacturing read <tambr|taipmu|m4mbrcf|m4mbrdf|m4ipmucf|m4ipmudf|efuse|efusecopy|efuseipmu> --out <filename.bin|filename.json> -d <OPN Number>

Example:commander manufacturing read tambr –output –host 192.168.10.100:51917 --serialinterface --device SiWG917M100MGTBA

<region>

Information

tambr

Read the TA flash MBR data available for memory region.

m4mbrcf

Read the common flash M4 MBR data.

m4mbrdf

Read the dual flash M4 MBR data.

m4ipmucf

Read the common flash M4 ipmu data.

m4ipmudf

Read the dual flash M4 ipmu data.

--out <filename>

Store the read data in. "*.bin", or "*.json" if a JSON parser is available for this memory.

taipmu

 Read the TA flash ipmu data available for memory region.

efuse

Read the OTP data. 

efusecopy

Read the efusecopy data in flash.

efuseipmu

Read the ipmu data from OTP/eFuse.

-d <full opn>

Provide OPN number (for example, SiWG917M100MGTBA).

Read CommandRead Command

Write#

This command is used to write to the specified memory region in DUT. If the file is provided in binary form, it will be flashed verbatim. If it's provided as JSON, it will be considered an update to the flash content.

Command syntax: commander manufacturing write <region> --data <filename.bin|filename.json> -d < OPN Number > [--skipload] [--pinset n]

Example:commander manufacturing write tambr –data resources/jlink/Si917/ta_mbr_SiWG917M100MGTBA.bin --pinset 0 --host 192.168.10.100:51917 --serialinterface --device SiWG917M100MGTBA

Field

Description

--data <filename.bin|filename.json>

Provide MBR file.

-d <full opn>

Provide OPN number (for example, SiWG917M100MGTBA).

--pinset <index>

By default, pinset value is 0. Select pinset for external flash configurations.

--skipload

Skip loading the TA provisioning firmware.

Write CommandWrite Command

Provision#

This command is used to flash the MBR content for a selected region or to recover the board. MBR (filename.bin) files are present at the following path.

Path: "Commander_win32_x64_1v15p3b1357\Simplicity Commander\resources\jlink\Si917"

Command syntax: commandermanufacturing provision --mbr <filename.bin|default> -d <OPN Number>

Example:commander manufacturing provision –mbr resources/jlink/Si917/ta_mbr_SiWG917M100MGTBA.bin --pinset 0 --host 192.168.10.100:51917 --serialinterface --device SiWG917M100MGTBA

"Provision Command""Provision Command"

Channel and Power (Radio)#

This command is used to set the channel and power to the device.

Command syntax:commander manufacturing radio [--channel <1-14>] [--power <1-31/127>] [--phy <xMBPS,MCSn,CW>] [--vmcu18] [--noburst] [--internalant] [–stop|–start] [–serialinerface ] [–skipinit] -d <OPN Number>

Example: commander manufacturing radio –channel 1 –power 10 –phy 1MBPS –start –host 192.168.10.100:51917 –serialinterface -d SiWG917M100MGTBA

Field

Description

start

Turn ON the radio transmission.

stop

Turn OFF the radio transmission.

noburst

Transmission will happen continuously instead of being in bursts.

internalant

Select virtual internal switch. By default, the external antenna switch is used.

vmcu18

Selects parameters for operation at 1.8 V.

Channel and Power CommandChannel and Power Command

Xocal#

This command adjusts the tuning to compensate for the specified frequency offset and initiates the radio based on the current configuration, which must be set before this command.

Command syntax: commander manufacturing xocal [--ctuneoverride <ctune value>] [--offset <frequency offset in kHz>] [–-store] [–storeinefuse] [–serialinerface ] [–skipinit] -d <OPN Number>

Example:commander manufacturing xocal –host 192.168.10.100:51917 –store --serialinterface -d SiWG917M100MGTBA

Field

Description

store

Computed values are stored in flash.

storeinefuse

Computed values are stored in eFuse.

Xocal Command 1Xocal Command 1

Xocal Command 2Xocal Command 2