Skip to content

Commit ea166f7

Browse files
committed
Flash fw done
1 parent db1db73 commit ea166f7

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
1.47 MB
Loading

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,17 @@ The default pinout is **PA8 > TX** and **PA9 > RX**, but we need to change it to
117117

118118
![Project Build](assets/build-prj.png)
119119

120+
- In your project directory navigate to the `/GNU ARM v12.2.1 - Default/` folder, right click on it and open a **Command Line**.
120121

122+
Use the following command to flash the firmware to the Arduino Nano Matter, make sure to modify the `<username>` and `<project name>` with yours:
123+
124+
```bash
125+
/Users/<your-username>/AppData/Local/Arduino15/packages/SiliconLabs/tools/openocd/0.12.0-arduino1-static/bin/openocd -d2 -s /Users/<your-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-name>.hex}; reset; exit"
126+
```
127+
128+
![Firmware flashing using Command Line](assets/fw-flash.gif)
129+
130+
***The __Openocd__ tool directory may vary acording to your OS, modify the command above respectively.***
121131

122132
### The Matter Controller: Arduino Nano ESP32
123133

0 commit comments

Comments
 (0)