STM32 F205 VB在远程系统升级中的应用.pdfVIP

  • 0
  • 0
  • 约1.24万字
  • 约 4页
  • 2025-12-03 发布于山东
  • 举报

STM32F205VB在远程系统升级中的应用丁鹏飞,等

STM32F205VB在远程系统升级中的应用

ApplicationofSTM32F205VBinRemoteSystemUpgrade

丁鹏飞法林

(西安邮电大学电子工程学院,陕西西安710121)

摘要:针对嵌入式系统远程升级过程中暂停运行、升级的安全性无法保障及升级失败等问题,设计了基于STM32F205VB处理器的

远程升级系统。系统通过GPRS模块接收远程的系统升级代码,并将升级代码存储在内部Flash存储器;升级代码接收结束后,设置系

统升级标志位,并重新启动系统。系统重启检测到升级标志位后,由系统代码升级程序将升级代码写入程序存储区后,跳转到升级后

的应用程序运行。该远程升级技术满足了升级过程中系统的实时性要求,提高了远程升级的可靠性。

关键词:GPRS模块远程升级在应用编程升级程序引导加载程序实时性

中图分类号:TP29文献标志码:A

Abstract:Toagainsttheproblemsinremoteupgradingoftheembeddedsystem,e.g.pauseoperationofthesystem,thesecurityofupgrade

cannotbeguaranteedandupgradefailure,etc.,theremoteupgradingsystembasedonSTM32F205VBprocessorhasbeendesigned.The

remotesystemupgradecodesarereceivedthroughtheGPRSmodule,andstoredininternalFlashmemory.Havingbeenreceivedtheupgrade

codes,theupgradeflagisset,andthesystemisrestarted.Whentheupgradeflagisdetectedaftersystemrestart,theupgradecodeiswritten

intoprogrammemoryareabythesystemcodeupgradeprogramandtheupgradedapplicationisrunning.Thisremoteupgradetechnology

satisfiestherealtimerequirementduringupgradingprocessandimprovesthereliabilityofremoteupgrade.

Keywords:GPRSmoduleRemoteupgradeIn-applicationprogramming(IAP)UpgradingprogramBootloaderRealtimeperformance

0引言1远程系统升级原理

随着嵌入式终端技术的发展,嵌入式系统在化工、在微处理器中,程序存储器的编程方法通常有

[5]

机电、国防等领域的应用越来越广泛,嵌入式系统在现3种:并行编程模式、通过串口或JTAG等接口进行

[1]编程的在系统编程(insystemprogramming,ISP)模式,

代工业中无处不在。在石油化工行业中,用于设备

运行状态检测和数据采集的智能仪器仪表的内部软件以及在应用程序控制下的在应用编程(inapplication

[2]

文档评论(0)

1亿VIP精品文档

相关文档