Skip to content

Commit 3dedcb9

Browse files
EvlersRbb666
authored andcommitted
add the step-by-step instructions for the first-time setup of Wi-Fi resources
1 parent 067ab5d commit 3dedcb9

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

projects/Edgi_Talk_M55_WIFI/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,23 @@ It allows users to quickly test Wi-Fi scanning, connection, and performance, ver
4141
2. Connect the board USB to PC via **DAP**.
4242
3. Flash the compiled firmware.
4343

44+
### Prepare Wi-Fi resources (first-time setup)
45+
46+
The Wi-Fi host driver loads three blobs (firmware `.bin`, regulatory `.clm_blob`, and board-specific `nvram.txt`) from FAL before it can power up the radio. These files live outside the application image, so flashing a new binary will not refresh them automatically. The default bundles for Edgi-Talk live in the workspace root under `resources/`.
47+
48+
- Keep `WHD_RESOURCES_IN_EXTERNAL_STORAGE_FAL` enabled in menuconfig and make sure the FAL table provides the `whd_firmware`, `whd_clm`, and `whd_nvram` partitions (the defaults reserve 512 KB + 32 KB + 32 KB of on-chip flash).
49+
- Attach a serial terminal, reboot into the `msh` prompt, and run the download helper for each partition:
50+
51+
```
52+
whd_res_download whd_firmware
53+
whd_res_download whd_clm
54+
whd_res_download whd_nvram
55+
```
56+
57+
Each command switches to YMODEM mode. Use a terminal that supports YMODEM upload (Xshell) to send the matching files from the top-level `resources/` directory .
58+
- Wait for the `Download … success` message before moving to the next partition.
59+
- Power-cycle or reset the board after the three transfers so Wi-Fi starts with the freshly stored blobs. Re-run the command whenever you update the firmware/CLM/NVRAM bundle.
60+
4461
### Running Result
4562

4663
* After power-on, the system initializes the Wi-Fi device.

projects/Edgi_Talk_M55_WIFI/README_zh.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,24 @@
3434
2. 使用 **板载下载器 (DAP)** 将开发板的 USB 接口连接至 PC。
3535
3. 通过编程工具将生成的固件烧录至开发板。
3636

37+
### 准备 WiFi 资源(首次必做)
38+
39+
WHD 在启动时需要从 FAL 读取三个外部资源文件:`firmware`(二进制固件)、`clm_blob`(射频法规表)以及 `nvram.txt`(模组校准参数)。这些文件独立于应用固件,重新烧录应用不会自动更新它们,因此首次使用或更换固件包时必须手动写入。Edgi-Talk 默认提供的资源文件位于工程根目录的 `resources/` 文件夹中。
40+
41+
- 在 menuconfig 中保持 `WHD_RESOURCES_IN_EXTERNAL_STORAGE_FAL` 选项开启,并在 FAL 分区表中保留默认的 `whd_firmware``whd_clm``whd_nvram` 分区(默认分别占用 512 KB + 32 KB + 32 KB 的片上 Flash)。
42+
- 打开串口终端,复位进入 `msh` 命令行,依次执行以下命令:
43+
44+
```
45+
whd_res_download whd_firmware
46+
whd_res_download whd_clm
47+
whd_res_download whd_nvram
48+
```
49+
50+
命令会切换到 YMODEM 传输模式,请使用支持 YMODEM 上传的终端软件(如 Xshell)选择根目录 `resources/` 下对应芯片的文件并发送。
51+
52+
- 每次收到 `Download ... success` 提示后再进行下一项
53+
- 三者写入完成后重启开发板即可让 WiFi 读取新的资源;若后续更新固件包,同样需要重新执行 `whd_res_download`
54+
3755
### 运行效果
3856

3957
* 烧录完成后,开发板上电即可运行示例工程。

0 commit comments

Comments
 (0)