An command line STC 8051 ISP programmer for linux
Switch branches/tags
Nothing to show
Clone or download
Latest commit 63c7568 Mar 27, 2015
Permalink
Failed to load latest commit information.
.gitignore modify README, add LICENCE Nov 8, 2012
LICENCE update licence Dec 26, 2014
Makefile initial Nov 8, 2012
README.md Update README.md Mar 27, 2015
main.c update licence Dec 26, 2014
protocol.c initial Nov 8, 2012
protocol.h initial Nov 8, 2012
uart.c initial Nov 8, 2012
uart.h initial Nov 8, 2012

README.md

An STC 8051 ISP programmer for linux for more information please use -h help

this is a hack from gSTCISP, I convert gtk(2.0) version to command version maybe, someone are looking for...just try this tools...

just: Make~

limitation: 1. use TTL to USB to download (PL2303 chip) if your development board have, Better 2. for some unknown reason, TTL to RS232 cannot download, so if you konw, just hack my code.

bash shell function:

you can add this two func to your ~/.bashrc, One key download:

########################################################
# 一键编译, 完成后在当前目录下生成build文件夹
# one key compile, after this operation, the build dir will generate
stc-cc() {
CUR_PATH=`pwd`
	if [ ! -d $CUR_PATH/build ]; then
		mkdir $CUR_PATH/build
	fi

	cd $CUR_PATH/build
	sdcc -mmcs51 $CUR_PATH/$1
}
# 一键编译&&烧写
# one key compile&&isp, after this operation, the build dir will generate and programmed to STC chip
stc-cisp() {
CUR_PATH=`pwd`
# 首先在当前目录下生成build目录
	if [ ! -d $CUR_PATH/build ]; then
		mkdir $CUR_PATH/build
	fi

# 编译
	sourceFile=$CUR_PATH/build/$1
	cd $CUR_PATH/build
	sdcc -mmcs51 $CUR_PATH/$1
	cd $CUR_PATH
	stcisp -f ${sourceFile%.*}.ihx
}
########################################################

Bitdeli Badge Inline docs