毕业论文

打赏
当前位置: 毕业论文 > 电子通信 >

基于UART接口的MSP430程序自动升级设备的设计与开发

时间:2018-03-21 16:14来源:毕业论文
基于UART接口对MSP430芯片的设备实现程序自动升级。该方法原理是在Flash存储器的一部分空间放入一段升级程序,利用它可接收来自UART数据,然后对其他Flash地址段进行写入该数据操作

摘要单片机应用在后PC时代得到了迅猛的发展,处理器的综合性能要求也越来越高。在应用过程中,由于单片机设备功能增加,如果用编程器对应用程序进行升级,就要对设备进行装卸、开箱、重写升级。当面对大量设备时,是一件很繁琐的工作。
针对上述问题,本课题提出了一种基于UART接口对MSP430芯片的设备实现程序自动升级。该方法原理是在Flash存储器的一部分空间放入一段升级程序,利用它可接收来自UART数据,然后对其他Flash地址段进行写入该数据操作,实现应用程序自动升级。该方法优点在于使用比较灵活、操作起来方便。用户无需开箱、无需对设备逐个操作就能完成内部程序更新、大大减少时间和资源。设计中使用window的IAR Embedded Workbench开发环境下编写代码,并对MSP430开发板通过RS-232数据线和电脑连接进行调试。19939
关键词  升级程序  UART接口   Flash存储器  应用程序   MSP430单片机
毕业论文设计说明书(论文)外文摘要
Title  Designing and developing of using UART port of MSP430
in automatically upgrade program
Abstract
The application of microcontrollers in the post-PC era has had a rapid development. Processor performance requirements are increasing more and more. In the application process, due to the change of functionalities of using microcontroller devices, it has been necessary to use a downloader to upgrade programs which requires disassembling and assembling of the devices many times. For a mass of device, it is really inconvenient and a waste of time.
To solve the above problem, this thesis presents a method of upgrading the programs by using MSP430 devices via UART port. The principle of this method is to write an automatically upgradable program into part of the Flash memory of the MSP430, the program will get data from the UART port and then write the data to the other parts of the Flash memory so as to finish the upgrade process. The advantages of the method are that there are simple and flexible operations, no need to disassemble and assemble the devices, and there is reduced cost and time for the operation process. The code of the program has been written in IAR Embedded Workbench for Windows, using a RS-232 connection to connect MSP430 development board computer for debugging and testing.
Keywords  Upgrade programs  UART port  Flash memory  Applied program  MSP430 Microcontroller
目   次
1  绪论    1
1.1  课题研究的背景和意义    1
1.2  MSP430单片机升级方式    2
1.3  UART原理    3
1.4  本课题研究的主要内容    3
系统硬件分析    4
2.1  键盘模块    4
2.2  128/64液晶显示模块    5
2.3  UART通信模块    6
2.4  Flash存储器模块    7
3  系统总体设计    8
3.1  Flash地址空间的分配    8
3.2  代码文件格式    9
3.3  升级程序产生    9
3.4  系统总体流程图    11
4  系统各模块设计    14
4.1  键盘和显示模块    14
4.2  UART模块    15
4.3  Flash擦除模块    15
4.4  Flash写模块    17
4.5  数据转换和发送模块    18
4.6  中断向量定义模块    19
5  系统调试与结果    20
5.1  应用程序产生    20
5.2  程序下载    20 基于UART接口的MSP430程序自动升级设备的设计与开发:http://www.youerw.com/tongxin/lunwen_11521.html
------分隔线----------------------------
推荐内容