Two implementation methods are provided: GUI and CLI.
Terminology Explanation: Terminology Explanation
Download all-app.bin
- Using CLI
.\bk_loader.exe download -p COM11 -b 1500000
--reset_baudrate115200 -i D:/all-app.bin--reboot
.\bk_loader.exe: CLI tool path
download: download
-p: Serial port name
-b: Working baud rate
--reset_baudrate: Reset baud rate-i: bin file path
--reboot: Reboot device after download completes
Using GUI
Select all-app.bin file
Download the first 8K data of all-app.bin to flash address 0x1000
- Using CLI
.\bk_loader.exe download -p COM11 -b 1500000
--reset_baudrate115200 -i D:/all-app.bin@0x1000-0x2000--reboot
-i: bin file path
- D:/all-app.bin@0x1000-0x2000 format: path@addr-length
path: bin file path
addr: flash start address
length: length to operate
Using GUI
Select all-app.bin file
Edit region
Download bootloader-ota.bin
bootlader-ota.bin is used to upgrade bootloader
- Using command line:
.\bk_loader.exe download -p COM11 -b 1500000
--reset_baudrate115200 -i D:/bootloader-ota.bin--reboot
Using GUI
Select bootloader-ota.bin file
Download all-app-outter-flash.bin
all-app-outter-flash.bin can be used to download external flash
- Using command line:
.\bk_loader.exe download -p COM11 -b 1500000
--reset_baudrate115200 -i D:/all-app-outter-flash.bin--reboot
Using GUI
Select all-app-outter-flash.bin file
Download Device Name
Device name example, in string format, downloaded to flash address 0x1000 with big-endian byte order.
- Using CLI
.\bk_loader.exe download -p COM11 -b 1500000
--reset_baudrate115200--expand_datadevice_name@3@0x1000@example--reboot
--expand_data: Extended data- Extended data format name@type@addr@data
name: Extended data name
type: Extended data type
addr: Flash address
data: Extended data value
Extended data: Extended Data
Using GUI
Add extended data
Fill in name, type, address, data
Warning
No spaces allowed in the name.
Download Device MAC Address
Device MAC address is feda10, in hexadecimal format, downloaded to flash address 0x1000 with little-endian byte order.
- Using CLI
.\bk_loader.exe download -p COM11 -b 1500000
--reset_baudrate115200--expand_datadevice_mac@0@0x1000@feda10--reboot
Using GUI
Add extended data
Fill in name, byte order, address, data
Download Extended Data
Using CLI .\bk_loader.exe download -p COM11 -b 1500000
--reset_baudrate115200--expand_dataname@type@addr@value--reboot
name: Extended data name
type: Byte order
addr: Extended data address
value: Extended data value
Using GUI
Add extended data
Fill in name, byte order, address, data
Download eFuse to OTP Area
eFuse file is in JSON format
- Using CLI
.\bk_loader.exe download -p COM11 -b 1500000
--reset_baudrate115200--safe_jsonD:/safe.json--reboot
--safe_json: eFuse file path
Using GUI
Select eFuse file
Note
For eFuse(OTP) file format, please refer to https://docs.bekencorp.com/arminodoc/bk_idk/bk7236/zh_CN/v2.0.1/developer-guide/config_tools/bk_config_otp_efuse.html.
Warning
Warning: OTP data cannot be modified once downloaded. Please ensure the data content is completely correct before performing the download operation!
Erase All Flash Data
- Using CLI
.\bk_loader.exe erase -p COM11 -b 1500000
--reset_baudrate115200--chip_all--reboot
erase: Erase
--chip_all: All flash--reboot: Reboot device after erase completes
Using GUI
Select full erase
Warning
Warning: Flash contains important calibration data. Please ensure the correctness of the erase area.
Erase Specified Flash Area Data
- Using CLI
.\bk_loader.exe erase -p COM11 -b 1500000
--reset_baudrate115200 -f 0x1000-0x2000,0x3000-0x4000--reboot
erase: Erase
-f: Specify the flash area to erase
- Format: -f:addr1-length1,addr2-length2
addr1: Start address of the flash area to erase
length1: Length of the flash area to erase
addr2: Start address of the flash area to erase
length2: Length of the flash area to erase
Using GUI
Fill in the area
Start erasing
Read eFuse
- Using CLI
.\bk_loader.exe read -p COM11 -b 1500000
--reset_baudrate115200--read_efuse0-0--reboot
read: Read
--read_efuse: Read eFuse0-0: Read all eFuse
Using GUI
Select read eFuse
Read All Flash Data
Using CLI
.\bk_loader.exe read -p COM11 -b 1500000
--reset_baudrate115200--chip_all--reboot
--reboot: Reboot device after read completes
Using GUI
Select all flash
Read Specified Flash Area
- Using CLI
.\bk_loader.exe read -p COM11 -b 1500000
--reset_baudrate115200 0 -f 0x0-0x1000,0x2000-0x3000--reboot
Using GUI
Fill in the area