Micro-controller and management method for executing on-the-air (OTA) updated firmware
AssigneeNuvoton Technology Corporation
InventorChung-Hsiang Hsieh
Life of this patent
Estimating the term…
Abstract
A micro-controller for executing over-the-air updated firmware is provided to access an external memory. The external memory stores a first program code and a second program code. The micro-controller includes a bus, a control circuit, and a management circuit. The control circuit sends an access command to the bus. The management circuit receives an access command through the bus and reads a recorded value. In response to that the recorded value matches a preset value, the management circuit maps the first program code to a specific mapped memory space of a system memory space. In response to that the recorded value does not match the preset value, the management circuit maps the second program code to the specific mapped memory space.
Claims15
A micro-controller for executing on-the-air updated firmware, configured to access an external memory, the external memory storing a first program code and a second program code, and the micro-controller comprising:
- a bus;
- a control circuit sending an access command to the bus;
- and
- a management circuit receiving the access command through the bus and reading a recorded value,
- wherein:
- in response to that the recorded value matches a preset value, the management circuit maps the first program code to a specific mapped memory space of a system memory space;
- in response to that the recorded value does not match the preset value, the management circuit maps the second program code to the specific mapped memory space;
- in response to that the recorded value matches the preset value, the management circuit replaces the second program code with a third program code, and
- in response to that the recorded value does not match the preset value, the management circuit replaces the first program code with the third program code.
A management method for executing over-the-air updated firmware, performed to access an external memory, the external memory storing a first program code and a second program code, the management method comprising:
- interpreting an access command;
- reading a recorded value according to the access command;
- in response to that the recorded value matches a preset value, mapping the first program code to a specific mapped memory space of a system memory space;
- in response to that the recorded value does not match the preset value, mapping the second program code to the specific mapped memory space;
- and
- downloading a third program code in an over-the-air manner;
- and
- replacing the first or second program code with the third program code according to the recorded value,
- wherein:
- in response to that the recorded value matches the preset value:
- the second program code is replaced with the third program code, and
- the recorded value is modified so that the recorded value does not match the preset value, and
- in response to that the recorded value does not match the preset value:
- the first program code is replaced with the third program code, and
- the recorded value is modified so that the recorded value matches the preset value.
Dependencies are inferred from the claim text.