This commit is contained in:
PhatenIoT-yan
2026-03-09 16:50:37 +08:00
parent 14544eccd3
commit e469ee0144
55 changed files with 4539 additions and 417 deletions

View File

@@ -40,14 +40,34 @@ The Zero-Code Firmware UART Protocol Test Script is provided by Phaten Cloud (Ph
## Quick Start
1. Launch the script
2. Select the UART port: The tool scans available ports; select the COM port for the XU316. Refresh if the list is not updated
3. Power-on handshake: The tool listens to the device boot output, prints received data, and sends required responses automatically until the “Firmware Selection Menu” appears
4. Select firmware:
- hf83311 / hf86611 / hf87611 / hf87621
- ph73211_lp / ph73311_lp / ph83211_lp / ph83311_lp
- Full-mode test (covers all supported modes; recommended if firmware is unknown or for full validation)
5. Run features from the menu: In the main menu, perform media control, mode switching, MCLK switching, unmute, audio latency configuration, firmware version query, and more
1. Launch the script program.
2. Select test firmware type:
- hf83311 / hf86611 / hf87611 / hf87621
- ph73211_lp / ph73311_lp / ph83211_lp / ph83311_lp
- Full mode test (covers all supported modes, suitable when firmware is unknown or comprehensive verification is needed)
3. Input device information:
- UAC1 VID (default 20B1):
- UAC1 PID (default 0017):
- UAC2 VID (default 20B1):
- UAC2 PID (default 0016):
- Manufacturer Name (default Phaten):
- Product Name (default XMOS XU316):
- Serial Number (default 123456789ABCDEF):
!!! info "Notes"
- For each line above, the next line will appear only after you input the corresponding content and press the Enter key. Press the Enter key directly to use the default value.
- If you are unsure about the correct VID and PID, please use the default values first, then modify them according to the actual situation.
- <span style="color:red">If using the default VID and PID, after modifying the product name, you must use the official driver to see the modification results. The PC side cannot directly see the modified name.</span>
4. Select UART port: Automatically scans available ports, select the COM port corresponding to XU316; manually refresh if the list is not updated.
5. Power-on handshake: The program listens to device power-on data, prints received content, and automatically completes necessary responses until entering the "Firmware Selection Menu".
6. Execute function menu: Perform media control, mode switching, MCLK switching, unmute, audio latency configuration, firmware version query, etc., in the main menu.
!!! tip "Observability During Execution"
- The tool prints TX/RX data in real time for troubleshooting