菜单
  
    摘要单片机应用在后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
  1. 上一篇:基于FPGA的循环冗余校验算法研究
  2. 下一篇:MATLAB线性调频脉冲压缩探测系统分析与仿真
  1. 基于多指标决策的通信网...

  2. 基于过期CSI的多天线中继选择系统设计与仿真

  3. SPCE061A基于DDS的正弦信号发生器设计+PCB电路图

  4. STM32基于WIFI通信的数字温湿度监测系统设计

  5. 基于粒子群算法的软件可靠性模型参数估计

  6. 基于串口通信的抢答器仿真设计+电路图+程序

  7. 基于云计算的物联网数据挖掘研究+程序

  8. 现代简约美式风格在室内家装中的运用

  9. 浅析中国古代宗法制度

  10. C++最短路径算法研究和程序设计

  11. NFC协议物理层的软件实现+文献综述

  12. 江苏省某高中学生体质现状的调查研究

  13. 中国传统元素在游戏角色...

  14. g-C3N4光催化剂的制备和光催化性能研究

  15. 高警觉工作人群的元情绪...

  16. 上市公司股权结构对经营绩效的影响研究

  17. 巴金《激流三部曲》高觉新的悲剧命运

  

About

优尔论文网手机版...

主页:http://www.youerw.com

关闭返回