Method and apparatus for updating firmware

A firmware and updated technology, applied in the direction of program control device, software deployment, program loading/starting, etc., can solve problems such as system crashes, program errors, difficulties, etc., to avoid timing errors or program errors, improve performance and increase Effective use of space

Inactive Publication Date: 2007-09-12
MEDIATEK INC
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Make other programs of the microcontroller 110 unable to use the complete space of the volatile memory 120, thus reducing the effective use space of the volatile memory 120
Moreover, the operation of copying firmware from one memory to another is itself a cumbersome and time-consuming step and requires several machine code steps or clock cycles of the microprocessor to complete
These additional procedures or machine code steps themselves are quite difficult, so it is more likely to cause instability or crash of the overall system
[0009] Again, some programs must store some specific data of the user in the non-volatile memory 130. However, during updating the program, the microcontroller 110 cannot access the non-volatile memory 130. In this way, it is possible These programs will cause errors, which will reduce the performance of the system and even cause the system to crash

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and apparatus for updating firmware
  • Method and apparatus for updating firmware
  • Method and apparatus for updating firmware

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] In order to solve the above problems, the present invention discloses a method and device for updating firmware. Please refer to FIG. 3 , which is a schematic diagram of an apparatus 300 for updating firmware according to an embodiment of the present invention. As shown in the figure, the device 300 includes a microcontroller 310 , a frequency enable controller 320 , a refresh controller 330 and a non-volatile memory 340 . Next, each element and related operation of the device 300 will be described.

[0020] Referring to FIG. 3 , the microcontroller 310 is coupled to the non-volatile memory 340 , and executes device operations according to the firmware located in the non-volatile memory 340 . The microcontroller 310 executes the device operation only when the frequency signal is generated, and pauses the operation in other situations. When the frequency disable signal is unasserted, the frequency enable controller 320 receives a frequency source signal and generates a...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

A device having updatable firmware code includes a non-volatile memory for storing the firmware code; a clock enable controller for generating a clock signal according to a clock source signal when a clock disable signal is unasserted, and further for pausing the clock signal when the clock disable signal is asserted; a micro-controller coupled to the non-volatile memory for performing device operations according to the firmware code and the clock signal, and further for asserting a trigger signal to initiate an update process of the firmware code; and an update controller coupled to the micro-controller, the clock enable controller, and the non-volatile memory for asserting the clock disable signal and then updating the firmware code upon assertion of the trigger signal.

Description

technical field [0001] The present invention relates to a device with a microcontroller, in particular to a method and device for updating the firmware of the microcontroller. Background technique [0002] In our modern high-tech society, various types of computers and electronic devices are abundant. At the heart of many of these devices is a microcontroller, which can be considered the "brain" of the device. Generally speaking, microcontrollers execute required operations according to machine codes (or called firmware codes). Firmware is an electronic instruction set set in a microcontroller, which is used to make the microcontroller perform required functions and achieve its design goals. For example, the firmware in a basic electronic watch is relatively simple, mainly used to track time and handle functions such as alarm clock and ringtone required by the user. The firmware of the mobile phone is relatively complex, providing the user interface, mobile phone transmis...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445
CPCG06F8/65
Inventor 叶裕隆
Owner MEDIATEK INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products