Create a Project for matter OTA application#

Create and build Project for matter OTA-A application#

  1. Download and Install Simplicity Studio.

  2. To install the software packages for Simplicity Studio, refer Software Package Installation

  3. Log in to Simplicity Studio and connect the board to the computer.

  4. Go to the All Products section.

    Silicon Labs - designSilicon Labs - design

  5. Type and Select the radio board from the displayed list and select Start.

    Silicon Labs - designSilicon Labs - design

  6. The Launcher page will display the selected radio board's details.

    Silicon Labs - designSilicon Labs - design

  7. Verify the following in the General Information section:

    • The Debug Mode is Onboard Device (MCU).

    • The Preferred SDK is the version you selected earlier.

    Silicon Labs - designSilicon Labs - design

  8. Click on Example Projects and Demos Option and Create Project.

    Silicon Labs - designSilicon Labs - design

  9. In the New Project Wizard window, click Finish.

    Silicon Labs - designSilicon Labs - design

  10. Once the project is created, right-click on the project and select Build Project in the Project Explorer tab.

    Silicon Labs - designSilicon Labs - design

  11. Once the project is compiled successfully, Go to the Project Explorer view and expand binaries folder to flash the binary.

    Silicon Labs - designSilicon Labs - design

  12. Right-click on the selected .s37 binary and click on flash to device.

    Silicon Labs - designSilicon Labs - design

  13. Flash programmer window will be opened, Click on Erase button and then Program button to start the flashing.

    Silicon Labs - designSilicon Labs - design

Note: Output of the EFR32 NCP Host application will be displayed on the J-Link RTT Viewer.

Create and build Project for matter OTA-B application#

  • Matter OTA-B application will be used to create gbl & OTA file and OTA-A will be used to flash to the matter device.

  • For Matter OTA-B application need to change Version in sl_matter_config.h file before building.

  1. Download and Install Simplicity Studio.

  2. To install the software packages for Simplicity Studio, refer Software Package Installation

  3. Log in to Simplicity Studio and connect the board to the computer.

  4. Go to the All Products section.

    Silicon Labs - designSilicon Labs - design

  5. Type and Select the radio board from the displayed list and select Start.

    Silicon Labs - designSilicon Labs - design

  6. The Launcher page will display the selected radio board's details.

    Silicon Labs - designSilicon Labs - design

  7. Verify the following in the General Information section:

    • The Debug Mode is Onboard Device (MCU).

    • The Preferred SDK is the version you selected earlier.

    Silicon Labs - designSilicon Labs - design

  8. Click on Example Projects and Demos Option and Create Project.

    Silicon Labs - designSilicon Labs - design

  9. In the New Project Wizard window, click Finish.

    Silicon Labs - designSilicon Labs - design

  10. In Project Explorer section , open sl_matter_config file which is present in the config folder. Modify the CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION 2 and CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION_STRING "1"

Note: Make sure always CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION should be greater than CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION_STRING

  1. Once the modification is done for Software version, right-click on the project and select Build Project in the Project Explorer tab.

    Silicon Labs - designSilicon Labs - design

  2. Once the project is compiled successfully, Go to the Project Explorer view and expand OTA-B project binaries folder , using application .s37 file Need to Create .gbl file using Simplicity commander.

  3. After Creation of OTA-B Application, to run OTA Scenario