北京迅为电子有限公司
版本号:iTop-4412-v1.0
日期:20140815
1
/
257
www.topeetboard.com
北京迅为电子有限公司
目½
前言.........................................................................................................................................................................................12
实验.........................................................................................................................................................................................16
实验
1
helloworld...........................................................................................................................................................16
【实验目的】.................................................................................................................................................................16
【实验环境】.................................................................................................................................................................16
【实验代码】.................................................................................................................................................................16
helloworld.c.................................................................................................................................................................
16
【实验分析】.................................................................................................................................................................16
实验
2
内核
Led
驱动调用
............................................................................................................................................ 18
【实验目的】.................................................................................................................................................................18
【实验环境】.................................................................................................................................................................18
【实验代码】.................................................................................................................................................................18
cleds1.c............................................................................................................................................................................18
【实验分析】.................................................................................................................................................................18
实验
3
leds
驱动输入
.................................................................................................................................................... 20
【实验目的】.................................................................................................................................................................20
【实验环境】.................................................................................................................................................................20
【实验代码】.................................................................................................................................................................20
cleds2.c.........................................................................................................................................................................
20
2
/
257
www.topeetboard.com
北京迅为电子有限公司
【实验分析】.................................................................................................................................................................21
实验
4
Linux
延时
..........................................................................................................................................................22
【实验目的】.................................................................................................................................................................22
【实验环境】.................................................................................................................................................................22
【实验代码】.................................................................................................................................................................22
delay.c...........................................................................................................................................................................
22
itop4412_leds.c...........................................................................................................................................................
22
【实验分析】.................................................................................................................................................................26
实验
5
Linux
内核驱动
Debug
入门
............................................................................................................................. 28
【实验目的】.................................................................................................................................................................28
【实验环境】.................................................................................................................................................................28
【实验代码】.................................................................................................................................................................28
itop4412_leds.c...........................................................................................................................................................
28
【实验分析】.................................................................................................................................................................32
实验
6
应用程序开机启动
............................................................................................................................................ 33
【实验目的】.................................................................................................................................................................33
【实验环境】.................................................................................................................................................................33
【实验代码】.................................................................................................................................................................33
int_helloworld.c..........................................................................................................................................................
33
【实验分析】.................................................................................................................................................................33
实验
7
上层应用多任务
................................................................................................................................................35
3
/
257
www.topeetboard.com
北京迅为电子有限公司
【实验目的】.................................................................................................................................................................35
【实验环境】.................................................................................................................................................................35
【实验代码】.................................................................................................................................................................35
multitask1.c..................................................................................................................................................................35
multitask2.c..................................................................................................................................................................36
【实验分析】.................................................................................................................................................................36
实验
8
上层调用串口
....................................................................................................................................................37
【实验目的】.................................................................................................................................................................37
【实验环境】.................................................................................................................................................................37
【实验代码】.................................................................................................................................................................37
uart_houtput.c.............................................................................................................................................................37
【实验分析】.................................................................................................................................................................40
实验
9
上层串口的输入
................................................................................................................................................41
【实验目的】.................................................................................................................................................................41
【实验环境】.................................................................................................................................................................41
【实验代码】.................................................................................................................................................................41
uart_hinput.c................................................................................................................................................................... 41
【实验分析】.................................................................................................................................................................44
实验
10
串口控制
led
灯
.............................................................................................................................................46
【实验目的】.................................................................................................................................................................46
【实验环境】.................................................................................................................................................................46
【实验代码】.................................................................................................................................................................46
4
/
257
www.topeetboard.com
北京迅为电子有限公司
uart_leds.c....................................................................................................................................................................... 46
【实验分析】.................................................................................................................................................................51
实验
11
实现
TFTP
文件传输
.................................................................................................................................... 52
【实验目的】.................................................................................................................................................................52
【实验环境】.................................................................................................................................................................52
【实验代码】.................................................................................................................................................................52
【实验分析】.................................................................................................................................................................52
【详细过程】.................................................................................................................................................................53
实验
12
实现
NFS
½络文件系统
...............................................................................................................................68
【实验目的】.................................................................................................................................................................68
【实验环境】.................................................................................................................................................................68
【实验分析】.................................................................................................................................................................68
【详细过程】.................................................................................................................................................................69
实验
13
进程入门
1-
进程
ID...................................................................................................................................... 91
【实验目的】.................................................................................................................................................................91
【实验环境】.................................................................................................................................................................91
【实验代码】.................................................................................................................................................................91
fork1.c............................................................................................................................................................................. 91
【实验分析】.................................................................................................................................................................91
实验
14
进程入门
2-fork
调用
.................................................................................................................................... 93
【实验目的】.................................................................................................................................................................93
【实验环境】.................................................................................................................................................................93
5
/
257
www.topeetboard.com
评论