{"id":35221983,"url":"https://github.com/sipeed/kflash_gui","last_synced_at":"2026-06-01T08:01:03.677Z","repository":{"id":56473169,"uuid":"185712270","full_name":"sipeed/kflash_gui","owner":"sipeed","description":"Cross platform GUI wrapper for kflash.py (download(/burn) tool for k210)","archived":false,"fork":false,"pushed_at":"2026-06-01T05:03:10.000Z","size":756,"stargazers_count":156,"open_issues_count":5,"forks_count":73,"subscribers_count":10,"default_branch":"master","last_synced_at":"2026-06-01T06:26:23.263Z","etag":null,"topics":["gui","k210","kendryte","kflash","maixpy","sipeed"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sipeed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-09T02:31:38.000Z","updated_at":"2026-06-01T04:54:24.000Z","dependencies_parsed_at":"2022-08-15T19:20:55.703Z","dependency_job_id":null,"html_url":"https://github.com/sipeed/kflash_gui","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/sipeed/kflash_gui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sipeed%2Fkflash_gui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sipeed%2Fkflash_gui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sipeed%2Fkflash_gui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sipeed%2Fkflash_gui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sipeed","download_url":"https://codeload.github.com/sipeed/kflash_gui/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sipeed%2Fkflash_gui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33765379,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gui","k210","kendryte","kflash","maixpy","sipeed"],"created_at":"2025-12-30T00:14:10.648Z","updated_at":"2026-06-01T08:01:03.649Z","avatar_url":"https://github.com/sipeed.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kflash_gui\n\nCross platform GUI wrapper for [kflash.py](https://github.com/sipeed/kflash.py.git) (download(/burn) tool for k210)\n\n![screenshot](kflash_gui_data/assets/screenshot_kflash_gui_v1.5.png)\n\n## Features\n\n* Support `*.bin` and `*.kfpkg` file with file picker\n* Support development board select(And auto detect, you should select board manually if you want to use high speed mode)\n* Support select where the firmware burned to\n* Auto scan serial port support\n* Baudrate editable\n* White skin and night skin support\n* Support Chinese and English Language\n* Download(/burn) progress and speed display\n* Cancel download support\n* Support merge bins to one bin file(Especially for factory flash burn usage)\n* Support convert kfpkg to one bin file\n* Support enbale bin file or not\n* Auto identify firmware file\n* Erase flash support(Full chip or partial erase)\n\n## Screenshots\n\n| ![main window](kflash_gui_data/assets/screenshot_1.png) | ![settings](kflash_gui_data/assets/screenshot_2.png) |\n| --- | --- |\n| ![download](kflash_gui_data/assets/screenshot_download.png) | ![download English](kflash_gui_data/assets/screenshot_download_en.png) |\n| ![main window English](kflash_gui_data/assets/screenshot_en.png) | ![file picker](kflash_gui_data/assets/screenshot_file.png) |\n| ![erase](kflash_gui_data/assets/erase.png) | ![erase Chinese](kflash_gui_data/assets/erase_zh.png) |\n\n## Usage\n\n* Download the bin file (`kflash_gui_v*.*`) from the [releases page](https://github.com/sipeed/kflash_gui/releases)\n\n* Compress and double click `kflash_gui.exe` or `kflash_gui`\n\n* 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\n\n* Select `bin` file or `kfpkg` file， set address to `0x0000` if file is firmware\n* Select board\n* Select where firmware flash to, `Flash` or `SRAM`\n* Select serial port\n* Select baudrate, `1.5M` recommend\n* Click Download to burn firmware or model to board\n\n## Running from source\n\nThis repository uses submodules. The ``--recursive`` should be used so the required submodule(s) are downloaded.\n\n```bash\ngit clone  --recursive https://github.com/sipeed/kflash_gui.git\ncd kflash_gui\n```\n\nAssuming a Debian based distro is being used, dependencies can be installed with the following commands.\n\n```bash\nsudo apt install python3 python3-pip\nsudo pip3 install -r requirements.txt\n```\n\nkflash_gui can be run from the source file as follows:\n\n```bash\npython3 kflash_gui.py\n```\n\nAn execution package can be made with these commands:\n\n```bash\nsudo pip3 install pyinstaller\npython3 pack.py\n```\n\n### Raspberry Pi / ARM\n\nThere is no prebuilt ARM release: the official PyQt6 arm64 wheels\nrequire glibc 2.39, which is newer than current Raspberry Pi OS. Run\nfrom source with the distro's Qt6 package instead of the PyQt6 wheel:\n\n```bash\nsudo apt install python3 python3-pip python3-pyqt6\npip3 install bs4 pyelftools pyserial requests tinyaes\npython3 kflash_gui.py\n```\n\n## If something goes wrong\n\n### If downloading fails\n\n* Check hardware connection\n* Check board selection\n* Check serial port selection\n* Check baudrate, do not too high\n* Check if serial occupied by other software\n* Replug in USB cable and try again\n\n### dlopen(): error loading libfuse.so.2 with AppImage\n\n```bash\nsudo apt-get install -yq x11-utils libxkbcommon-x11-0 libfuse2\n```\n\n## How `kfpkg` coms from\n\nRefer here: [blog.sipeed.com/p/390.html](http://blog.sipeed.com/p/390.html)\n\n---------------------------\n\n## 特性\n\n* 支持 `*.bin` 和 `*.kfpkg` 文件， 支持文件选择器选择\n* 支持开发板选择(也支持自动选择, 要使用高速模式尽量手动选择)\n* 可选择程序烧录到 `Flash` 或者 `SRAM`\n* 自动检测电脑上的串口\n* 波特率可编辑\n* 黑白两种皮肤可供选择\n* 界面支持中英文切换\n* 支持烧录进度显示和烧录速度显示\n* 支持取消下载进程\n* 支持合并多个 bin 文件为一个 bin 文件 (工厂批量烧录 Flash 可使用此功能打包成 bin )\n* 支持把 kfpkg 文件转换为一个 bin 文件 (工厂批量烧录 Flash 可使用此功能打包成 bin )\n* 支持使能 bin 文件\n* 自动识别文件是不是固件\n* Flash 擦除 (支持 部分擦除 和 整片 擦除)\n\n## 使用方法\n\n* 下载文件(`kflash_gui_v*.*`)  下载地址：[release页面](https://github.com/sipeed/kflash_gui/releases)\n\n* 解压， 并双击 `kflash_gui.exe` 或 `kflash_gui`\n* 可以自行建快捷方式或者固定到开始页面或者固定要任务栏方便使用； 如果是 `Linux`， 可以修改 `kflash_gui.desktop` 里面的路径， 然后用管理员身份复制到`/usr/share/application` 目录， 然后就可以在系统菜单里面找到`kflash_gui`的图标了，点击即可打开\n\n* 选择 `bin` 文件或者 `kfpkg` 文件， 如果是`bin`文件需要指定地址，如果是固件需要指定`0x0000`地址\n* 选择开发板\n* 选择烧录到开发板的哪个位置 `Flash`（速度慢但是重新上电还可运行） 或者 `SRAM`（`RAM`中运行，下载快断电丢失程序）\n* 选择串口\n* 选择波特率，推荐`1.5M`\n* 点击 `下载` 按钮来开始下载\n* 如果需要取消，点击 `取消` 按钮\n\n## 出现问题\n\n### 无法下载时检查\n\n* 板子连接是否正确\n* 开发板是否选择正确\n* 串口是否选择正确\n* 串口速度是否选择过高，可以适当降低速度试试\n* 串口是否被其它软件占用\n* 串口是否出了奇怪的问题，拔掉电脑连接到板子的线重新插一下试试\n\n### 运行AppImage时报错dlopen(): error loading libfuse.so.2\n\n```bash\nsudo apt-get install -yq x11-utils libxkbcommon-x11-0 libfuse2\n```\n\n## 如何手动打包 `kfpkg`\n\n参考这里: [blog.sipeed.com/p/390.html](http://blog.sipeed.com/p/390.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsipeed%2Fkflash_gui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsipeed%2Fkflash_gui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsipeed%2Fkflash_gui/lists"}