目 录
引言------------------------------------------------------------1
1 ARM 控制平台概述---------------------------------------------1
1.1 硬件资源------------------------------------------------------1
1.2 软件资源------------------------------------------------------1
2 硬件篇-------------------------------------------------------2
2.1 ARM 简介------------------------------------------------------2
2.1.1ARM ---------------------------------------------------------2
2.1.2产品介绍----------------------------------------------------2
2.2 S3C44B0X简介--------------------------------------------------5
2.2.1LCD控制器---------------------------------------------------5
2.2.2ADC和触摸屏接口---------------------------------------------5
2.2.3实时时钟(RTC) ---------------------------------------------6
2.2.4IIS音频总线接口---------------------------------------------6
2.3 其他芯片简介--------------------------------------------------6
2.3.1USB芯片PDIUSBD12 --------------------------------------------6
2.3.2网卡芯片RTL8019 ---------------------------------------------6
2.4 控制平台硬件系统设计------------------------------------------7
2.4.1ARM控制平台板上资源清单--------------------------------------7
2.4.2ARM控制平台板上器件空间分配列表------------------------------8
(1)系统片选信号及地址空间---------------------------------------8
(2)中断分配----------------------------------------------------8
(3)ARM控制平台板模式设定----------------------------------------8
2.4.3ARM控制平台板硬件电路模块------------------------------------8
(1)上层主板电源电路---------------------------------------------8
(2)复位电路----------------------------------------------------9
(3)处理器单元电路-----------------------------------------------9
(4)SDRAM电路--------------------------------------------------10
(5)FLASH电路--------------------------------------------------10
(6)网卡电路---------------------------------------------------11
(7)USB从设备电路----------------------------------------------11
(8)USB主设备电路----------------------------------------------12
(9)SJA1000 CAN总线--------------------------------------------12
(10)IIC总线电路-----------------------------------------------13
(11)IIS音频电路-----------------------------------------------13
(12)LCD接口电路-----------------------------------------------13
3 软件篇------------------------------------------------------14
3.1 DELPHI软件制作-----------------------------------------------14
3.1.1串口控制---------------------------------------------------14
3.1.2PDIUSBD12测试----------------------------------------------16
(1)部分USB源码------------------------------------------------16
(2)详细讲解---------------------------------------------------18
(3)深入探讨DeviceIoControl-------------------------------------19
(4)数据下传---------------------------------------------------19
(5)详细讲解---------------------------------------------------20
(6)数据上传---------------------------------------------------20
(7)详细讲解---------------------------------------------------21
3.2 WDM 驱动程序-------------------------------------------------21
3.2.1驱动程序入口例程-------------------------------------------23
(1)详细讲解---------------------------------------------------23
3.3 嵌入式面向对象C++设计--------------------------------------25
3.3.1AD类实体定义GADC -------------------------------------------28
(1)详细讲解---------------------------------------------------29
3.3.2AD类实现(GADC.cpp) ---------------------------------------29
(1)详细讲解---------------------------------------------------30
4 协议篇------------------------------------------------------30
4.1 RS232 总线---------------------------------------------------30
4.1.1串口类体定义GUart ------------------------------------------30
(1)详细讲解---------------------------------------------------31
4.2 RS485 总线---------------------------------------------------32
4.2.1RS485类体定义G485 ------------------------------------------33
4.3 USB 总线-----------------------------------------------------33
4.3.1USB类体定义GPDIUSBD12 --------------------------------------35
(1)详细讲解---------------------------------------------------36
4.4 TCP/IP协议---------------------------------------------37
4.4.1RTL8019类体定义GRTL8019 ------------------------------------40
(1)详细讲解---------------------------------------------------41
5 移植篇------------------------------------------------------41
5.1 UC-OS-II 移植-------------------------------------------------41
5.1.1类体定义GuC_OS_II ------------------------------------------42
(1)详细讲解---------------------------------------------------42
5.2 LWIP 移植----------------------------------------------------43
5.3 UC-GUI 移植--------------------------------------------------45
6 总结篇------------------------------------------------------47
谢辞-----------------------------------------------------------48
参考文献-------------------------------------------------------49
附录-----------------------------------------------------------50
阅读(1846) | 评论(0) | 转发(0) |