J4

• 论文 •    

AVR Atmega系列单片机源代码远程改写的研究

王琮泽1,张 重1,魏立明1,韩成皓1,朱 懿2   

  1. 1.吉林建筑工程学院 电气与电子信息工程系,长春 130021;2.大连理工大学 电气与电子技术应用系,辽宁 大连 116024
  • 收稿日期:2008-02-26 修回日期:1900-01-01 出版日期:2008-11-20 发布日期:2008-11-20
  • 通讯作者: 王琮泽

Research of Resource Codes Remote Rewriting about AVR Atmega Series Singlechip

WANG Cong-ze1, ZHANG Zhong1, WEI Li-ming1, HAN Cheng-hao1, ZHU Yi2
  

  1. 1.Department of Electronic Information and Engineering,Jilin Institute of Architecture and Civil Engineering, Changchun 130021,China;

    2.School of Electronic and Information Engineering, Dalian University of Technology,Dalian 116024,China

  • Received:2008-02-26 Revised:1900-01-01 Online:2008-11-20 Published:2008-11-20
  • Contact: WANG Cong-ze

摘要: 为了降低成本,简化远程监控系统的硬件设计,提高系统的稳定性,基于AVR Atmega系列单片机的Flash代码区结构,对可同时读写(RWW:Read-While-Write)区、非同时读写(NRWW:Not Read-While-Write)区、引导程序区、应用程序区的划分进行了研究。开发完善了引导下载分页处理、例程(学生用电管理系统网络拓扑结构图说明)、代码转换等实用技术。实践证明,AVR Atmega系列单片机源代码远程改写的应用,可免除以往外加一系列实现远程升级复杂的外置电路。

关键词: 可同时读写(RWW)区, 非同时读写(NRWW)区, 引导程序区, 应用程序区, 引导加载自编程

Abstract: In order to reduce costs, simplify the hardware design about remote monitoring system and increase systems stability,based on AVR Atmega series of MCU(Micro Computer United) Flash code structure of the district, the reading and writing RWW(Read-While-Write) , non-reading and writing at the same time (NRWW:Not Read-While-Write), boot loader, the application areas are studied. The development of the download page guide treatment, examples program(the direction of the net topology map about the management system of students using electricity), and code conversion are improved. The main purpose of the research is reducing costs, simplifying the hardware design about remote monitoring system and increasing systems stability.The practice has proved that the applications of the resource codes long-range rewriting about the single-chip of AVR Atmega series, remove a series of the complex external circuit that can achieve remote upgrade in the past.

Key words: boot loader section, application section, boot loader self-programming, read-while-write, no read-while-write

中图分类号: 

  • TP334