⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 isp-at89.1

📁 at51系列单片机编程源码
💻 1
字号:
.\"                              hey, Emacs:   -*- nroff -*-.\" pbbuttons is free software; you can redistribute it and/or modify.\" it under the terms of the GNU General Public License as published by.\" the Free Software Foundation; either version 2 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 of.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the.\" GNU General Public License for more details..\".\" You should have received a copy of the GNU General Public License.\" along with this program; see the file COPYING.  If not, write to.\" the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA..\".TH ISP-AT89 1 "11. January 2004".\" Please update the above date whenever this man page is modified..\".\" Some roff macros, for reference:.\" .nh        disable hyphenation.\" .hy        enable hyphenation.\" .ad l      left justify.\" .ad b      justify to both left and right margins (default).\" .nf        disable filling.\" .fi        enable filling.\" .br        insert line break.\" .sp <n>    insert n+1 empty lines.\" for manpage-specific macros, see man(7).SH NAMEisp-at89 \- An In-System-Programming tool for the AT89S8252 from ATMEL.SH SYNOPSIS.B isp-at89.RI [ options ].RI command.RI [<datafile>].SH DESCRIPTION\fBisp-at89\fP is an In-System-Programmer for ATMEL's AT89S8252 microcontroller.This microcontroller is equipped with 8k flash memory, 2k EEPROM and 256 bytesRAM. Additional external memory could be connected. All this memory types (internalFlash, EEPROM and external SRAM/Flash ROM) could be read and written with this tool..PPExternal memory could not be accessed yet. This option is planned for later versions..PPThe interal memory of the microcontroller is programmed through the SPIinterface which is emulated through the parallel port on the Linux side. Youneed a special cable which could easily built up by yourself. Please seeREADME for details..PPThe input file format can be binary or intel hex format. The type of input filewill automatically detected. Everything not intel hex is assumed as binary..PP.SH COMMANDSThe command tells the program what to do. Four commands are currently supported:.TP\fBtest\fRThis command activates the hardware test mode. This mode is mainly fortesting the parallel port cabling to the microcontroller. Through asimple user interface each used line at the parport could be toggled toverify the according connection..TP\fBread\fRRead data from memory. Specify the memory type to read from with the '--memory'option below. If a datafile was given the read memory data would be written tothis file. If the datafile was missing, the action defaults to dump action.Please see below for further information..TP\fBwrite\fRWrite data into memory. Specify the memory type to write to with the '--memory'option below. This action require a datafile. If it was missing, an error messagewould be printed and the program terminates..TP\fBdump\fRDump the datafile in human readable form. The data will be printed as hex codes andif possible as ASCII. Alternatively to the hex output the code from themicrocontroller could be disassembled. Look at option '--disassemble' below forfurther information..SH OPTIONS\fBisp-at89\fP accepts the following options:.TP\fB-p\fR, \fB\-\-ppdev\fR=\fIparport device\fRWhich parport is the microcontroller attached to? The default is /dev/parport0..TP\fB-m\fR, \fB\-\-memory\fR=\fImemory type\fRWith this option the memory type to act on could be specified. Currently threetypes are supported:.PP.ad l.in 21.ti -7\fBintern\fRRead from or write to the 8K internal program memory. If no --memory optionis specified this will be the default memory to act on..PP.ad l.in 21.ti -7\fBeeprom\fRRead from or write to the 2K internal EEPROM..PP.ad l.in 21.ti -7\fBextern\fRRead from or write to external flash memory. This needs a special boot loader inthe ATMEL microprocessor which will do the programming. This is a future optionand not yet implemented..TP\fB-c\fR, \fB\-\-check (verify)\fRVerify the data written to the microcontroller. This option will onlybe accepted in combination with write operations. Default is 'no verify'..TP\fB-e\fR, \fB\-\-erase\fRErase the memory prior to writing operations. This option will only be acceptedin combination with write operations. Default is 'no erase'..TP\fB-d\fR, \fB\-\-disassemble\fRThis option enables the integrated AT89S8252 disassembler. This option can beused in combination with read and dump commands. The output will be printed tostdout. If you want to save the output redirect stdout to whatever..TP.B \-h, \-\-helpShow summary of options..TP.B \-v, \-\-versionShow version of \fBisp-at89\fP..SH AUTHORMatthias Grimm, Andreas Ochmann and Sascha Flohr.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -