Code Monkey home page Code Monkey logo

stc-isp's Introduction

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

stc-isp's People

Contributors

ahappyforest avatar bitdeli-chef avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.