以典型的9S08 系列为例,当你选择了一个MCU 型号后,在图1-4 右侧会显示出所有针对该型号芯片可用的项目调试场景。其中:Full Chip Simulator是芯片全功能模拟仿真,即无需任何目标系统的硬件资源,直接在你的PC 机上模拟运行单片机的程序,在模拟运行过程中可以观察调试程序的各项控制和运行流程,分析代码运行的时间,观察各种变量,等等。CW 提供了功能强大的模拟激励功能,可以在模拟运行时模拟一些外部事件的输入,配合程序调试;P&E Multilink/Cyclone Pro是基于P&E 公司的硬件调试工具实现实时在线硬件调试。实际就是我们经常说的BDM 调试。BDM 调试是基于芯片本身内含的在线调试功能,可实现程序下载,单步/全速运行,可以设若干个断点,可以观察和修改任意寄存器或RAM 内存空间。BDM 几乎是开发飞思卡尔8 位(9S08 和RS08 系列)、16 位(9S12 系列)和32 位(Coldfire V1 系列)单片机的标准调试模式,运用最为广泛;SofTec HCS08是另外一家SofTec 公司提供的硬件调试工具,国内使用较少;HCS08 Serial Monitor是基于芯片串口的监控调试开发模式。由于开发效率较低,现在几乎无人使用。
上传时间: 2013-10-10
上传用户:alex wang
S51编程器制作包:自制AT89S51编程器教程AT89S51芯片的日渐流行,对我们单片机初学者来说是一个大好消息。因为做个AT89S51编程器非常容易,而且串行编程模式更便于做成在线编程器,给频繁烧片,调试带来了巨大的方便。 电路: 只要焊13根线就可以搞定这个电路。基本原理:RST置高电平,然后向单片机串行发送 编程命令。P1.7(SCK)输入移位脉冲,P1.6(MISO)串行输出,P1.5(MOSI)串行输入(要了解详细编程原理可以去看AT89S51的数据手册)。使用并口发出控制信号,74373只是用于信号转换,因为并口直接输出高电平的电压有点没到位,使用其他芯片也可以,还有人提出直接接电阻。并口引脚1控制P1.7,引脚14控制P1.5,引脚15读P1.6,引脚16控制RST,引脚17接74373 LE(锁存允许),18-25这些引脚都可以接地。建议在你的单片机系统板上做个6芯的接口。注意:被烧写的单片机一定是最小系统(单片机已经接好电源,晶振,可以运行),VCC,GND是给74373提供电源的。 还有一个方案:使用串口+单片机,这个方案已经用了半年了。电路稍微麻烦一点,速度比较快,而且可以烧AT89C51等等。其实许多器件编程原理差不多,由于我没太多时间研究器件手册,更没有MONEY买一堆芯片来测试,所以只实现了几个最常用单片机编程功能(AT89C51,C52,C55,AT89S51,S52,S53)。如果要烧写其他单片机,你可以直接编写底层控制子程序(例如,写一个单元,读一个单元,擦除ROM的子程序)。如果有需要,我可以在器件选择栏提供一个“X-CHIP”的选择,“X-CHIP”的编程细节将由用户自己去实现。当你仔细阅读器件手册后,会发现实现这些子程序其实好容易,这也是初学者学单片机编程的好课题。如果成功了会极大的提高你学单片机的积极性。 软件: 这个软件的通信,控制部分早在半年前就完成了,这回只是换了个界面和加入并口下载线的功能,希望你看到这个软件不会想吐。使用很简当,有一点特别,当你用鼠标右键点击按钮后,可以把相关操作设置为自动模式(只有打开文件,擦除芯片,写FLASH ROM,读FLASH ROM,效验数据 可以设置),点击‘自动完成’后会依次完成这些操作,并在开始时检测芯片。当“打开文件”设为自动后,第2次烧写同一个文件时不必再去打开文件,软件会自动刷新缓冲。软件在WIN XP,WIN 2000可以使用(管理员登陆的),在WIN 98 ,WIN ME使用并口模式时会更快些。这个软件同时支持串口编程器和并口下载线。操作正常结束后会有声音提示。如果没有声卡或声卡烂了,则声音会从机箱扬声器中发出。注意:记得在CMOS设置中把并口设为ECP模式。就这些东西,应该够详细吧,还有什么问题或遇到什么困难可以联系我,软件出现什么问题一定要通知我修正。祝你一次就搞定。
上传时间: 2014-01-24
上传用户:13162218709
本文介绍了一种基于单片机的健身车转速测量系统。该系统具有电路简单、使用方便等特点。文中详细介绍了该系统的工作原理,并且给出了它的硬件原理图和软件设计程序框图。关键词:转速 单片机 测量ABSTRACT :This paper introduces a measuring system of the rotational velocity of exercise bike based on single - chip microcomputer . It has such advantages : simple circuit ,convenient use and so on. The work principle is presented in detail in this paper and the block diagram of hardware and program flow chart are giv2 en as well .KEYWORDS :Rotational velocity Single - chip microcomputer Measuring
上传时间: 2013-11-02
上传用户:源弋弋
The main oscillator allows either a crystal or single-ended input clock signal. Cost-sensitiveapplications typically use an external crystal with the on-chip oscillator circuit since it is the mostcost-effective solution. It is also possible to use the internal oscillator to clock the device after theboot process has completed.
标签: Stellaris Clocking Options for
上传时间: 2013-10-14
上传用户:pol123
I2C BUS(Inter IC BUS)是NXP 推出的芯片间串行传输总线,它以2 根连线实现了完善的双向同步数据传送,可以极方便地构成多机系统和外围器件扩展系统。I2C 总线采用了器件地址的硬件设置方法,通过软件寻址完全避免了器件的片选线寻址方法,从而使硬件系统具有最简单而灵活的扩展方法。I2C 总线的2 根线(串行数据——SDA,串行时钟——SCL)连接到总线上的任何一个器件,每个器件都应有一个唯一的地址,而且都可以作为一个发送器或接收器。此外,器件在执行数据传输时也可以被看作是主机或从机。
上传时间: 2013-11-05
上传用户:qb1993225
The P82B96 offers many different ways in which it can be used as abus interface. In its simplest application it can be used as aninterface between bus systems operating from different supplyvoltages. Opto isolation between two bus systems is possible, andalso the availability of the Tx and Rx signals permits interfacing ofthe P82B96 with other bus systems which separate the forwardoutput path, from the backward input signal path.
上传时间: 2013-10-11
上传用户:洛木卓
基于PIC单片机的脉冲电源:设计了一种金属凝固过程用脉冲电源。该电源采用PIC16F877作为主控芯片,实现对窄脉冲电流幅值的检测,以及时电流脉冲幅值根据模糊PID算法进行闲环控制。使用结果表明:该电源的输出脉冲波形良好,电流幅值稳定,满足合金材料凝固过程的工艺要求且运行稳定可靠。关键词:脉冲电源;PIC16F877单片机;模糊PID;闲环控制 Abstract:A kind of pulse power supply was designed which uses in the metal solidification process ..I11is power supply used PIC16F877 to take the master control chip reali on to the narrow pulse electric current peak-to-peak value examination,carried on the closed-loop control to the electric current pulse peak-to-peak value basis fuzzy PID algorithm.The use result indicated ,this power supply output se profile is good,and the electric current peak-to-p~k value is stable,It satisfies the alloy material solidification process the technological requirement and movement stable reliable,Key words:p se po wer supply;PIC16F877single-chip microcontroller;f r PID;closed-loop control
上传时间: 2013-10-27
上传用户:xcy122677
本文依据集成电路设计方法学,探讨了一种基于标准Intel 8086 微处理器的单芯片计算机平台的架构。研究了其与SDRAM,8255 并行接口等外围IP 的集成,并在对AMBA协议和8086 CPU分析的基础上,采用遵从AMBA传输协议的系统总线代替传统的8086 CPU三总线结构,搭建了基于8086 IP 软核的单芯片计算机系统,并实现了FPGA 功能演示。关键词:微处理器; SoC;单芯片计算机;AMBA 协议 Design of 8086 CPU Based Computer-on-a-chip System(School of Electrical Engineering and Automation, Heifei University of Technology, Hefei, 230009,China)Abstract: According to the IC design methodology, this paper discusses the design of one kind of Computer-on-a-chip system architecture, which is based on the standard Intel8086 microprocessor,investigates how to integrate the 8086 CPU and peripheral IP such as, SDRAM controller, 8255 PPI etc. Based on the analysis of the standard Intel8086 microprocessor and AMBA Specification,the Computer-on-a-chip system based on 8086 CPU which uses AMBA bus instead of traditional three-bus structure of 8086 CPU is constructed, and the FPGA hardware emulation is fulfilled.Key words: Microprocessor; SoC; Computer-on-a-chip; AMBA Specification
上传时间: 2013-12-27
上传用户:kernor
基于LabVIEW和单片机的空调温度场测量系统的研究:室内温度是空调系统舒适性的重要指标,对其及时、准确地测量显得非常重要。介绍单片机AT89C51 和数字式、单总线型温度传感器DS18B20 组成矩形测量网络采集空调室内40 点温度,LabVIEW作为开发平台,二者之间通过串口实现数据通信,利用LabVIEW强大的数据处理和显示功能对采集的空调温度场数据进行实时处理、分析和显示,详细介绍了系统的硬件结构和软件模块的设计方案。关键词:单片机;DS18B20 ;LabVIEW;串行通信 Abstract : Temperature is a very important criterion of air condition system′s comfort , so it is very significant to measure it accurately and real timely. This paper int roduces a data acquisition system of measuring 40 point s temperature for air condition room based on single wire digital sensor DS18B20 and microcont roller AT89C51 which are composed of rectangle measuring meshwork. The data communication between LabVIEW and microcont roller is executed via serial port ,and the temperature field data of air condition room are processed analyzed and displayed on LabVIEW. The hardware and software modules are also given in detail.Keywords : single chip ;DS18B20 ;LabVIEW; serial communication
上传时间: 2014-05-05
上传用户:KSLYZ
基于单片机的步进电机开环控制系统:通过ATMEL89C51单片机对步进电机进行控制,主要介绍了步进电机控制器、驱动电路和LED显示电路的设计,实现了步进电机的开环控制。在步进电机控制器的设计中,重点阐述了脉冲产生电路以及对速度的控制。该系统具有成本低、控制方便的特点。关键词: 单片机; 步进电机; 开环控制 Abstract: The design using ATMEL89C51 single chip to control the step2motor with its controller, driving circuit and LED disp lay circuit to realize step motor open2loop controlwere introduced. For the controller in this design,the circuit to p roduce pulse and the speed controlwere expatiated emphatically. This system possesses features of lower cost, easier control.Key words: single ch ip; step2motor; open2loop con trol
上传时间: 2013-10-13
上传用户:cicizoe