论文部分内容阅读
栾继军同志在《电子技术应用》1987年第5期介绍了单片机简易开发方法,为单片机应用者提供了廉价的开发手段,很受欢迎。但电路设计有错,而且占用了单片机的硬件资源。因而需要加以改正方能付诸实用。原设计的错误在于读写控制线不应一直接在正5V电源上,这样接法只能读出而不能写入。改正的简单方法如图1所示。在读写控制线上串接一个开关,当向6116写入程序时开关断开,当读出程序时开关合上,接高电平使其处于读状态。INT线可供使用,而
Luan Jijun comrades in the “electronic technology” 1987 the fifth period introduced the simple development method of the single-chip microcomputer, which provided a cheap development means for the one-chip computer application and was very popular. However, the circuit design is wrong, and takes up the microcontroller hardware resources. It needs to be corrected before it can be put into practical use. The original design error is that the read-write control line should not be directly connected to the positive 5V power supply, so that the connection can only be read and can not be written. A simple way to correct is shown in Figure 1. A read / write control line is connected in series with a switch. When the program is written to the 6116, the switch is turned off. When the program is read, the switch is turned on and the high level is read. INT line is available, however