Skip to content

Commit 5e55096

Browse files
committed
image added
1 parent 03ee66b commit 5e55096

File tree

2 files changed

+38
-2
lines changed

2 files changed

+38
-2
lines changed
558 KB
Loading

content/hardware/03.nano/boards/nano-matter/tutorials/07.open-thread-border-router/content.md

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,11 @@ This tutorial's main objective is to guide you through the build and configurati
5555
### Software Requirements
5656

5757
- [Arduino IDE 2.0+](https://www.arduino.cc/en/software)
58+
- [Silicon Labs Core](https://docs.arduino.cc/tutorials/nano-matter/user-manual/#board-core-and-libraries)
5859
- [Simplicity Studio](https://www.silabs.com/developers/simplicity-studio)
5960
- [Visual Studio Code](https://code.visualstudio.com/)
6061

62+
6163
## Setting up the OTBR
6264

6365
### The RCP: Nano Matter
@@ -66,7 +68,32 @@ This section outlines the steps to build the RCP firmware for the Nano Matter.
6668

6769
![Nano Matter Configuration](assets/matter-banner.png)
6870

69-
#### Create a New Project
71+
#### Ready to Flash Binary
72+
73+
We recommend you to use this pre-compiled binary to flash your Nano Matter board.
74+
75+
- Download the `.hex` binary from [here]() and locate it on a known directory.
76+
- Open any text editor and paste the following command:
77+
78+
```bash
79+
/Users/<username>/AppData/Local/Arduino15/packages/SiliconLabs/tools/openocd/0.12.0-arduino1-static/bin/openocd -d2 -s /Users/<username>/AppData/Local/Arduino15/packages/SiliconLabs/tools/openocd/0.12.0-arduino1-static/share/openocd/scripts/ -f interface/cmsis-dap.cfg -f target/efm32s2_g23.cfg -c "init; reset_config srst_nogate; reset halt; program <project-directory>; reset; exit"
80+
```
81+
82+
- Update the `username` field with yours.
83+
- Update the `project-directory` field with the binary directory you downloaded in the previous step.
84+
- Open the Command Prompt and paste the formatted command.
85+
- Connect the Nano Matter to your PC using a USB-C® cable.
86+
- Run the command and verify the download process was successful.
87+
88+
![Binary flash process](assets/binary-flash.png)
89+
90+
***Make sure to have the [Silicon Labs core](https://docs.arduino.cc/tutorials/nano-matter/user-manual/#board-core-and-libraries) installed on your Arduino IDE so you can use the __openocd__ tool for flashing.***
91+
92+
From here, jump directly to the [Matter Controller section](http://localhost:8000/tutorials/nano-matter/open-thread-border-router/#the-matter-controller-nano-esp32).
93+
94+
#### Build the Binary from Scratch
95+
96+
If you want to build the Nano Matter program by yourself, follow the steps below:
7097

7198
- Download Simplicity Studio. Silicon Labs provides this IDE, which is designed to simplify the development process for Silicon Labs hardware platforms. Download latest version [here](https://www.silabs.com/developers/simplicity-studio).
7299

@@ -159,11 +186,20 @@ cd esp-idf
159186
. ./export.sh
160187
```
161188

189+
- Navigate to the `ot_rcp` example included in the `esp-idf` directory, and build it using the `esp32h2` target:
190+
191+
```bash
192+
cd examples/openthread/ot_rcp
193+
idf.py set-target esp32h2
194+
idf.py build
195+
```
196+
162197
- Clone the ESP Thread Border Router example repository:
163198

164199
```bash
200+
cd ..
165201
git clone -b v1.0 --recursive https://github.com/espressif/esp-thread-br.git
166-
cd /esp-thread-br/examples/basic_thread_border_router/
202+
cd esp-thread-br/examples/basic_thread_border_router/
167203
```
168204
- For the `sdkconfig` file to be generated, and we can later modify it with our Nano ESP32 custom settings, set the device target from the command line:
169205

0 commit comments

Comments
 (0)