> For the complete documentation index, see [llms.txt](https://doc.vietqr.vn/doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.vietqr.vn/doc/giai-phap-va-ung-dung-vietqr/qr-voice-box/voice-box-ver2.md).

# Voice box Ver2

#### Nạp phần mềm&#x20;

Chú ý, thiết bị  tăt nguồn

#### Bước 1 Chọn loại chip **ESP32-S2**

Cấu hình như sau:

```
ChipType: ESP32-S2
WorkMode: Develop
LoadMode: UART
```

#### Bước 2

Chọn các file firmware và nhập đúng địa chỉ ghi (Address)

```
bootloader.bin           → 0x1000
partition-table.bin      → 0xf000
ota_data_initial.bin     → 0x1e000
play_spiffs_mp3.bin      → 0x20000
storage.bin              → 0x4c0000
```

#### Bước 3

Cách đưa thiết bị vào chế độ Download (nạp firmware)

1. Cắm cáp USB vào thiết bị
2. Khi thiết bị **đang tắt nguồn**, **giữ nút Volume +**, sau đó cắm USB
3. Chọn **cổng COM** mới xuất hiện và nhấn **Start**
4. Sau khi nạp xong, rút cáp USB và **nhấn giữ nút nguồn khoảng 4 giây để bật thiết bị**

**SSCOM**

<figure><img src="/files/5ZKE6V4DTstm2fsnnXXu" alt=""><figcaption></figcaption></figure>

1.Confirm device can work (Chú ý, thiết bị tắt nguồn While power off ,hold the volume+ button and then insert USB)

2.Send"AT+VER" confirm the version in device&#x20;

3.Send"AT+RLCMD=SZCS,device\_sn=2511250004" write SN to device&#x20;

4.Send"AT+RLCMD=CXCS,device\_sn",Confrim you have writed SN successful

| Driver                                                                                                                                                                                                    | Flash tool                                                                                                                                                                                                              |                                                                                                                                                                                                                  |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p></p><p><a href="https://drive.google.com/file/d/1qXWDV1zZNWD4bc3-IujHqgBVKUFGQao0/view?usp=drive_link"><https://drive.google.com/file/d/1qXWDV1zZNWD4bc3-IujHqgBVKUFGQao0/view?usp=drive_link></a></p> | <p></p><p><a href="https://drive.google.com/file/d/1V02zFFWAnWMGA9rn1OZr8ynirZ_J6Uiu/view"><https://drive.google.com/file/d/1V02zFFWAnWMGA9rn1OZr8ynirZ_J6Uiu/view></a></p>                                             | <p></p><p><a href="https://drive.google.com/file/d/1x0sKt0McmY8ugLBanoE_5c0FoKmhyvWH/view?usp=drive_link"><https://drive.google.com/file/d/1x0sKt0McmY8ugLBanoE_5c0FoKmhyvWH/view?usp=drive_link></a></p><p></p> |
| BIN File: <https://drive.google.com/file/d/173PP3CrwRkLVZJKUooF2iEBtdjiDtxBV/view?usp=drive_link>                                                                                                         | <p>Tingo voice : </p><p><a href="https://drive.google.com/file/d/1dCU1boNbNH0sCIRvElQ4PCNtnXlMV-DA/view?usp=drive_link"><https://drive.google.com/file/d/1dCU1boNbNH0sCIRvElQ4PCNtnXlMV-DA/view?usp=drive_link></a></p> | <p>Forder</p><p><a href="https://drive.google.com/drive/folders/1Lo21fv6ec6PZelb3PM9hW5l0wfPSOCOJ?usp=sharing"><https://drive.google.com/drive/folders/1Lo21fv6ec6PZelb3PM9hW5l0wfPSOCOJ?usp=sharing></a></p>    |
|                                                                                                                                                                                                           |                                                                                                                                                                                                                         |                                                                                                                                                                                                                  |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.vietqr.vn/doc/giai-phap-va-ung-dung-vietqr/qr-voice-box/voice-box-ver2.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
