This program can easily download firmware to w800 series devices, as well as modify the device's bluetooth wifi mac address and RF gain, it uses serial port to communicate with the target chip.
Status (master) | Description |
---|---|
Build default config on Ubuntu gcc | |
Build default config on Ubuntu clang | |
Build default config on Macos | |
Build default config on Windows | |
Code analyse on codeql |
$ ./build/w80xprog
w80xprog v1.2
Copyright(c) 2021-2024 John Sanpe <sanpeqf@gmail.com>
License GPLv2+: GNU GPL version 2 or later.
Usage: w80xprog [options]...
-h, --help display this message
-p, --port <device> set device path
-s, --speed <freq> set link baudrate
-n, --nspeed <freq> set new baudrate
-o, --secboot entry secboot mode
-i, --info read the chip info
-f, --flash <file> flash chip with data from filename
-e, --erase <offset:size> erase the specific flash
-b, --bt <mac> set bluetooth mac address
-w, --wifi <mac> set wifi mac address
-g, --gain <gain> set power amplifier gain
-r, --reset reset chip after operate
$ ./build/w80xprog -p /dev/ttyUSB0 -n 921600 -orf ./flash.bin
w80xprog v1.2
Copyright(c) 2021-2024 John Sanpe <sanpeqf@gmail.com>
License GPLv2+: GNU GPL version 2 or later.
Entry secboot:
Version: Secboot V0.6
Setting speed:
[0x06]: OK
Chip Flash:
100% [================================================] 30.902 KB, 9.639 KB/s
Chip reset...
$ git clone https://github.com/JohnSanpe/w80xprog.git
$ cd w80xprog
$ git submodule update --init --recursive
$ cmake -Bbuild
$ cmake --build build