首页> 外国专利> BOOTLOADER UPDATING

BOOTLOADER UPDATING

机译:Bootloader更新

摘要

A microcontroller (2) comprises a processor (3) and a memory (11). The memory (11) comprises a first-stage bootloader region (41), a first second-stage bootloader region (43), a second second-stage bootloader region (45), and an application region (47) for storing an application (29). A first-stage bootloader (25) is stored in the first-stage bootloader region (41) and an active second-stage bootloader (27) is stored in an active one of the first (43) and second (45) second-stage bootloader regions. The processor (3) is configured to execute instructions from the first-stage bootloader (25) when the microcontroller (2) is reset. The first-stage bootloader (25) comprises instructions for transferring execution from the first-stage bootloader (25) to the active second-stage bootloader (27), which comprises instructions for transferring execution to an address in the application region (47), and for causing the processor (3) to write a replacement second-stage bootloader (27) to whichever of the first (43) and second (45) second-stage bootloader regions is not the active region. The first-stage bootloader (25) comprises instructions for detecting the replacement second-stage bootloader (27) in whichever of the first (43) and second (45) second-stage bootloader regions is not the active region and for transferring execution to the replacement second-stage bootloader (27) when the microcontroller (2) is next reset.
机译:微控制器(2)包括处理器(3)和存储器(11)。存储器(11)包括第一级引导器区域(41),第一第二级引导器区域(43),第二第二级引导器区域(45),以及用于存储应用程序的应用区域(47)( 29)。第一级引导程序(25)存储在第一级引导程序区域(41)中,并且有源第二级引导加载程序(27)存储在第一(43)和第二(45)的第二级中的活动之一中引导程序区域。处理器(3)被配置为当重置微控制器(2)时从第一级引导加载程序(25)执行指令。第一级引导程序(25)包括用于将从第一级引导加载程序(25)执行到有源第二级引导加载程序(27)的指令,其包括用于将执行传送到应用区域(47)中的地址的指令,并且,用于使处理器(3)将替换第二级引导加载程序(27)写入第一(43)和第二(45)的第二级引导加载端区不是活动区域的。第一级引导加载程序(25)包括用于在第一(43)和第二(45)的第二级引导程序区域不是活动区域中并将执行传输到的第一(43)和第二级(45)第二级引导加载程序(27)检测替换第二级引导加载程序(27)的说明。替换第二级引导加载程序(27)当下一次重置微控制器(2)时。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号