Method for renewing program code in an embedded micro-controller unit
AssigneeMyson Century, Inc.
InventorsChung-Pin Yuan, Chi-Tien Chen, Ping-Fa Tang
Life of this patent
Estimating the term…
Abstract
The embedded micro-controller unit includes a serial interface according to the present invention. A program control device connects the embedded micro-controller unit. The serial interface will send a request signal to a micro-processor while renewing program codes. The micro-processor will transfer the power of controlling program memory to the serial interface and then go into idle state or halt state after receiving the request signal. The program control device may directly write new program codes into the program memory through the serial interface.
Claims5
A method for renewing program codes in an embedded micro-controller unit comprising the steps of:
- sending a request signal from an output device to a micro-processor through an interface;
- said micro-processor will go into idle state or halt state and transfer the power of controlling program memory to said interface after receiving said request signal;
- after writing data from said output device into a memory through said interface, said interface will record check code;
- comparing said check code recorded by said interface with that recoded by said output device;
- when code checking is correct, said output device will send a reset signal to said micro-processor through said interface;
- and
- rewriting said data to said memory, when code checking is wrong.
Dependencies are inferred from the claim text.