=============
Cross platform GUI wrapper for kflash.py (download(/burn) tool for k210)
*.bin
and *.kfpgk
file with file pickerDownload bin file (kflash_gui_v*.*
) here
Compress and double click kflash_gui.exe
or kflash_gui
you can create your own shortcut by yourself; If Linux
, edit the path in kflash_gui.desktop
, then copy this file to /usr/share/application
folder with administrator, and finally you can find kflash_gui
app in the system menu
Select bin
file or kfpkg
file, set address to 0x0000
if file is firmware
Select board
Select where firmware flash to, Flash
or SRAM
Select serial port
Select baudrate, 1.5M
recommend
Click Download to burn firmware or model to board
This repository uses submodules. The --recursive
should be used so the required submodule(s) are downloaded.
git clone --recursive https://github.com/sipeed/kflash_gui.git
cd kflash_gui
Assuming a Debian based distro is being used, dependencies can be installed with the following commands.
sudo apt install python3 python3-pip
sudo pip3 install -r requirements.txt
kflash_gui can be run from the source file as follows:
python3 kflash_gui.py
An execution package can be made with these commands:
sudo pip3 install pyinstaller
python3 pack.py
sudo apt-get install -yq x11-utils libxkbcommon-x11-0 libfuse2
kfpkg
coms fromRefer here: blog.sipeed.com/p/390.html
*.bin
和 *.kfpgk
文件, 支持文件选择器选择Flash
或者 SRAM
下载文件(kflash_gui_v*.*
) 下载地址:release页面
解压, 并双击 kflash_gui.exe
或 kflash_gui
可以自行建快捷方式或者固定到开始页面或者固定要任务栏方便使用; 如果是 Linux
, 可以修改 kflash_gui.desktop
里面的路径, 然后用管理员身份复制到/usr/share/application
目录, 然后就可以在系统菜单里面找到kflash_gui
的图标了,点击即可打开
选择 bin
文件或者 kfpkg
文件, 如果是bin
文件需要指定地址,如果是固件需要指定0x0000
地址
选择开发板
选择烧录到开发板的哪个位置 Flash
(速度慢但是重新上电还可运行) 或者 SRAM
(RAM
中运行,下载快断电丢失程序)
选择串口
选择波特率,推荐1.5M
点击 下载
按钮来开始下载
如果需要取消,点击 取消
按钮
sudo apt-get install -yq x11-utils libxkbcommon-x11-0 libfuse2
kfpkg