Patent ID: 6925522
Filing Date: 2005-08-02
Classification: G06F

Abstract:
1. A device capable of changing codes of a micro-controller comprising: a micro-controller; a flash memory connected to the micro-controller; a static random access memory (SRAM) connected to the micro-controller; and a logic circuit connected to the micro-controller, the flash memory, and the SRAM; wherein the logic circuit enables the micro-controller to fetch machine codes from the SRAM and write operation results to the flash memory when the logic circuit receives a change mode signal; wherein when the logic circuit receives the change mode signal, voltage levels of an output enable (OE) pin and a write enable (WE) pin of the flash memory are by the logic circuit made equal respectively to voltage levels of a read (RD) pin and a write (WR) pin of the micro-controller such that WE=WR and OE=RD; and wherein the micro-controller copies a renovation program to the SRAM and executes the renovation program stored in the SRAM to copy the machine codes to the flash memory.