Open Source STC MCU ISP flash tool
Go to file
Grigori Goronzy 7d9f512b6d Fix programing tests
The options mock object needs to have the "version" property, otherwise
tests always pass (they just end up calling the version info).
2018-09-24 22:14:29 +02:00
debian debian: Update Build-Depends and Depends 2018-06-26 22:14:41 +02:00
doc Minor FAQ rewording 2018-09-24 21:41:36 +02:00
stcgal frontend: catch unknown errors 2018-09-24 00:43:27 +02:00
tests Fix programing tests 2018-09-24 22:14:29 +02:00
.gitignore Update gitignore 2017-10-11 23:19:11 +02:00
.travis.yml CI: drop deploy step 2018-09-23 22:47:39 +02:00
README.md Restructure documentation 2018-09-04 00:31:43 +02:00
setup.py Drop documentation file installation 2018-09-23 22:47:50 +02:00
stcgal.py frontend: return instead of exit 2015-11-23 23:48:58 +01:00

Build Status

stcgal - STC MCU ISP flash tool

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

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.

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

  • 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

Further information

Installation

How to use stcgal

Frequently Asked Questions

List of tested MCU models

License

stcgal is published under the MIT license.