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

📄 boot.1

📁 Free 8051 asm compiler for linux new host platforms: Win32 and Linux macro processing dramatica
💻 1
字号:
.\" Man page for BOOT-51 V1.1 boot.TH BOOT 1 "31 December 2002" "BOOT\-51 V1.1" "BOOT\-51 Bootstrapping Script".SH NAMEboot \-  assemble, upload and run an 8051 program.SH SYNOPSIS.B bootsourcefile.SH DESCRIPTION.B bootis a shell script that can simplify and speed up the softwaredevelopment cycle of 8051 assembly language programs.It (optionally) resets the 8051 target system, assembles the specified.BR "sourcefile" ","uploads the generated Intel\-HEX file over a serial port, and finallyruns the program..brFor this, a customized version of the bootstrap program BOOT\-51must be installed on the 8051 target board, and the macro assemblerASEM\-51 must be installed on the host system!.SH FILES.B bootrequires only one command line parameter: the file name of the assemblersource (without extension.IR ".a51" ")."For example, the command.sp.RS.B boot blink.RE.spwould (optionally) first reset the 8051 board, then assemble the program.IR "blink.a51" ","upload the generated Intel\-HEX file.I blink.hexto the target system, and finally run it..brFurthermore, the list file.I blink.lstis generated, containing a detailed assembler listing with error diagnostics..SH OPTIONSIn principle,.B bootitself contains only configuration data.There are several options to reset and bootstrap the 8051 target board.To get the shell script running, change the configuration parametersaccording to your local requirements. (See commentary inside.BR "boot" "!)".brApart of this,.B bootcalls only the.B uploadscript, which does the whole work. Please do not edit.BR "upload" ","and do not run it directly!.brIf you want to operate several 8051 boards with the samehost system, create an individual.B bootscript for every target board (boot1, boot2, boot3, ...) and leave.B uploadunchanged. The number of boards is restricted by the number of ports only..SH "EXIT STATUS"When terminating,.B bootreturns the exit code 0 on success.In case of error, the exit code of the failed command is returned..SH USAGEFor general information on bootstrapping, hardware requirements and.B BOOT\-51customization see the.B BOOT\-51 User's Manualin ASCII file.IR "boot51.doc" ".".brFor detailed information on writing.B 8051assembly language programs and the usage of the macro assembler.B ASEM\-51see the.B ASEM\-51 User's Manualin ASCII file.IR "asem_51.doc" ".".brOr simply start reading with HTML file.IR "docs.htm" "!".SH NOTESFor uploading the generated Intel\-HEX files, you musthave full read/write access to the serial port..brIf you decide to automatically reset yourtarget system with a printer port, the.B reset51program needs direct access to I/O ports andtherefore requires root privileges!(Set the "set\-user\-id" bit for.BR "reset51" ".)".brIf you reset your 8051 board with the DTR signal of the serial port(upload device is same as reset device), this is performed with the.B sttycommand. This should also work with exotic (non\-16450) serial ports.In this case,.B reset51doesn't require root privileges, becauseit is invoked for delay purposes only..SH AUTHORW.W. Heinz.SH "SEE ALSO".BR asem (1),.BR hexbin (1),.BR customiz (1),.BR reset51 (1)

⌨️ 快捷键说明

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