发明名称 Minimizing switchover time in a hot swappable program memory
摘要 A method for hot swapping program code includes defining a predetermined range of new code from which to execute; identifying from the new code one or more system components which require a reinitialization or reset; reinitializing or resetting the one or more system components; and executing the new code.
申请公布号 US9261932(B2) 申请公布日期 2016.02.16
申请号 US201313844368 申请日期 2013.03.15
申请人 MICROCHIP TECHNOLOGY INCORPORATED 发明人 Simmons Michael;Wojewoda Igor;Samuel Roshan
分类号 G06F9/00;G06F9/24;G06F15/177;G06F1/24;G06F9/44;G06F9/445 主分类号 G06F9/00
代理机构 Slayden Grubert Beard PLLC 代理人 Slayden Grubert Beard PLLC
主权项 1. A method for hot swapping program code in a microcontroller comprising a central processing core comprising a stack and a heap, a program memory comprising a first and second region, a volatile data memory, a plurality of peripheral devices wherein each peripheral device is individually resettable, the method comprising: executing a current program from the first region of the program memory; defining a predetermined range of new code in the second region of the program memory from which to execute; wherein the second region comprises information or instructions whether the stack pointer needs to be set up, whether the heap needs to be set up, whether parts of the volatile data memory need to be initialized, and which peripheral device from the plurality of peripheral devices requires a reinitialization or reset; wherein a switch-over to the new code performs the steps of: if required setting up the stack pointer and heap,if required reinitializing said parts of the volatile data memory; andreinitializing or resetting one or more peripheral device of the plurality of peripheral device;and executing the new code.
地址 Chandler AZ US
您可能感兴趣的专利