Device and method capable of changing codes of micro-controller

A device and method capable of changing codes of a micro-controller comprises a micro-controller, an address latch, a flash memory, a static random access memory (SRAM), and a logic circuit. The flash memory has a renovation program and a general program recorded therein. The logic circuit can be a...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: Pang, Chia Yuan
Format: Patent
Sprache:eng
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:A device and method capable of changing codes of a micro-controller comprises a micro-controller, an address latch, a flash memory, a static random access memory (SRAM), and a logic circuit. The flash memory has a renovation program and a general program recorded therein. The logic circuit can be a logic gate circuit, a programmable logic array, or a field programmable gate array. During a period of changing code, the renovation program of the flash memory controls the micro-controller to copy the renovation program itself into the SRAM and then makes the renovation program recorded in the SRAM control the micro-controller to replace the general program of the flash memory with a new program. Thereby, codes can be renewed without the need of replacing the original flash memory.