Manufacturing Procedure without Device Security#

The table below outlines the sequence of steps for manufacturing the SiWx917 NCP devices without security, along with the corresponding command syntax:

Step Description Command (Syntax)
1

Read or backup the default NWP MBR contents into .bin and .json format files.

Note: This precaution allows you to revert to the original MBR in case you encounter issues while making changes to the MBR.

commander manufacturing read tambr --out <read_mbr.bin> -d <full opn> --serialinterface

commander manufacturing read tambr --out <read_mbr.json> -d <full opn> --serialinterface

2 Configure the boot configurations in NWP MBR or eFuse (optional).
3 Provision the updated boot configuration in NWP MBR or eFuse (OTP) (Optional)

MBR:

commander manufacturing provision --mbr <ta_mbr_SiWN917M100LGTBA.bin |read_mbr.bin|default> --data <updatedbootconfigurationsfilename.json> -d <full opn> --serialinterface

Note: In place of read_mbr.bin, you may also use ta_mbr_SiWN917M100LGTBA.bin for the SiWN917M100LGTBA part or the default option.

eFuse:

commander manufacturing write efuse --data <updatedbootconfigurationsfilename.json> -d <full opn> [--skipload] [--noprompt] [-dryrun] --serialinterface --skipinit

4 Flash NWP Connectivity Firmware Image (can also be done after step 6) Refer to Load SiWx917 Connectivity Firmware section.
5 Set MAC Address in eFuse or eFusecopy (Optional) Refer to Setting MAC address section.
6 RF (Frequency and Gain Offset) Calibration (Not required for SiWx917 module OPNs) Refer to section Performing RF Calibration.

Notes:

  1. The ta_mbr_SiWN917M100LGTBA.bin file in the Simplicity Commander contains the default MBR for the part SiWN917M100LGTBA. By default, all the SiWN917M100LGTBA parts contain the MBR configuration present in this file.

    • The ta_mbr_SiWN917M100LGTBA.bin MBR file can be obtained in two ways:

      • Simplicity Commander from Simplicity Studio - Find the file in the path: C:\..\..\SimplicityCommander-Windows\Commander_win32_x64_1v16p14b1705\Simplicity Commander\resources\jlink\Si917

      • Standalone Simplicity Commander – Find the file in the path: C:\..\..\SimplicityStudio\v5\developer\adapter_packs\commander\resources\jlink\Si917

    • If the boot configurations are made in both the MBR and efuse (OTP), the bootloader will compare the configurations and consider the highest one.

  2. Since eFuse is a One-Time Programmable (OTP) memory, it is crucial to ensure that all necessary fields are accurately configured before writing to it, as changes cannot be made to a field once enabled.

Sample Manufacturing Command Flow for SiWN917M100LGTBA OPN#

This section provides the manufacturing command flow without device security for the SiWx917 NCP Ordering Part Number (OPN): SiWN917M100LGTBA.

  1. Reset the host MCU.

  2. Backup the default NWP MBR contents. Give the following command to read the MBR in .bin and .json formats.

    .json format:

    commander manufacturing read tambr --out default_nwp_mbr.json -d SiWN917M100LGTBA --
    serialinterface

    Read MBR in JSON FormatRead MBR in JSON Format

    .bin format:

    commander manufacturing read tambr --out default_nwp_mbr.bin -d SiWN917M100LGTBA -
    serialinterface

    Read MBR in BIN FormatRead MBR in BIN Format

    Note: The MBR in .json format provides readable MBR fields, making it easier to understand and interpret the data. On the other hand, the .bin format is required when provisioning the updated MBR. This is why it is necessary to read the MBR in both formats.

  3. Create a new file, say updated_mbr_fields.json file. Update boot configurations and save them in the file. For example:

    MBR:

    {
      "efuse_data": {
        "enable_autobaud_detection": 0
       }
    }

    eFuse (OTP):

    {
      "ta_config": {
         "enable_autobaud_detection": 0
       }
    }
  4. Provision the updated boot settings in MBR or eFuse (OTP).

    MBR:

    commander manufacturing provision --mbr default --data updated_mbr_fields.json -d SiWN917M100LGTBA - serialinterface

    Updated Boot Settings in MBRUpdated Boot Settings in MBR

    eFuse:

    commander manufacturing write efuse --data updated_efuse_fields.json -d SiWN917M100LGTBA [--skipload] [--noprompt] [--dryrun] --serialinterface --skipinit

    Updated Boot Settings in eFuseUpdated Boot Settings in eFuse

  5. Optional – Check whether the updated configurations are reflected in MBR or eFuse. Read MBR or eFuse in .json format.

    MBR:

    commander manufacturing read tambr --out updated_nwp_mbr.json -d SiWN917M100LGTBA -serialinterface

    Configuration Verification in MBRConfiguration Verification in MBR

    eFuse:

    commander manufacturing read efuse --out updated_nwp_efuse.json -d SiWN917M100LGTBA -serialinterface

    Configuration Verification in eFuseConfiguration Verification in eFuse

  6. Flash the SiWx917 Connectivity Firmware Image as mentioned in Load SiWx917 Connectivity Firmware section.

  7. Optional - Update the WLAN and BLE MAC addresses in the eFuse or eFusecopy following the steps mentioned in Setting MAC address section.

  8. Perform RF Calibration following steps mentioned in section Performing RF Calibration.