From 0ece0a15898589cd92f91c708819bf9a560cbd8a Mon Sep 17 00:00:00 2001 From: kehuantianyi <66516594+kehuantianyi@users.noreply.github.com> Date: Sat, 6 Jun 2020 20:03:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=AD=E6=96=87=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在README.md中添加了中文说明 Add Chinese description to the file(README.md) --- README.md | 54 ++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 38 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 75e7067..a989afc 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,9 @@ stcgal - STC MCU ISP flash tool stcgal is a command line flash programming tool for [STC MCU Ltd](http://stcmcu.com/). 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 @@ -15,37 +18,56 @@ memory over a serial link. This is referred to as in-system programming 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. -Features + stcgal是STC的Windows软件的功能全面的开源替代品。 + 它支持多种MCU,非常便携,适合自动下载。 + +Features 特点 -------- -* Support for STC 89/90/10/11/12/15/8 series -* UART and USB BSL support -* Display part info -* Determine operating frequency -* Program flash memory -* Program IAP/EEPROM -* Set device options -* Read unique device ID (STC 10/11/12/15/8) -* Trim RC oscillator frequency (STC 15/8) -* Automatic power-cycling with DTR toggle or a custom shell command -* Automatic UART protocol detection +* 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) + 读取唯一的设备ID(STC 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 +Quickstart 快速开始 ---------- -Install stcgal (might need root/administrator privileges): +Install stcgal (might need root/administrator privileges):安装stcgal(可能需要root /管理员权限) pip3 install stcgal -Call stcgal and show usage: +Call stcgal and show usage:呼叫stcgal并显示的用法 stcgal -h -Further information +Further information 更多的信息 ------------------- [Installation](doc/INSTALL.md)