📄 boot51.doc
字号:
mode. There is something wrong with the modem control lines! (see 6.)
==
8. In batch mode everything seems to work fine on the PC, but on the target
system you get absolutely nothing.
Try the interactive mode and reset the target system. If nothing happens,
you may have mixed up the receive and transmit lines of the target board.
If you get some garbage, the baudrates and/or serial data formats of the
target system and the PC are probably different.
Configure your terminal emulation program correctly, and change BOOT.BAT
accordingly. (correct data format: 8 data bits, 1 stop bit, no parity)
9. When invoked, the MS-DOS MODE command hangs, or fails to change the
previous baudrate, although it terminates without error.
Remove all networking and communication drivers and TSR programs from
your CONFIG.SYS and AUTOEXEC.BAT files, reboot, and try it again.
There is plenty of quick'n dirty software, doing something strange
with the BIOS interrupts!
Appendix A: CUSTOMIZ Error Messages
===========
A.1 Parameter Errors:
---------------------
Parameter errors apply to the correctness and consistency of the command
line parameters. If one of these errors is detected, it is flagged on the
console, and CUSTOMIZ is aborting with ERRORLEVEL 1:
accuracy out of range Baudrate accuracy < 0, or > 5 %.
address out of range Address is no unsigned 16-bit number.
baudrate out of range Specified baudrate is < 0.
clock frequency out of range Specified clock frequency is < 0.
illegal real number Parameter is no valid real number.
invalid hex number Parameter is no valid hex number.
too many parameters More than 6 parameters specified.
unknown baudrate generator Baudrate generator not implemented.
A.2 Baudrate Errors:
--------------------
Baudrate errors apply to the results that CUSTOMIZ has derived from the
given program parameters. If one of these errors is detected, it is flagged
on the console, and CUSTOMIZ is aborting with ERRORLEVEL 1:
baudrate cannot be generated Baudrate error is greater than 10 %.
insufficient accuracy Baudrate error is greater than the
required accuracy.
A.3 Runtime Errors:
-------------------
In general, runtime errors are file I/O errors.
If one of these errors is detected, it is flagged on the console,
and CUSTOMIZ is aborting with ERRORLEVEL 2:
access denied No priviledge for attempted operation.
disk full No more free disk space.
disk write protected Attempt to write to a write-protected disk.
drive not ready Disk drive is off, or no media mounted.
fatal I/O error General (unknown) disk or device I/O error.
Appendix B: RESET Error Messages
===========
too many parameters More than two parameters specified.
illegal device name No printer port.
invalid pulse-width Pulse width is 0, or no unsigned 16-bit number.
printer port not found The BIOS did not recognize the printer port.
hardware failure The printer port data latch cannot be read back.
Appendix C: BOOT-51 Error Messages
===========
checksum error Intel-HEX record checksum is not correct.
illegal command A command other than U or G has been entered.
illegal hex digit Hex digit expected. Another character received.
illegal record ID Intel-HEX record type is greater than 1.
unexpected character The received Intel-HEX record doesn't start
with ':', or doesn't end with CR/LF.
Appendix D: Trademarks
===========
ASEM-51 is a trademark of W.W. Heinz.
MCS-51 is a trademark of Intel Corporation.
TELIX is a trademark of deltaComm Development.
IBM-PC, IBM-XT, and IBM-AT are trademarks of IBM Corporation.
MS-DOS is a trademark of Microsoft Corporation.
All device codes of 8051 derivatives are trademarks of the manufacturers.
Other brand and product names are trademarks of their respective holders.
Appendix E: Tables of Baudrates
===========
The following tables show the most frequently used baudrates that can
be generated with a particular timer or baudrate generator, for some
standard clock frequencies.
Baudrates which can be generated with a relative accuracy of better
than 4.0 %, are marked with that accuracy (in %) or with a '+' character,
if they can be generated exactly (= better than 0.01 %).
Baudrates that can be generated with Timer 1:
---------------------------------------------
bps\MHz | 11.0592 12.0000 14.7456 16.0000 18.0000 20.0000 24.0000
--------+---------------------------------------------------------------
115200 |
76800 | +
64000 | 2.34 2.34
57600 | +
38400 | +
31250 | + + +
19200 | + + 2.34
9600 | + + 3.55 2.34 1.36 0.16
7200 | + 3.55 3.03 3.55 0.16 3.34 2.12
4800 | + 0.16 + 2.12 2.34 1.36 0.16
3600 | + 2.12 1.59 0.64 0.16 0.22 0.79
2400 | + 0.16 + 0.79 0.16 0.94 0.16
1800 | + 0.79 0.78 0.64 0.16 0.22 0.64
1200 | + 0.16 + 0.64 0.16 0.22 0.16
600 | + 0.16 + 0.08 0.16 0.22 0.16
300 | + 0.16 + 0.08 0.16 0.22 0.16
200 | + 0.16 + 0.16 0.16 1.73
150 | + 0.16 +
134 | 0.03 0.09
110 | 2.27
75 |
50 |
Baudrates that can be generated with Timer 2 of the 8052:
---------------------------------------------------------
bps\MHz | 11.0592 12.0000 14.7456 16.0000 18.0000 20.0000 24.0000
--------+---------------------------------------------------------------
115200 | + + 2.34
76800 | 2.34 + 1.73 2.34
64000 | 2.34 2.86 2.34 2.34 2.34 2.34
57600 | + + 3.55 2.34 1.36 0.16
38400 | + 2.34 + 0.16 2.34 1.73 2.34
31250 | 0.54 + 1.70 + + + +
19200 | + 2.34 + 0.16 1.02 1.36 0.16
9600 | + 0.16 + 0.16 0.69 0.16 0.16
7200 | + 0.16 + 0.64 0.16 0.22 0.16
4800 | + 0.16 + 0.16 0.16 0.16 0.16
3600 | + 0.16 + 0.08 0.16 0.22 0.16
2400 | + 0.16 + 0.16 0.16 0.16 0.16
1800 | + 0.16 + 0.08 0.16 0.06 0.08
1200 | + 0.16 + 0.08 0.05 0.03 +
600 | + + + 0.04 0.05 0.03 +
300 | + + + 0.02 + 0.02 +
200 | + + + + 0.02 + +
150 | + + + 0.01 + + +
134 | + 0.02 + + + + +
110 | + + + 0.01 + + +
75 | + + + + + + +
50 | + + + + + + +
Baudrates that can be generated with the 80535 Internal Baudrate Generator:
---------------------------------------------------------------------------
bps\MHz | 11.0592 12.0000 14.7456 16.0000 18.0000 20.0000 24.0000
--------+---------------------------------------------------------------
115200 |
76800 |
64000 |
57600 |
38400 |
31250 |
19200 | +
9600 | + +
7200 | +
4800 | +
3600 |
2400 |
1800 |
1200 |
600 |
300 |
200 |
150 |
134 |
110 |
75 |
50 |
Baudrates that can be generated with the 80C515A Internal Baudrate Generator:
-----------------------------------------------------------------------------
bps\MHz | 11.0592 12.0000 14.7456 16.0000 18.0000 20.0000 24.0000
--------+---------------------------------------------------------------
115200 | + + 2.34
76800 | 2.34 + 1.73 2.34
64000 | 2.34 2.86 2.34 2.34 2.34 2.34
57600 | + + 3.55 2.34 1.36 0.16
38400 | + 2.34 + 0.16 2.34 1.73 2.34
31250 | 0.54 + 1.70 + + + +
19200 | + 2.34 + 0.16 1.02 1.36 0.16
9600 | + 0.16 + 0.16 0.69 0.16 0.16
7200 | + 0.16 + 0.64 0.16 0.22 0.16
4800 | + 0.16 + 0.16 0.16 0.16 0.16
3600 | + 0.16 + 0.08 0.16 0.22 0.16
2400 | + 0.16 + 0.16 0.16 0.16 0.16
1800 | + 0.16 + 0.08 0.16 0.06 0.08
1200 | + 0.16 + 0.08 0.05 0.03 +
600 | + + + 0.04 0.05 0.03 +
300 | + + + 0.04 0.05 1.73
200 | + 0.05
150 |
134 |
110 |
75 |
50 |
Baudrates that can be generated with Timer 1 of the DALLAS 80C320:
------------------------------------------------------------------
bps\MHz | 11.0592 12.0000 14.7456 16.0000 18.0000 20.0000 24.0000
--------+---------------------------------------------------------------
115200 | +
76800 | + 1.73 2.34
64000 | 2.34 2.34 2.34 2.34
57600 | + + 2.34
38400 | 2.34 + 1.73 2.34
31250 | + + + + +
19200 | + 2.34 + 0.16 2.34 1.73 2.34
9600 | + 2.34 + 0.16 1.02 1.36 0.16
7200 | + 0.16 + 0.79 0.16 0.94 0.16
4800 | + 0.16 + 0.16 0.69 0.16 0.16
3600 | + 0.16 + 0.64 0.16 0.22 0.16
2400 | + 0.16 + 0.16 0.16 0.16 0.16
1800 | + 0.16 + 0.08 0.16 0.22 0.16
1200 | + 0.16 + 0.16 0.16 0.16 0.16
600 | + 0.16 + 0.08 0.16 0.22 0.16
300 | + 0.16 + 0.08 0.16 0.22 0.16
200 | + 0.16 + 0.16 0.16 1.73
150 | + 0.16 +
134 | 0.03 0.09
110 | 2.27
75 |
50 |
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -