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

Uploaded Python 3

File details

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

File metadata

  • Download URL: burntool-0.1.7.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.7.tar.gz
Algorithm Hash digest
SHA256 95348503f92ca81cb9d01b2c49e2b92bf2e54e1e9b03acd112b26f331004acfe
MD5 82b81f780832dd13ba953c107e97584b
BLAKE2b-256 38ab539fbadebc562228204f774f6fe00c3c8684d10fa940287554fd007446ce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: burntool-0.1.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a8fb2192d2d0863fa8a57c6a5186030c7ba7556f0f268de6e9db665d1cd1917f
MD5 5f8af061598f7a6d950b80985976871e
BLAKE2b-256 cc2ae7629835770af0f8a5b63d355d55ed284dac6be01623c01a47d654957039

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