Skip to main content

Taolink TK8620 Burntool in python

Project description

Python BurnTool for TaoLink TK8620 by Cactes Company

A Python programming tool specifically designed for TaoLink TK8620 chip, supporting firmware programming, OTA protocol parsing, and device simulation.

这是一个专为 TaoLink TK8620 芯片设计的 Python 烧录工具,支持固件烧录、OTA 协议解析和设备模拟功能。

Feature | 功能特点

  • Auto download, no need reboot manually | 自动下载,无需手动重启
  • Support Taolink private hex file format | 支持 Taolink 私有 hex 文件格式
  • Support firmware programming, OTA protocol parsing, and device simulation | 支持固件烧录、OTA 协议解析和设备模拟
  • Easy to use command line interface | 易于使用的命令行接口

How To Program TK8620 | 如何对 TK8620 进行编程烧录

image-20250728121750951

Connections like above, RTS is used to trigger TK8620 auto reboot.

如上图所示的连接方式,RTS 引脚用于触发 TK8620 自动重启。

Skip conda environment setup if you don't use conda, you can install burntool directly with pip.

如果不使用 conda 环境,可以跳过环境设置,直接使用 pip 安装 burntool。

conda create -n burntool python=3.12
conda activate burntool
pip install -U burntool

To load firmware to TK8620, use the following command:

使用以下命令将固件加载到 TK8620:

burntoolcli load --port=COM5 --fw firmware.hex --timeout=1

About Taolink Private Hex File | 关于 Taolink 私有 Hex 文件格式

Taolink projects provide a non-standard hex file, if you need a standard hex file, use the following Nuclei Studio configuration.

Taolink 项目提供非标准的 hex 文件,如果需要标准的 hex 文件,请使用以下 Nuclei Studio 配置。

${cross_prefix}${cross_objcopy}${cross_suffix} -O ihex "${ProjName}.elf" "${ProjName}.hex" && "${PWD}\..\..\..\..\..\..\..\Release\Scripts\intelhex2strhex.exe" ${ProjName}.hex


to

${cross_prefix}${cross_objcopy}${cross_suffix} -O ihex "${ProjName}.elf" "${ProjName}.hex" && ${cross_prefix}${cross_objcopy}${cross_suffix} -O ihex "${ProjName}.elf" "${ProjName}_real.hex" && "${PWD}\..\..\..\..\..\..\..\Release\Scripts\intelhex2strhex.exe" ${ProjName}.hex

image-20240319160430168

Work In Progress | 正在开发

  • A GUI interface (Maybe) | 图形用户界面(可能)

  • Auto scan all serial ports | 自动化搜索串口

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

burntool-0.1.3.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

burntool-0.1.3-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file burntool-0.1.3.tar.gz.

File metadata

  • Download URL: burntool-0.1.3.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for burntool-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b98b95c3760578364b470e98f0960554b8b5a8a56ab843dbc71fc1a81f2ec5c3
MD5 ebb0415f642c61c58a48d654f1d43d63
BLAKE2b-256 7fd017f3f36718fbbe7539c6de38234808827bad1a3667a726766a2b668f0e75

See more details on using hashes here.

File details

Details for the file burntool-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: burntool-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for burntool-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 336ca356b5a23dbb2b10c43abe4392990257b4ee27a89a6c8c1dc3fa5ce8a26c
MD5 97bc731289716d2c19946d95b2a4ce7b
BLAKE2b-256 83a4cd34697f1e3e111c50386f5758b145e4330b733d8fceeaf4670903518dda

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page