stcgal/README.md
kehuantianyi 0ece0a1589
添加中文说明
在README.md中添加了中文说明
Add Chinese description to the file(README.md)
2020-06-06 20:03:19 +08:00

3.3 KiB
Raw Blame History

Build Status Coverage Status PyPI version

stcgal - STC MCU ISP flash tool

stcgal is a command line flash programming tool for STC MCU Ltd. 8051 compatible microcontrollers.

stcgal是用于[STC MCU Ltd]的命令行闪存编程工具。 兼容8051微控制器。

STC microcontrollers have an UART/USB based boot strap loader (BSL). It utilizes a packet-based protocol to flash the code memory and IAP memory over a serial link. This is referred to as in-system programming (ISP). The BSL is also used to configure various (fuse-like) device options. Unfortunately, this protocol is not publicly documented and STC only provide a (crude) Windows GUI application for programming.

STC微控制器具有基于UART / USB的引导加载程序BSL。 它采用系统内编程即基于数据包的协议通过串行链路刷新代码存储器和IAP存储器。 BSL还用于配置各种设备选项。 不幸的是该协议没有公开记录STC仅提供粗略的Windows GUI应用程序进行编程

stcgal is a full-featured Open Source replacement for STC's Windows software; it supports a wide range of MCUs, it is very portable and suitable for automation.

stcgal是STC的Windows软件的功能全面的开源替代品。 它支持多种MCU非常便携适合自动下载。

Features 特点

  • Support for STC 89/90/10/11/12/15/8 series
    支持STC 89/90/10/11/12/15/8系列
  • UART and USB BSL support
    UART和USB BSL支持
  • Display part info
    显示信息
  • Determine operating frequency
    确定工作频率
  • Program flash memory
    程序闪存
  • Program IAP/EEPROM
    程序IAP / EEPROM
  • Set device options
    设置设备选项
  • Read unique device ID (STC 10/11/12/15/8)
    读取唯一的设备IDSTC 10/11/12/15/8
  • Trim RC oscillator frequency (STC 15/8)
    设置RC振荡器频率STC 15/8
  • Automatic power-cycling with DTR toggle or a custom shell command 自动电源使用DTR切换或自定义Shell命令循环
  • Automatic UART protocol detection
    自动UART协议检测

Quickstart 快速开始

Install stcgal (might need root/administrator privileges):安装stcgal可能需要root /管理员权限)

pip3 install stcgal

Call stcgal and show usage:呼叫stcgal并显示的用法

stcgal -h

Further information 更多的信息

Installation

How to use stcgal

Frequently Asked Questions

List of tested MCU models

License

stcgal is published under the MIT license.