The invention relates to a method for burning single-
chip programs, in particular to a method for performing burning by using a built-in FLASH program memory of a singlechip. The invention provides amethod for simulating
EEPROM by using the built-in FLASH program memory of the singlechip, which not only can use the FLASH program memory of the singlechip to perform burning but also causes no influence on the normal working procedure, and comprises the singlechip, the
EEPROM, an input / output port and a power supply, wherein the power supply, the input / output port and the
EEPROM are connected with the singlechip, and the singlechip is connected with a power supply power failure detection circuit. Because of using the FLASH program memory of the singlechip to perform
information storage, themethod for simulating the data storage of the EEPROM by using the built-in FLASH program memory of the singlechip effectively not only reduces the circuit cost, and but also saves the I / O of the singlechip.