摘要本故障检测仪是针对某设备的电路板检修,设计的一款电路板故障自动检测设备,可以实现对九种电路板的自动故障检测,并给出电路板的故障信息。本论文主要研究了电路板故障检测仪软件部分的设计,即ARM和显控终端两部分软件设计。ARM部分程序设计主要讨论了AT91SAM9G20的启动、中断,网口、串口驱动程序和检测主程序设计。显控终端软件设计包括终端界面设计、通信模块程序设计、数据采集卡模块程序和检测主程序设计。在现有硬件平台上,ARM程序配合显控终端软件完成了九种电路板故障的检测工作,达到了设计要求。5563
关键词 故障检测仪 ARM 显控终端
毕业设计说明书(论文)外文摘要
Title Software design of circuit board fault detection device
Abstract
An automatic fault detection device on circuit board is designed to repair some kind of circuit board, Nine kinds of circuit boards’ faulty can be detected and the fault information of circuit board can be given. The software design of circuit board fault detection is mainly studied in this paper, including the ARM part and the software design of display and control terminal part. The start and interrupt of the AT91SAM9G20, network port driver, serial port driver and the main test program are mainly discussed in the program design of ARM part. The design of terminal interface, program design of communication module, data acquisition card modules and program design of main test program are included in the software design of the display and control terminal part. On the existing hardware platform, detection of nine kinds of circuit boards is completed by the ARM part and the display and control Terminal software. The design requirements are reached.
Keywords Circuit board fault detection device ARM Display and control terminal
目 次
1 引言(或绪论)1
1.1 研究背景1
1.2 检测仪总体设计 1
1.3 论文内容及章节安排 2
2 ARM程序设计3
2.1 ARM程序概述3
2.2 信号产生单元组成 5
2.3 AT91SAM9G20的启动和中断7
2.4 DM9161网口程序计 8
2.5 串口程序计 16
2.6主程序流程 18
3 终端软件程序设计 20
3.1 软件终端界面开发模板MFC 31
3.2 软件终端界面 23
3.3 数据采集卡程序设计 27
3.4 网络通信模块程序设计 30
3.5 终端软件程序工作流程 31
4 程序测试35
结论 39
致谢 40
参考文献 41