Terminology Explanation

Chip Introduction

Chips are divided into those with security features enabled (collectively referred to as secure chips) and those without security features enabled (collectively referred to as non-secure chips).

  • Secure chips: Use bootloader for programming, reading, and erasing.

  • Non-secure chips: Use bootrom for programming, reading, and erasing.

Bin

  • A bin file is firmware that is programmed into flash.

  • Different types of services correspond to different bin files, and different bin files have different functions.

Bin classifications are as follows:

  • normal

    Regular bin files containing complete application code and data.

  • ota

  • bootrom all bin

  • bootloader app

  • secure fix

  • outter

  • normal fixed

  • bootlader ota

    Update bootloader.

../../_images/download_bin_type.png

Baud Rate

  1. Baud: The communication baud rate used by the tool during programming, reading, and erasing.

  2. AppRestBaud: The baud rate when the APP is running. When the tool sends a reset command to the chip, it will switch the serial port to this baud rate and then send the reset command, with a default value of 115200.

USB-to-Serial Chip Baud Rate Support

Different USB-to-serial chips have different baud rate support. Please select an appropriate baud rate based on the chip you are using:

Chip Model

Maximum Supported Baud Rate

CP210X

2000000 (2 Mbps)

CH340

2000000 (2 Mbps)

FT232R / FT232RL

3000000 (3 Mbps)

FT2232 / FT4232 (Multi-channel)

6000000 (6 Mbps)

Note

If the selected baud rate exceeds the maximum supported by the chip, communication may fail. It is recommended to select an appropriate baud rate based on the actual USB-to-serial chip being used.

Programming Features

Add Bin

  • Description: Brief introduction of the basic information of the bin file, including the number of images it contains, the working environment, and the business type of the bin.

  • Length: The length of the file to be programmed. Only normal type bins can edit the length.

  • Address: The specified address in flash where the file is to be programmed. Only normal type bins can edit the address.

Extended Data

The extended data function allows writing specific data (such as MAC address, device name, BLE address, etc.) to a specified address in flash.

  • Name: The name of the extended data, no spaces are allowed in the name.

  • Type: Specifies the byte order of the data, supporting the following four types: 0. hex(little endian): Hexadecimal little-endian format 1. hex(big endian): Hexadecimal big-endian format 2. string(little endian): String little-endian format 3. string(big endian): String big-endian format

  • Data: The specific data to be written to flash, the format of the data varies depending on the type.

  • Address: Specifies the address in flash where the data is to be written.

OTP

Select the OTP file for programming.

Warning

Before performing OTP programming, please ensure that the content of the OTP file is completely correct to avoid abnormal chip functions caused by incorrect data.

Advanced Programming Configuration

  • Whether to erase flash before programming

    • None: Do not erase flash before programming

    • All: Fully erase flash before programming, clearing all data

    • Based on content: Erase the area to be downloaded

  • Whether to restart after download

    • Do not restart: Do not restart the board after programming

    • Restart: Automatically restart the board after programming

../../_images/download_advance_config.png

Erase Features

Erase all and erase specified areas.

Erase All

The erase all function will erase the entire flash area, clearing all data stored in flash.

Warning

Warning: After erasing the entire flash area, all data in the flash will be lost, including some important calibration data and user configuration data.

Erase Specified Area

Add the specified area and the tool will erase it.

Advanced Erase Configuration

  • Whether to restart after erasing

    • Do not restart: Do not restart the board after erasing

    • Restart: Automatically restart the board after erasing

../../_images/erase_advance_config.png

Read Features

Read all, read specified area, read eFuse.

Read All Flash

The read all flash function will read all content in the flash and store it in the corresponding file.

Read Custom Area Flash

Fill in the specified area and the tool will read it.

Read eFuse

Read eFuse configuration.

Read Advanced Configuration

  • Whether to restart after reading

    • Do not restart: Do not restart the board after reading

    • Restart: Automatically restart the board after reading

../../_images/read_advance_config.png