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 协议解析和设备模拟功能。

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 host --port=COM5 --fw firmware.hex run

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) | 图形用户界面(可能)

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.2.tar.gz (16.9 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.2-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: burntool-0.1.2.tar.gz
  • Upload date:
  • Size: 16.9 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.2.tar.gz
Algorithm Hash digest
SHA256 f58d92bf04937944fa1a0e4a74dc1288a258e831d4a0ef8701e91e1c545f6be5
MD5 8a2bb5c302f81973c6d419c76cff7028
BLAKE2b-256 204b353eb64f2f2f96e37ca52f2770b6afbe9871dd06674a5d9d7efff3b0d003

See more details on using hashes here.

File details

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

File metadata

  • Download URL: burntool-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 16.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b465347f447df3570911cd49a2c061d87027a40328634d75a4eee5db32c6b19f
MD5 435c22889df942c760f82936344984e4
BLAKE2b-256 55a2b1bb274537b64db131dcb4c57a21b3bab0088bb6356f12b53a5767829b33

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