文件名称:shiyan2
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-09-22
- 文件大小:
- 50kb
- 下载次数:
- 0次
- 提 供 者:
- n**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
开发环境:unSP IDE 2.0.0
实验目的:通过本实验熟悉SunPlus SPCE061A单片机的I/O,定时器的使用方法。中断系统的
使用。熟悉IDE开发环境的使用。 0
实验设备:装有WINDOWS操作系统以及SunPlus IDE仿真开发环境的PC机一台;
ì’nSP™ 十六位单片机实验板及扩展板。
实验原理:通过键盘扫描获得键值后分别控制二极管的亮灭;使用定时器产生不同的显示模
式。
实验步骤:
1).连接PC机与SunPlus061A仿真板;
2).连接实验板与仿真板;
3.运行IDE开发环境程序;
4.建立新工程;
5.往新工程里添加C文件,编写主程序框架;
6.往工程里添加ASM文件,编写汇编子程序;
7.往新工程中添加中断处理程序;
8.添加头文件(hardware.inc等);
9.程序编译调试,观察运行结果,寄存器状态等;
10.脱机运行。
要求: 对于每个不同的按键,分别有下列响应:
1.全亮;
2.逐个轮流点亮;
3.交替闪亮;
4.其他。
(综合要求:键盘和LED灯能同时工作,定时器要用定时器中断方式实现。)
-Development Environment: unSP IDE 2.0.0
Experimental Objective: Through this experiment familiar SunPlus SPCE061A microcontroller I/O, timers are used. Interrupt system
Be used. Familiar with the use of IDE development environment. 0
Laboratory equipment: air WINDOWS operating system simulation development environment and SunPlus IDE PC with a desk
ì nSP ™ sixteen single-chip board and expansion board.
Experimental principle: get the key from the keyboard scan, respectively, after controlling diode light off using a different display mode timer
Style.
Experimental procedure:
1) Connect the PC and SunPlus061A emulation board
2) Connect the test board and emulation board
3 Run the IDE development environment program
4 Create a new project
5 new projects to add to the C files, write main fr a me
6 ASM files to add to the project, the preparation of assembly routines
7 new projects added to the interrupt handler
8 Add a header file (hardware.inc, etc.
实验目的:通过本实验熟悉SunPlus SPCE061A单片机的I/O,定时器的使用方法。中断系统的
使用。熟悉IDE开发环境的使用。 0
实验设备:装有WINDOWS操作系统以及SunPlus IDE仿真开发环境的PC机一台;
ì’nSP™ 十六位单片机实验板及扩展板。
实验原理:通过键盘扫描获得键值后分别控制二极管的亮灭;使用定时器产生不同的显示模
式。
实验步骤:
1).连接PC机与SunPlus061A仿真板;
2).连接实验板与仿真板;
3.运行IDE开发环境程序;
4.建立新工程;
5.往新工程里添加C文件,编写主程序框架;
6.往工程里添加ASM文件,编写汇编子程序;
7.往新工程中添加中断处理程序;
8.添加头文件(hardware.inc等);
9.程序编译调试,观察运行结果,寄存器状态等;
10.脱机运行。
要求: 对于每个不同的按键,分别有下列响应:
1.全亮;
2.逐个轮流点亮;
3.交替闪亮;
4.其他。
(综合要求:键盘和LED灯能同时工作,定时器要用定时器中断方式实现。)
-Development Environment: unSP IDE 2.0.0
Experimental Objective: Through this experiment familiar SunPlus SPCE061A microcontroller I/O, timers are used. Interrupt system
Be used. Familiar with the use of IDE development environment. 0
Laboratory equipment: air WINDOWS operating system simulation development environment and SunPlus IDE PC with a desk
ì nSP ™ sixteen single-chip board and expansion board.
Experimental principle: get the key from the keyboard scan, respectively, after controlling diode light off using a different display mode timer
Style.
Experimental procedure:
1) Connect the PC and SunPlus061A emulation board
2) Connect the test board and emulation board
3 Run the IDE development environment program
4 Create a new project
5 new projects to add to the C files, write main fr a me
6 ASM files to add to the project, the preparation of assembly routines
7 new projects added to the interrupt handler
8 Add a header file (hardware.inc, etc.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
shiyan2\Device.env
.......\four.asm
.......\hardware.h
.......\hardware.inc
.......\Makefile
.......\shiyan2.h
.......\shiyan2.lik
.......\shiyan2.opt
.......\shiyan2.rc
.......\shiyan2.spj
.......\three.asm
.......\Passpoint_Register.txt
.......\Passpoint_Result.txt
.......\shiyan2.set
.......\one.asm
.......\two.asm
.......\Debug\shiyan2.ary
.......\.....\shiyan2.sym
.......\.....\Resource.lst
.......\.....\Resource.obj
.......\.....\main.lst
.......\.....\main.obj
.......\.....\three.lst
.......\.....\three.obj
.......\.....\one.lst
.......\.....\one.obj
.......\.....\two.lst
.......\.....\two.obj
.......\.....\four.lst
.......\.....\four.obj
.......\.....\shiyan2.sbm
.......\.....\main.asm
.......\.....\shiyan2.S37
.......\.....\shiyan2.map
.......\.....\getkey.lst
.......\.....\getkey.obj
.......\.....\shiyan2.smy
.......\main.c
.......\getkey.asm
.......\Resource.asm
.......\Resource.inc
.......\shiyan2.env
.......\Debug
shiyan2