6AVR实验平台外围接口设计
AVR实验平台外围接口设计
摘要:AVR是世界上著名的高性能、低功耗、非易失性存储器和数字集成电路的一流半导体。STK500是ATMEL最推荐的编程方式,下载速度快,并支持在线调试。JTAG ICE是基于JTAG接口的片上调试工具,硬仿真目标系统。本文将应用STK500和JTAG ICE的相关知识,接口技术等为AVR实验平台设计外围接口,使实验平台完整。本设计能够使用USB接口或者串口两种接口进行通信,包括STK500协议的串口下载与JTAG ICE仿真。本文先完成课题的设计思路,在此基础上根据相关的知识完成硬件原理图的设计,另外还需要通过软件实现开发调试。
关键词:微控制器;接口;STK500;JTAG
Design for the periphery interface of AVR experiment
platform
Abstract:AVR is the most famous semiconductor in the world because of high performance, low-power consumption, not easy to lose nature memorizer and figure IC.STK500 is the most recommended programming means by ATMEL, which have high download speed and supports online debugging. JTAG ICE is a on-chip debugging tools which based on JTAG interface, it's a hardware simulation system. In order to make experimental platform integrity, we use some knowledge and interface technology to design AVR experimental platform's peripheral interface. These knowledge and technology will including STK500,JTAG ICE and so on. This design will implement the communication through USB or serial interface, including serial download based on STK500 agreement and JTAG ICE simulation. First, this paper complete the functional requirement analysis. Then we design the diagram of hardware principle according to relevant knowledge. Finally a software be used to debug this system.
Keywords: MCU, Interface, STK500, JTAG
目 录
第1章 绪 论 .................................................................................................................................... 1
1.1 选题背景与意义 ....................................................................................................... 1
1.2 国内外研究现状与发展 ........................................................................................... 2
1.3 论文的内容安排 ....................................................................................................... 3
第2章 设计思路 .............................................................................................................................. 4
2.1 STK500的选用与功能简介 .................................................................................... 4
2.2 JTAG ICE的概况 ..................................................................................................... 5
2.3 总体逻辑设计 ........................................................................................................... 6
2.4 本章小结 ................................................................................................................... 7
第3章 硬件设计 .......................................................................................................... 9
3.1 STK500下载器的设计 ............................................................................................ 9
3.1.1 主控制芯片选用及简介 .................................................................................... 9
3.1.2 硬件连接方式 .................................................................................................. 10
3.1.3 STK500升级 .................................................................................................. 12
3.2 JTAG仿真接口设计 .............................................................................................. 13
3.2.1 主控制芯片选用及简介 .................................................................................. 13
3.2.2 硬件连接方式 .................................................................................................. 13
3.3 接口通信设计 ......................................................................................................... 16
3.3.1 USB接口简介及通信设计 ............................................................................. 16
3.3.2 RS-232C串口通信设计 .................................................................................. 18
3.4 供电模式设计 ......................................................................................................... 20
3.5 本章小结 ................................................................................................................. 23
第4章 使用AVR Studio的开发过程与仿真验证 .................................................. 24
4.1 开发器的选用 ......................................................................................................... 24
4.2 STK500固件的升级过程 ...................................................................................... 26
4.2.1 自动升级过程 .................................................................................................. 26
4.2.2 人工升级与修复 .............................................................................................. 27
4.3 JTAG ICE固件的升级过程 ................................................................................... 28
4.3.1 自动升级过程 .................................................................................................. 28
4.3.2 人工升级与修复 .............................................................................................. 29
4.4 使用STK500下载编程 ......................................................................................... 29
4.4.1 编程设置 .......................................................................................................... 30
4.4.2 熔丝设置 .......................................................................................................... 31
4.4.3 锁定位设置 ................................................ …… 此处隐藏:13144字,全部文档内容请下载后查看。喜欢就下载吧 ……
- 基于PLC控制的航空电镀生产线自动输送
- 中考预测课内外文言文对比阅读2
- 2018-2023年中国商业智能(BI)产业市场
- 中国金融体制改革研究2011new
- 外窗淋水试验方案
- 精益生产(Lean Production)
- 学校安全事故处置和信息报送制度
- Chapter 5 Human Resources Management
- 【小学数学】人教版小学六年级上册数学
- 初中数学解题方法与技巧
- 山东省创伤中心建设与管理指导原则(试
- 函数与数列的极限的强化练习题答案
- 10分钟淋巴按摩消脂
- 网络应急演练预案
- 服装设计入门基础知识
- 初二数学分式计算题练习
- (人教新课标)高二数学必修5第二章 数列
- 最新自主创业项目
- 北京大学 无机化学课件 4第4章 配合物
- 贸易公司业务管理制度




