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
loading...
successful
Total time: 8.964 seconds

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.4.tar.gz (18.4 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.4-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: burntool-0.1.4.tar.gz
  • Upload date:
  • Size: 18.4 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.4.tar.gz
Algorithm Hash digest
SHA256 b43c69523826f4d8b76ee7f75dcaa2e3914e304435ceb143126c8623b1f99bce
MD5 4218d50446f38f2799ea4ea5ea564086
BLAKE2b-256 2c5f7b2ac37344a5878f12e2514023fa5bce57d0f9a226e380361507e49f5793

See more details on using hashes here.

File details

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

File metadata

  • Download URL: burntool-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 17.8 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 93f6019bea5cf2fd3b615622e3582385836dfaa88aa6f982df4db6ca87bb7a86
MD5 74ed0bb29909fd07e96bcdb9bb89155a
BLAKE2b-256 1f91a1e8f9b128c9d59d7dfa7d769094e9e879277b71447eeb35a9ef64c4a893

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