How to Build and Flash the Matter Accessory Device (MAD)#
The Matter Accessory Device, such as the lighting-app, is the actual Matter device that you will commission onto the Matter network and control using the chip-tool.
Step 1: Get the Image File to Flash the MAD#
Use one of the following options to get the required image to flash the MAD:
Use the pre-built image file from either Simplicity Studio or Silicon Labs Matter GitHub.
Build the image file from Simplicity Studio or out of the Silicon Labs Matter GitHub
matter
repository.
Using the Pre-Built Image File#
Prebuilt image files are available both on GitHub and inside Simplicity Studio.
Simplicity Studio#
To find the demos within Simplicity Studio, even if you do not have a device connected:
In Simplicity Studio, click the Launcher in the upper right hand corner.
Under Get Started, choose All Products.
Choose a board to start with such as BRD4186C Rev A01 and click Start. This will bring up the Launcher window for that part.
In the top navigation, choose Example Projects & Demos.
In the left hand navigation, choose Matter to show all the Matter demos.
The demos are marked as "demo" and allow you to "run" them. Projects can be "created".
Choose the demo you wish to use, and click Run to flash it onto your board.
Silicon Labs GitHub#
If you are interested in using prebuilt image files from GitHub, all of the Matter Accessory Device image files are accessible through the Matter Artifacts page. If you are using a pre-built image file, you can skip forward to Step 2 below.
If you are coming from Simplicity Studio, you may have already installed the demo image in Simplicity Studio, in which case you can skip forward to the next step.
Building the Matter Image File#
There are two ways to build a Matter Accessory Device image file. You can build it using the Silicon Labs Matter GitHub Repo or you can build it using Simplicity Studio. The entire build process for Simplicity Studio is covered in the Matter Over Thread Quick Start Guide. There are two ways to build a Matter Accessory Device image file. You can build it using the Silicon Labs Matter GitHub Repo or you can build it using Simplicity Studio. The entire build process for Simplicity Studio is covered in the Matter Over Thread Quick Start Guide.
Step 2: Flash the Matter Accessory Device#
For more information on how to flash your Silicon Labs development platform, see the following instructions: How to Flash a Silicon Labs Device. For more information on how to flash your Silicon Labs development platform, see the following instructions: How to Flash a Silicon Labs Device.
Once your Matter Accessory Device has been flashed, it should show a QR code on the LCD. If no QR Code is present, it may be that you need to add a bootloader to your device. Bootloader images are provided on the Matter Artifacts page.