Embedded microcontroller and data read-write method thereof
The invention discloses an embedded microcontroller and a data reading and writing method thereof, a processor can write data to be stored in an EEPROM (Electrically Erasable Programmable Read-Only Memory) into an effective storage unit in a FLASH, and the FLASH has non-volatility, so that the data...
Saved in:
Main Authors | , , , , , , , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
26.12.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses an embedded microcontroller and a data reading and writing method thereof, a processor can write data to be stored in an EEPROM (Electrically Erasable Programmable Read-Only Memory) into an effective storage unit in a FLASH, and the FLASH has non-volatility, so that the data cannot be lost after the embedded microcontroller is powered down. Therefore, the effect of storing the data in the EEPROM can be achieved by storing the data in the FLASH. And after the embedded microcontroller is initialized, the processor can write the data stored in the effective storage unit before initialization into the RAM for the processor to read, and the read-write mode of the RAM is the same as the read-write mode of the EEPROM, so that the effect of accessing the EEPROM by the processor through accessing the RAM can be ensured. Therefore, the function of the EEPROM can be simulated and realized. And an EEPROM does not need to be additionally added, so that the hardware cost of the embedded microcontrol |
---|---|
Bibliography: | Application Number: CN202311140151 |