Tool Set
Besides the extension features developed in the SoC system, tool sets developed in the host are also provided in the sdk\tool
directory for extended feature development, user application development, or mass production.
This document provides a brief introduction to these tools and their usage methods. For the user manual for each tool, please refer to the tool user manual in the specific directory.
The brief descriptions of each tool are as follows:
Tool Name |
Description |
Path |
Note |
---|---|---|---|
MPPG Tool |
Used for RD programming and mass production programming. |
|
Common Usage |
Flash |
Keil flash algorithm for downloading applications. |
|
Common Usage |
Generate an MD5 checksum for the image file, which will be further verified by the MP tool sets. |
|
Common Usage |
|
Prepend Header |
Generate the OTA header and MP header, which will be verified by the MP tool sets. |
|
Common Usage |
Version Generation |
Generate a version header file for the user application using Git or SVN. |
|
Common Usage |
Resign Tool |
Re-sign the images using the provided private key. |
|
Common Usage |
Debug Analyzer |
Used for system logging and debugging. |
|
Common Usage |
MCUConfig Tool |
Used for OEM system configuration and application UI parameter configuration. |
|
Common Usage |
DSPConfig Tool |
Generate DSP configuration images. |
|
Common Usage |
ANC Design Tool |
Generate ANC images. |
|
For Headset |
ANC MP Tool |
Support read gain, write gain to RAM, and download gain to Flash for feedforward and/or feedback filters. |
|
For Headset |
Android Audio Connect |
Used for extended feature development on Android phones. |
|
Common Usage |
iOS Audio Connect |
Used for extended feature development on iOS phones. |
|
Common Usage |
MP Kit Setup Package |
Verify RF performance and certification. |
|
Common Usage |
Realtek Bluetooth MP Tool |
Match with Realtek’s Genesis production version used in mass-production. |
|
Common Usage |
Fast MP Tool |
Match with Realtek’s Fast MP production board used in mass-production. |
|
Common Usage |
ACI Host CLI Tool |
Used for cmd/event communication test with ACI Device through USB serial port. |
|
Common Usage |
CFU Download Tool |
Used for firmware upgrade of the chip using USB. |
|
Common Usage |
OTA Dongle Tool |
Prepare the OTA tooling board for performing SPP OTA on Realtek Audio chips. |
|
Common Usage |
Note
Realtek Bluetooth MP Tool and Fast MP Tool will be provided in Realtek SDK later.
MPPG Tool
MPPG Tool supports mass production and debug mode.
The debug mode allows developers to use the tool for debugging and feature development.
The MP mode supports various features, including downloading up to 8 devices simultaneously and changing the Bluetooth address of the device.
MP Pack, Flash Map Generator and OTA Header Generator functions are integrated into the MPPG Tool chain. For instructions on how to use these functions, please refer to MPPG Tool Chain User Guide available on the Realtek official website at RealMCU.
In the following section, a brief overview of the usage of the MPPG Tool in debug mode is provided. RTL8763ESE will be used as an example to illustrate the steps involved in the downloading process. Please refer to MPPG Tool User Guide available on the Realtek official website at RealMCU for more details.
Set the EVB to Download Mode (refer to Download Mode).
Double-click to run
MPPGTool.exe
located in\tool\MPPGTool-vx.x.x.x
. Then, choose the chip type and click the [Confirm] button.Click on [Type] in the menu bar and choose [Debug] mode, and the following interface will be displayed.
Load the
flash map.ini
file located in\bin\rtl87x3e\flash_map_config\4M\flash_4M
.Browse the folder and load the required bin files listed in Required Files in the following interface.
The corresponding files for RTL8763ESE are shown in the following table.
File Type
File Name
File Path
OTA Header Image
OTAHeader_Bank0_xxx.bin
\bin\rtl87x3e\8763ESE\4M\BANK0
Boot Patch Image
boot_patch_MP-xxx.bin
\bin\rtl87x3e\8763ESE\4M\BANK0
DSP APP Image
dsp_app_image_xxx.bin
\bin\rtl87x3e\8763ESE\4M\BANK0
DSP SYS Image
dsp_sys_image_xxx.bin
\bin\rtl87x3e\8763ESE\4M\BANK0
DSP Config Image
dsp_config_image-xxx.bin
\bin\rtl87x3e\8763ESE\4M\BANK0
FSBL Image
fsbl_bank0_MP-xxx.bin
\bin\rtl87x3e\8763ESE\4M\BANK0
Bluetooth Controller EXT Image
lowerstack_ext_image_4M_MP-xxx.bin
\bin\rtl87x3e\8763ESE\4M\BANK0
Platform EXT Image
platform_ext_image_MP-xxx.bin
\bin\rtl87x3e\8763ESE\4M\BANK0
Stack Patch Image
stack_patch_4m_bank0_MP-xxx.bin
\bin\rtl87x3e\8763ESE\4M\BANK0
SYS Patch Image
sys_patch_bank0_MP-xxx.bin
\bin\rtl87x3e\8763ESE\4M\BANK0
Bluetooth Host Image
upperstack_4M_MP-xxx.bin
\bin\rtl87x3e\8763ESE\4M\BANK0
APP Config Image
APP_Config_xxx.bin
\bin\rtl87x3e\8763ESE\4M\rcfg\For EVB
System Config Image
SYSTEM_Config_xxx.bin
\bin\rtl87x3e\8763ESE\4M\rcfg\For EVB
VPData Config Image
VPData_xxx.bin
\bin\rtl87x3e\8763ESE\4M\rcfg\For EVB
APP Demo Image
Refer to the Actual Situation
\bin\rtl87x3e\app_demo_bin\mdk
Click [Detect], the interface will display the detected COM port of the device.
Click [Open], if the COM port can be opened successfully, the progress bar on the right side will display ‘OK’, otherwise, it will display ‘Failed’. If ‘Failed’, users should go through the following checklist to ensure all conditions are met, then click [Detect] and [Open] again.
Tip
Conditions to Check:
The TX/RX pins of the serial port are connected correctly.
The Log Pin (TP6) of the device is grounded before powering on.
The serial port converter board supports a 1M baud rate.
The COM port is not occupied.
Click [Chip Erase] button to erase the chip before downloading. The status will indicate ‘Success’.
Note
MPPG Tool can download single or multiple files.
During the initial downloading process, users need to Chip Erase and then download all the images.
If later on users want to update only a single file, such as the APP Demo Bin, please skip this step.
Click the [Detect] and [Open] button in tool UI again.
After the serial port is successfully opened, Click [Download], the progress bar on the right of the COM port displays the current download progress.
After the download is completed, it will display ‘Success’.
If ‘Failed’ is displayed, please press the Reset button on the EVB or power cycle the EVB, and then repeat the above steps.
Open the Factory Reset tool integrated into the MPPG Tool chain.
Note
After the initial downloading process or updating the MCUConfig bin, it is necessary to Factory Reset using the MPPG Tool.
If it is not the above-mentioned case, please skip this step.
Load the corresponding
flash map.ini
file and click [Factory Reset] Button.
Gadgets
Some small tool sets for application development are also provided in the SDK.
Flash: Flash algorithm for Keil download option.
MD5: Generate the MD5 file format, which is used to add MD5 to the file name of the image.
Prepend Header: Prepend header information with OTA and MP header for further MP process.
Version Generation: Generate version for user application which may be useful for OTA and version track.
Resign Tool: Re-sign all the images with the provided private key.
Debug Analyzer
Debug Analyzer is developed to capture system logs via several transport layers and decode them for user-friendly debugging.
Key features supported in this tool include:
Support multiple input ways.
Binary file
Support both MCU and DSP logs.
Log saving and parsing.
Generate Bluetooth snoop log for further analysis by Frontline capture tool.
Support Ellisys injection.
A brief introduction to the usage of Debug Analyzer is described as follows. RTL8763ESE is taken as an example to illustrate the steps. Please refer to Debug Analyzer User Guide available on the Realtek official website at RealMCU for more details.
Set the EVB to Log Print Mode (refer to Log Pin Wiring) and then power on the EVB (refer to Power Supply).
Double-click to run
DebugAnalyzer.exe
located in\tool\DebugAnalyzer-vx.x.x.x
.Click [Settings] to set parameters.
Set parameters in the following UI according to requirements and click [Confirm]. Taking
bt_audio_receiver
demo bin as an example, the trace path is shown as follows.Click [Start] to capture log.
Press the reset button in EVB, and log will be printed by Debug Analyzer as shown in the following figure.
Users can switch the ARM log and DSP log by clicking the arrow in the lower left corner of UI.
Note
To generate system log, [Log output] should be set to Enable in System Configuration tab of MCUConfig Tool, as shown in the following figure.
MCUConfig Tool
MCUConfig Tool is used for changing application and system behaviors without any modification in source code.
The system configuration is used to change system-wide configuration, such as logging, link numbers for different profile links, etc.
Stack options: Bluetooth stack and profile options.
Platform options: System options, including internal charger.
The application configuration is designed to provide vendors a simple way to change application UI parameters on its binary image.
In the following section, the common operations of MCUConfig Tool are briefly introduced. Users can make customized modification based on the default RCFG bin provided by Realtek SDK. For more information, please refer to MCUConfig Tool User Guide available on the Realtek official website at RealMCU.
Double-click to run
McuConfigTool.exe
located in\tool\MCUConfigTool-vx.x.x.x
. Choose the chip type and click [Import Bin File] button.Load the default RCFG bin in SDK. Taking RTL8763ESE as an example, the path is shown as follows.
Users can modify corresponding settings according to requirements, such as device name.
After setting the configurations, click [Save as] to export the MCUConfig bin.
If users need to re-import the RCFG bin during the configuration process, please click [Reset] to return to the main interface and select the required RCFG bin again to import.
Note
If the flash layout in the SDK is changed, the new flash_map.ini
should be imported by clicking [Import flash map.ini] in the System Configuration tab, as shown below.
DSPConfig Tool
The DSPConfig Tool allows developers to configure parameters of built-in signal processing algorithms for phone calls, music playback, and VAD. In addition, this DSPConfig Tool also provides user-friendly parameter fine-tuning functions, which can greatly shorten the turnaround time of parameter tuning. This tool also supports the generation of DSP configuration images.
As for how to use the DSPConfig Tool, please refer to DSPConfig Tool User Guide available on the Realtek official website at RealMCU.
ANC Design Tool
The ANC Design Tool is convenient for users to choose the actual number of biquad filters used in a filter, design coefficients of biquad filters, and visualize the overall response of a filter.
As for how to use the ANC Design Tool, please refer to its user guide in the \tool\AncDesignTool-vx.x.x.x
directory.
ANC MP Tool
The ANC MP Tool supports the functionality to read gain, write gain to RAM, and download gain to Flash for feedforward and/or feedback filters. Additionally, the write gain function can be used to enable or disable the feedforward and/or feedback filters.
As for how to use the ANC MP Tool, please refer to its user guide in the \tool\ANCMPTool-vx.x.x.x
directory.
Android Audio Connect
An Android tool set for Bluetooth audio could implement features such as TTS, OTA, and renaming device. With the apk installed on an Android phone, the Android tool set could communicate with Bluetooth audio devices and support the corresponding features described as follows:
Device Information Display: Display the device name and battery level information.
Rename: Modify device name.
Language Switch: Change the voice language of the device.
Channel Switch: Provide three modes for users to switch.
OTA: Upgrade device firmware to keep the device running the latest version.
Real Hearing Enhancement: Adjust hearing effect by switching the listening mode and adjusting the configuration in each mode.
Equalizer: Adjust the built-in sound effect of music.
TTS: Help users obtain caller’s information before answering the call.
Gaming Mode: Control whether to open the game mode and provides five delay levels to choose.
Key Mapping: Show the mapping between key actions and the functions they triggered.
VP/Ringtone Volume: Adjust Voice Talk/Ringtone Volume.
Download/Apply ANC_APT Param: Write ANC or LLAPT parameters to the device.
SPP Data Capture: Capture DSP logs via SPP.
APT: Transparent mode in listening mode, including EQ, scenario switching, volume adjustment, etc.
ANC: Noise reduction mode in listening mode, including EQ, scenario switching, etc.
As for how to use the Android tool set, please refer to Android Audio Connect App User Guide available on the Realtek official website at RealMCU.
iOS Audio Connect
An iOS tool set is designed for the iOS platform. With the ipa installed on an iOS phone, the iOS tool set could communicate with Bluetooth audio devices and support the corresponding features described as follows:
Device Information Display: Display the device name and battery level information.
Rename: Modify device name.
Language Switch: Change the voice language of the device.
Channel Switch: Provide three modes for users to switch.
OTA: Upgrade device firmware to keep the device running the latest version.
Real Hearing Enhancement: Adjust hearing effect by switching the listening mode and adjusting the configuration in each mode.
Hearing Aid Adjustment: Adjust Hearing Aid configuration settings.
Hearing Assessment Test: Provide a simple and easy-to-use Hearing Assessment test to have knowledge of the user’s hearing condition.
Equalizer: Adjust the built-in sound effect of music.
Voice EQ: Adjust the EQ parameter in the call.
TTS: Help users obtain caller’s information before answering the call.
Gaming Mode: Control whether to open the game mode and provides five delay levels to choose.
Key Mapping: Show the mapping between key actions and the functions they triggered.
VP/Ringtone Volume: Adjust Voice Talk/Ringtone Volume.
Download/Apply ANC_LLAPT Parameters: Write ANC or LLAPT parameters to the device.
Data Capture V2: Capture DSP logs via Bluetooth Low Energy.
As for how to use the iOS tool set, please refer to iOS Audio Connect User Manual available on the Realtek official website at RealMCU.
MP Kit Setup Package
The MP Kit Setup Package is used to verify RF performance and certification. This tool can generate non-signaling Bluetooth signals of various modulation for regulatory certification and enter the direct test mode of Bluetooth.
As for how to use the MP Kit Setup Package, please refer to its user guide in the \tool\MPKitSetupPackage-vx.x.x.x
directory.
Realtek Bluetooth MP Tool
The Realtek Bluetooth MP Tool is matched with Realtek’s Genesis production version used in mass-production. The tool supports functions such as writing image, measuring voltage, simple frequency calibration, audio loopback, and modifying configuration data during mass-production. The MP tool can support up to 1 to 8 mass production modes.
As for how to use the Bluetooth MP Tool, please refer to RF Test and MP Tool User Manual available on the Realtek official website at RealMCU.
Fast MP Tool
The Fast MP Tool must be matched with Realtek’s FastMP production board used in mass-production. RTK Fast MP Tool allows for simultaneous functional testing of the Windows 10/11 system on a computer, and the application is multithreaded. It can support testing of up to 24 DUTs, including functions such as writing image, RF calibration, and modifying configuration data.
As for how to use the Fast MP Tool, please refer to RF Test and MP Tool User Manual available on the Realtek official website at RealMCU.
ACI Host CLI Tool
The ACI Host CLI Tool is a test tool running on PC, which is used to demo ACI usage. It can perform cmd/event communication test with ACI Device through USB serial port.
As for how to use the ACI Host CLI Tool, please refer to ACI Host CLI Tool.
CFU Download Tool
The CFU Download Tool is used to upgrade the firmware of Realtek’s chips that adhere to the CFU protocol.
As for how to use the CFU Download Tool, please refer to its user guide in the \tool\CFUDownloadTool-vx.x.x.x
directory.
OTA Dongle Tool
The OTA Dongle Tool is used for downloading OTA images in the OTA tooling board to follow the SPP OTA procedure for Realtek Audio chips. The tool also supports controlling the OTA tooling board for SPP connection, force engagement, and SPP OTA testing.
As for how to use the OTA Dongle Tool, please refer to its user guide in the \tool\OtaDongleTool-vx.x.x.x
directory.