📄 readme
字号:
README======In-System-Programmer for ATMEL's AT89S8252 microprocessor ISP-AT89 written (c) 2003/2004 by Matthias Grimm, Andreas Ochmann and Sascha Flohr.This is a long name for a short and handy tool. Everybodywho likes it to built electronic circuits by her/his own andis going to extend his/her activities to microprocessors,the AT89S8252 from ATMEL is a nice device to start with.It is easy to handle and fully 8051 compatible so that alot of already available resources could be used. Only someparts are necessary to get a fully working developmentenvironment.But also this microprocessor needs software to run. Fortunatelythe microprocessor has flash memory on board, so it couldeasily be erased and rewritten only by software. All we need isa programming interface and a piece of software to write ourprograms to the flash memory.At this point isp-at89 come on stage. The ATMEL microprocessorcould be programmed through a SPI interface which could beemulated by an Linux machine with a parallel port. You couldeasily build up your own cable you need to connect the processorto the parallel port. We tell you later what you need for this.REQUIREMENTS============To use this program, you need some additional parts:1. A microprocessor board containing an ATMEL AT89S82522. A cable from parallel port to the microprocessor board for programming. See below for construction instructions.3. A kernel that supports parport devices (type 'modprobe parport' if compiled as module)4. Existing devices /dev/parport0, /dev/parport1, ... Only one of them is needed corresponding to the used parallel port. /dev/parpor0 is default.5. To write programs for the ATMEL we recommend the programming language C. With SDCC a C-compiler for small devices as the 8051 is available. The compiler is available at sourceforge.netINSTALL=======The program could be compiled and installed with the knowntriple configure make make installIf you got the source from the CVS repository some additionalsteps are necessary. You also need the GNU autotools installedto generate some files needed.Instructions to make the software:1. change to CVS directory2. ./autogen.sh (./configure is executed by this script)3. makeYou can find the program binary in src/isp-at89.PROGRAMMING INTERFACE=====================The SPI interface is an synchronous serial interface with threelines: SCK clock MISO serial data out MOSI serial data inTo tell the microprocessor that it should write the data receivedfrom the SPI interface to its program memory we need a RESETsignal. A ground (GND) line com the completes the programming interface.This five lines must be connected to the parallel port as follows: ATMEL PROG PORT PARPORT (9) RESET ------- (1) RESET ------- (6) D4 (6) MOSI ------- (2) MOSI ------- (7) D5 (7) MISO ------- (3) MISO ------- (10) ACK (8) SCK ------- (4) SCK ------- (8) D6 (20) GND ------- (5) GND ------- (25) GNDAfter finishing the cable it should be tested. If you call isp-at89with the option '-t' (test) each signal on the parallel port couldbe toggled and checked with a multimeter. If necessary specify theparallel device that should be used (if /dev/parport0 is alreadyoccupied for eg. by a printer)LEGAL NOTICE============This program is free software; you can redistribute it and/ormodify it under the terms of the GNU General Public Licenseas published by the Free Software Foundation; either version2 of the License, or (at your option) any later version.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with this program; see the file COPYING. If not, write tothe Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.CREDITS=======This program wouldn't exist if not some people wrote other programsfrom which we learned how special things worked. we can't name all ofthem so we picked those out, whose programs I could call the 'parents'of our project: isp_hb from Holger Buss <holger_buss@bigfoot.com> hex2bin from Jacques Pelletier <jpelletier@ieee.org> dis51 from David Sullins <djs@naspa.net>Also thanks to all unknown developers, who make our little programpossible. Have fun The Authors
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -