摘要
基于减轻研发工作量和降低维护难度的目的,鉴于很多电路系统不能使用BDM工具更新程序,使用Processor Expert开发应用工程简单快速,只需要对代码进行简单的配置修改即可应用于其他的MC9S12X系列单片机,效率很高。因此,设计一种基于串口的Bootloader升级方法,以Proces-sor Expert开发的工程为基础,通过图形化方式简单修改存储空间设置,然后将生成的代码转换格式后,利用系统本身RS-485总线进行更新。实验和实际应用表明,该方法简单可靠,通用性强,至少可将开发和维护时间减少50%。
For the purpose of reducing R&D workload and reducing maintenance difficulty,as many circuit systems cannot use BDM tools to update programs,using Processor Expert to develop application projects is simple and fast,and the code can be applied to other MC9S12X series chips with simple configuration modifications,high efficiency.Therefore,a serial-based Bootloader upgrade method is designed.Based on the project developed by Processor Expert,the storage space settings are simply modified graphically.After the code generated by Processor Expert is converted into the required format,it is updated using the system’s own RS-485 bus.Experiments and practical applications show that the method is simple,reliable,and versatile,and can reduce development and maintenance time by at least 50%.
作者
罗博
仇傲
LUO Bo;QIU Ao(China Oilfield Services Limited,Sanhe 065201,China)
出处
《电子设计工程》
2021年第20期138-142,共5页
Electronic Design Engineering
基金
十三五国家科技重大专项(2017ZX05019002-006)。
作者简介
罗博(1986-),男,甘肃庆阳人,硕士研究生,工程师。研究方向:石油测井仪器。