SI-PROG编程器的工作原理及其程序设计  

Principle and Program Design of SI-PROG Programmer

在线阅读下载全文

作  者:安郁宽[1] 李宏光[2] 闫鹏[1] 

机构地区:[1]滨州医学院物理教研室,山东烟台264003 [2]鲁东大学物理与电子工程学院,山东烟台264025

出  处:《现代电子技术》2009年第8期14-16,21,共4页Modern Electronics Technique

摘  要:介绍SI-PROG编程器的工作原理,利用PC机串口UART芯片实现单片机的ISP下载。PC机串口8250芯片中SOUT,DTR,RTS,CTS四个引脚的电平可通过其内部的几个寄存器分别进行控制或读取,利用引脚可实现单片机的ISP下载。介绍了8250与单片机之间通信信号的逻辑关系以及电平转换,分析了接收器的阈值电压的特点,给出了使用SI-PROG编程器的条件。最后,以AVR单片机为例介绍了下载程序设计。结果表明,利用PC机串口UART芯片可以实现对AVR单片机的ISP下载,其硬件电路和软件设计都很简单。The principle of SI- PROG programmer is introduced, the purpose is using UART chip in PC's serial port to realize the ISP download of single chip computer. The level of SOUT,DTR,RTS and CTS pins of the 8250 chip in PC's serial port could be controlled or read separately through a few internal registers of 8250, so the ISP programming of single chip computer could be realized by making use of those four pins. In this paper, both the logical relationship and the level translation of communication signals between 8250 and single chip computer are introduced,the characteristics of the receiverrs threshold voltage are analyzed and the condition of using the SI--PROG programmer is provided. In the end,the AVR single chip com- puter is taken as an example to introduce the downloading program design. The result indicates that using UART chip in PC's serial port can realize the ISP download of single chip computer. The hardware circuit and software design are both simple.

关 键 词:SI—PROG编程器 程序设计 UART AVR单片机 

分 类 号:TP368[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象